Hi,

I suggest to start by reading these:
https://docs.geoserver.org/latest/en/user/security/index.html
https://docs.geoserver.org/latest/en/user/community/geofence-server/index.html

-Jukka Rahkonen-

Lähettäjä: Nicolas De Ville de Goyet <ndevi...@naturalsciences.be>
Lähetetty: maanantai 17. toukokuuta 2021 13.54
Vastaanottaja: GeoServer Mailing List List 
<geoserver-users@lists.sourceforge.net>
Aihe: [Geoserver-users] Password-protected WMS


Dear all,

I'm trying to find out if it is possible to use an WMS with a password so only 
chosen users can access the layers on it.

In geoserver, I have one workspace (among others) which shall not be public. 
Its uses is only for internal colleagues who do not know much about geoserver 
and web-services; My goal would be to provide them a WMS link to the specific 
workspace they can add as a service in the Geonetwork map viewer.

I tried:
MYSERVER.be/geoserver/MYWORKSPACE/wms?service=WMS&version=1.1.0&username=myusername&password=mypassword

It seems there are at least two problems. The WMS getcapabilities does not 
seems to accept limitation to a specific workspace and the user/password is not 
recognized.
I understand the security of such method is quite limited (password written in 
clear) but given my context it is acceptable.

Does anyone knows if this is possible to do and how to do it?
Many thanks,



--

Nicolas de Ville

Belgian Marine Data Centre (BMDC)

OD-Nature, Royal Belgian Institute of Natural Sciences

02/627.42.79

www.bmdc.be<http://www.bmdc.be>

https://metadata.naturalsciences.be/
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to