Mark,

Early on we set up some Apache rules to handle this, but it's based on a naming 
mechanism in the MAP files.

If you look at our public facing MAPfile links, each mapfile name looks 
something like:  <mapfile-title>_public.map

The "_public" chunk is read by Apache as something that is available 
externally.  We actually came up with five different classes of file types 
originally, but this is really the only one that we use and it's intended to 
allow the Mapfile/data custodians a method of making their data available 
outside if they want to.  They just need to add that chunk of text to their 
Mapfile and apache lets outside access see them.i've been meaning to set up a 
whole demo suite of our configuration for a while (few years) now, but just 
never got around to it.  We have other similar APACHE mod for other things as 
well that I think others would be interested in.

We have a couple of newer projects that might dictate that we set up some demo 
product that might morph into some sort of demo eventually.

Bobb



-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Mark Volz
Sent: Thursday, August 08, 2013 3:36 PM
To: [email protected]
Subject: [mapserver-users] securing mapserver layers

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


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to