This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

URL Whitelist

0

Hi, We're using kiosk mode tablets for one of our customers and the tablets are only allowed to access a limited number of websites via a "locked down" browser, one of them being OpenStreetMap. To be specific, we're using the Intune Managed Browser to only whitelist apporpriate URLs. I've already whitelisted https://.openstreetmap.org/ + https://openstreetmap.org/* but the devices are still not able to load the map on https://openstreetmap.org.

Are there any other URLs that needs to be whitelisted in order to use the map functionality in this situation?

Thanks in advance.

asked 27 Apr '18, 12:15

Ali%20Njie's gravatar image

Ali Njie
16112
accept rate: 0%

I hope you're following OSMF Tile Usage Policy:

https://operations.osmfoundation.org/policies/tiles/

(27 Apr '18, 17:14) kocio

2 Answers:

1

Are there any other URLs that needs to be whitelisted in order to use the map functionality in this situation?

The answer to that's easy - yes!

The tricky bit is working out which, because it depends on what functionality you want your users to have on the site. What are they using it for - to view maps (if so, which ones)?, to calculate routes?, to edit maps?, to access the forum and the wiki, this help site, etc. etc.?

Because there's so much that people could do from the osm website it's probably easiest for you to look at what actual resources the your desired pages within the site request by looking at proxy logs, or if that's not an option the "developer tools" in the various browsers.

It's worth mentioning that if you just want map view and don't want map editing and all the other stuff then setting up your own leaflet-based website would be by far the easiest approach - you'd only need to whitelist your website and (assuming the standard layer) "https://?.tile.openstreetmap.org/*.png" where "?" is a letter a-c and "*" is the rest of the tile path (an example tile is https://c.tile.openstreetmap.org/9/253/166.png). In $dayjob I do this sort of thing fairly regularly (for one of Intune's competitors) and use an example map site that has everything behind one URL for testing for exactly this reason.

Incidentally, your current whitelist URLs are missing the initial "?" which may be why you see no tiles.

answered 27 Apr '18, 20:10

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Thanks a lot for your answer. The users only use the OSM site to access and view the map. No route calculations or anything like that.

I will give this a shot!

Thanks again :)

(30 Apr '18, 08:11) Ali Njie

1

Map-tiles are served from a network of cache servers, see https://hardware.openstreetmap.org/

answered 27 Apr '18, 18:40

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

Source code available on GitHub .