Infrastructure Map Server Developer

Infrastructure Map Server Developer

Valued Contributor
66 Posts
0 Kudos
Registered: ‎09-07-2005
Post 1 of 3

Map Security / Access

437 Views, 2 Replies
03-06-2009 07:08 AM
While we could produce seperate maps and handle security for each one differently, I've been asked to investigate the possibility of layer-based security, where certain layers would only be available to those with the relevant clearance. Has anyone else done this? Is this even possible with MGE?
Active Contributor
26 Posts
0 Kudos
Registered: ‎09-10-2009
Post 2 of 3

Re: Map Security / Access

10-12-2010 11:30 AM in reply to: CraigPalmer



Did you ever get your question answered.  I am about to post a similar one, though I am hesitating on account that your post did not receive an answer, and it has been posted for over a year!

Valued Mentor
434 Posts
74 Kudos
Registered: ‎10-10-2003
Post 3 of 3

Re: Map Security / Access

10-20-2010 04:51 PM in reply to: CraigPalmer

There are many ways to approach security:


1. You can store users into he Autodesk MapGuide Enterprise Administrator "http://localhost/mapguide2011/mapadmin/login.php" and secure the maps using MapGuide Studio.Then use the MAPS widget in Flexible Web Layout to point to the maps.


2. The on way I like requires some code changes to mapguide itself.  I like to send a parameter "mgmapresourceid"  but you need to change FUSION (FWL) using the changes here. 


The change asks you to change the ApplicationDefinition.js file..But you will have to change the  fusionSF-compressed.js instead because that is the default one that the Flexible Web Layouts use.


Once you have done that you can pass the map name to the url.


Then you change the security of your page to check the user and pass the map name you store in a database or something to secure the maps they can see.





Post to the Community

Have questions about Autodesk products? Ask the community.

New Post