NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I want some users to be able to view the map, others view +edit. How can this be accomplished? edit: on a private osm server.

asked 07 Nov '11, 20:27

alexz's gravatar image

alexz
225212226
accept rate: 0%

edited 07 Nov '11, 21:39


This is not a question about OpenStreetMap and therefore off-topic on this site.

When you talk about "view the map", if you mean the map tiles, then a simple web server based user authentication could solve your problem. As for editing, the OSM server already has used authentication for that. If you want (your version of) the OSM API to only respond to data requests for authenticated users, you will have to amend the Rails code with the appropriate authentication checks. If you want to combine both, and make it so that even tiles are only served to users who have an account with the Rails system then you could hack up a custom authentication module for your web server that authenticates against the Rails backend's user database.

But as I said, this has nothing to do with OSM any more.

permanent link

answered 08 Nov '11, 08:06

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

1

... these special questions dealing with the core software that OSM use could be better placed for examole on http://lists.openstreetmap.org/listinfo/rails-dev or some other developer mailing list.

(08 Nov '11, 16:56) stephan75

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×57

question asked: 07 Nov '11, 20:27

question was seen: 3,167 times

last updated: 08 Nov '11, 16:56

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum