[mapserver-users] Securing a WMS server

YC Nyon ycnyon at pd.jaring.my
Fri Sep 17 22:37:18 EDT 2010


Hi,

I been trying to secure my WMS server resource via login/password using the mapfile configuration below. However, it's not working as it doensn't ask for any login/pwd with my testing using a wms client like Arcgis 9.3
The image map will just appear as usual.


Rgds
YC


-----------------------

WEB
 TEMPLATE "default.html"
 IMAGEPATH "C:\web\soul\wms\temp\"
   IMAGEURL "/temp/"
 METADATA
 WMS_TITLE "Map Service"
    WMS_ABSTRACT "GIS"
 WMS_SERVER_VERSION "1.1.1"
    WMS_ONLINERESOURCE "http://localhost?map=/webwms/wms.map&"
    WMS_SRS "EPSG:4326"
 WMS_AUTH_TYPE  "basic"
    
   WMS_AUTH_USERNAME "1234" # username here
    WMS_AUTH_PASSWORD "1234" # password here
   END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100918/4d1f1f1e/attachment-0001.html


More information about the mapserver-users mailing list