Opened 18 months ago
Last modified 17 months ago
#7086 new defect
WMS basic authentication is using OSM account
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | major | Component: | Core |
| Version: | tested | Keywords: | wms authentication |
| Cc: | bastiK |
Description
When JOSM is acessing a WMS server which requires Basic Authentication, it will send the OSM username and password.
Besides the security aspect it is currently not possible to use such WMS servers with different login data.
Some GUI option to set login data for WMS would be nice.
OSM login data should never be sent to other servers requiring Basic Authentication without permission.
Attachments (0)
Change History (9)
comment:1 Changed 18 months ago by bastiK
comment:2 Changed 18 months ago by anonymous
This is just an example. Remember JOSM sends your OSM login data to this server.
http://security.demo.52north.org/wss/service/wms_demis/httpauth?
demo accounts:
- alice/alice: Full access
- bob/bob: Limited access
- guest/guest: Very limited access
comment:3 in reply to: ↑ description Changed 18 months ago by skyper
- Priority changed from normal to critical
Replying to anonymous:
OSM login data should never be sent to other servers requiring Basic Authentication without permission.
This is a critical bug !
comment:4 Changed 18 months ago by skyper
- Priority changed from critical to blocker
- Summary changed from WMS basic authentication using OSM account to WMS basic authentication is using OSM account
I split the enhancement part to #7122
As it is easy to add wms servers to the list this defect is even a blocker !
comment:5 Changed 17 months ago by stoecker
- Priority changed from blocker to major
comment:6 Changed 17 months ago by stoecker
In [4690/josm]:
comment:7 Changed 17 months ago by stoecker
- Cc bastiK added
I did a basic fix introducing host-name aware authentication settings which fixes this immediate problem. But it still is not perfect.
comment:8 Changed 17 months ago by stoecker
In [4692/josm]:
comment:9 Changed 17 months ago by anonymous
With regard to the current patches: it seems like JOSM sometimes "forgot" sending the auth information (maybe that should be another ticket). Before the patches the auth dialog just appeared again. With the current josm-latest I get HTTP 401 errors without auth dialog resulting in error tiles.



Could you name a WMS with Basic Auth setup?