2013/8/8 Mark Volz <[email protected]> > Hello > > I would like to set up mapserver so that some map files are open to > anyone, some open to only internal users, and other maps are only open to > users that enter in a user name and password. Is there a way to set up > mapserver / Apache so that I can secure the mapserver services for > different types of users? > > For example: > Public Users, or any users > http://geomoose.lyonco.org/cgi-bin/mapserv.exe?map=public_map > Internal Users > http://geomoose.lyonco.org/cgi-bin/mapserv.exe?map=internal_map > External users with the correct username and password > > http://geomoose.lyonco.org/cgi-bin/mapserv.exe?map=password_protected_map > > Thank You > > > p.s. I asked a similar question in the past, but I am having trouble > finding that question and response. So I appologize for asking the same > question again > > > Mark Volz, GISP > GIS Specialist >
You can use apache mod_aut* modules to setup a username/password protected area. If you are planning to use mapserver as WMS server, you should consider to use allow/deny on a file type level (<files >and/or <location> directives) according to ip addresses. If you are running a front end like pmapper or a openlayers based one you can quickly grant access using both methods. /r
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
