<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Replace getmapbook.php.&nbsp; You'll need to create a login solution, of which there are many and varied.&nbsp; Essentially it goes this like:</span></div><div><br><span></span></div><div><br><span></span></div><div><span>1. Create something like "/gis/login.php" - Then if you want , have a link there for "public" or "guests"</span></div><div><span>2. login.php gets the credentials, checks them against a database or LDAP/AD, and you get a role.&nbsp; PHP's session functionality makes this pretty easy.&nbsp; Then login.php would forward the user to "geomoose.html" (or whatever it's called on your system)</span></div><div><span>3. getmapbook.php, probably reads a "header.xml", then for the body (map-source's and catalog) you'd write a quick for-loop that would either use a XML/DOM building utility or just some text that makes valid
 XML to output in the form of a mapbook, finally a "footer.xml".&nbsp; The script would populate the available layers based on the auth levels of the user and I'd probably store that info in postgresql.<br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Mark Volz &lt;MarkVolz@co.lyon.mn.us&gt;<br> <b><span style="font-weight: bold;">To:</span></b> "geomoose-users@lists.osgeo.org" &lt;geomoose-users@lists.osgeo.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, April 9, 2012 12:59 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Geomoose-users] per user
 layers<br> </font> </div> <br>
<div id="yiv2054512414">

 
 

<style><!--#yiv2054512414 .yiv2054512414EmailQuote {margin-left:1pt;padding-left:4pt;border-left:#800000 2px solid;}--></style>

<div>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hello,</div>
<div>&nbsp;</div>
<div>Is there a way in GeoMOOSE 2.x to password protect some layers in the TOC without having to recreate several mapbooks.&nbsp; For example:</div>
<div>&nbsp;</div>
<div>Catalog</div>
<div>-Public Layers</div>
<div>-Layers only visible to county workers</div>
<div>-Layers only visible to the Highway Department</div>
<div>-Layers only visible to the Assessor Department</div>
<div>-Layers only for the City</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>&nbsp;</div>
<div>Mark Volz</div>
<div>GIS Specialist</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</span></font>
</div>

</div><br>_______________________________________________<br>Geomoose-users mailing list<br><a ymailto="mailto:Geomoose-users@lists.osgeo.org" href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br><br><br> </div> </div> </blockquote></div>   </div></body></html>