[mapguide-users] newbie question about security

dorra2007 dorrdor at yahoo.fr
Thu Nov 8 03:08:26 EST 2007


All users acess the same map (and layout), but the difference between users
consists in the temporary layers loaded, according to his parameters stored
in a database.
So, I am wondering if there is a mapguide security API that manages users in
this way, or a security and login code ready for use.I'll be very grateful
if you provide me with this code.
My problem is that users are not prompted for a login and password, while
they have also access denied.


James Card wrote:
> 
> On Tue, 06 Nov 2007 03:38:30 -0800, dorra2007 <dorrdor at yahoo.fr> wrote:
> 
>> I wish to know how to assign a user account to a layer (or layer  
>> definition), so that when he wish access this layer, he will be promted  
>> for a user name and password.
> 
> The workaround we used for this was to assign security at the map level  
> rather than the layer level. We created a separate map for each security  
> group that included only the layers appropriate to that group. We also  
> created one layout for each of these maps, so it was easy for the security  
> and login code already in place on the webserver to just load the  
> appropriate layout after the user was authenticated.
> 
> Since we only had four secuirty groups this was a simple solution. If the  
> were many different combinations of layer permissions required it would be  
> too cumbersome to maintain a separate map and layout for each.
> 
> -- 
> James Card
> 209-578-5580
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/newbie-question-about-security-tf4757541s16610.html#a13642851
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list