[MapServer-users] accessing mapfiles that are not directly on host server via apache2 aliases?

Rahkonen Jukka jukka.rahkonen at maanmittauslaitos.fi
Mon Jan 9 02:10:52 PST 2023


Hi,

I have not been thinking about your use case, it may be reasonable and safe, but generally speaking we have just added more control to the access to mapfiles due to security issues. See https://www.mapserver.org/optimization/limit_mapfile_access.html#limit-mapfile-access.

-Jukka Rahkonen-

Lähettäjä: MapServer-users <mapserver-users-bounces at lists.osgeo.org> Puolesta Marcin Niemyjski via MapServer-users
Lähetetty: maanantai 9. tammikuuta 2023 11.48
Vastaanottaja: Marcin Niemyjski via MapServer-users <mapserver-users at lists.osgeo.org>
Aihe: [MapServer-users] accessing mapfiles that are not directly on host server via apache2 aliases?

Hello,

If the possibility of accessing mapfiles that are not directly on host server via apache2 aliases or redirect or any other way sounds like a good idea and maybe, considered as future update?

As a daily user of Mapserver, I think this would be a great and powerful functionality.

Example of how I tried that (I know it is not possible):

https://pasteboard.co/tEUSonRE5IeC.png<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2FtEUSonRE5IeC.png&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C0488aad4bcc64f82c38508daf2269b06%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638088544874103694%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=p9Vg4BaZKOBjygd%2FmcUleljvbR0KHedTtjH1ngxwves%3D&reserved=0>

Best,
Marcin


[cid:image001.png at 01D92422.072F7920]<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Foutlook.office.com%2Fbookwithme%2Fuser%2F6347c7def05a478ba013ae948648789d%40cloudferro.com%3Fanonymous%26ep%3Dsignature&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C0488aad4bcc64f82c38508daf2269b06%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638088544874103694%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=l3fQ4tpxjUKvhJDQx%2BCXVzkg4FmUpapNkRjg8Jc%2BAKI%3D&reserved=0>
Book time to meet with me<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Foutlook.office.com%2Fbookwithme%2Fuser%2F6347c7def05a478ba013ae948648789d%40cloudferro.com%3Fanonymous%26ep%3Dsignature&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C0488aad4bcc64f82c38508daf2269b06%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638088544874103694%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=l3fQ4tpxjUKvhJDQx%2BCXVzkg4FmUpapNkRjg8Jc%2BAKI%3D&reserved=0>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230109/03f012f5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 528 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230109/03f012f5/attachment-0001.png>


More information about the MapServer-users mailing list