It does not work quite that way.
Upon acces, the server will reuse a previously established identity, or
ask credentials for a new one.
Once an identity has been established, a session is created.
Using the session token, the user may access any resources they are
granted access to.
Trying to access a resource or operation that is not allowed gives a
security exception.
You can set permissions by right clicking an item, and selecting
properties from with MapGuide Studio.
AFAIK, there is no way to change credentials for a single layer, short
of recreating the entire session.
Basically, there is no automated way to do that. The user must have
access to it, and you should then
use a custom login script to control who turns on the layer.
You might find it usefull to add the layer to the map at runtime.
Regards, Kenneth, GEOGRAF A/S
dorra2007 skrev:
Hi all;
This is the second time I post about the security theme because I have no
reply yet. So, I try to elaborate my question in other words:
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 user account is created via the Mapguide Admin Tool.
I hope there is someone who could help me!
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users