Yes, you have to define a specific rule in the data security panel of
GeoServer for this workspace, associate to a ROLE matching the users you
want to be allowed to access it.

You also have to put the catalog mode to challenge to have the
GetCapabilities listing the layers but the layer access to be secured.

See https://docs.geoserver.org/latest/en/user/security/webadmin/data.html.

Alexandre

Le ven. 7 juil. 2023 à 15:03, Giuseppe Falcone <falcone.giuse...@gmail.com>
a écrit :

> Hi to all,
>
> I have this need:
> on a geoserver 2.16.3 instance I have a 5 workspace with some layers.
> I want that on a single workspace (not all) the getCapabilities url to be
> free and the getFeature url on same layers to be protected with username
> and password.
> Is this possible?
> Thanks a lot.
>
> Giuseppe
> _______________________________________________
> 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
>


-- 
Alexandre Gacon
_______________________________________________
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