Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
Valued Contributor
CraigPalmer
Posts: 66
Registered: ‎09-07-2005
Message 1 of 3 (435 Views)

Map Security / Access

435 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
soudemans
Posts: 26
Registered: ‎09-10-2009
Message 2 of 3 (407 Views)

Re: Map Security / Access

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

Craig,

 

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
gluckett
Posts: 383
Registered: ‎10-10-2003
Message 3 of 3 (393 Views)

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.  http://trac.osgeo.org/fusion/ticket/65 

 

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.

 

regards

gordon

 

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.