<div dir="ltr">Hello,<div style>with Apache you can set MS_MAPFILE pointing to the desired mapfile and MS_MAP_NO_PATH in order to disallow overriding it with &map= in the url. Using this, you even don't have to use &map= at all.<br>
</div><div style><br></div><div style>Kind regards,</div><div style>Martin</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/19 Mark Volz <span dir="ltr"><<a href="mailto:MarkVolz@co.lyon.mn.us" target="_blank">MarkVolz@co.lyon.mn.us</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have a server that I would like to run both internal and external applications on it.  I know I can use apache to limit who can access internal web pages.  However, is there any mechanism to stop an external user from drawing an internal actual .map file?  For example, what would stop someone from changing the requested map from: <a href="http://myserver/cgi-bin/mapserv.exe?map=External.map" target="_blank">http://myserver/cgi-bin/mapserv.exe?map=External.map</a>.  To:  <a href="http://myserver/cgi-bin/mapserv.exe?map=Internal.map" target="_blank">http://myserver/cgi-bin/mapserv.exe?map=Internal.map</a>.<br>

<br>
I could see this as an issue if I want to enable wms.<br>
<br>
Thanks<br>
<br>
Mark Volz<br>
GIS Specialist<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br></div>