yes a proxy would work.
I currently have a web app using a proxy (ol4jsfproxy)

It's a little bit old but here's an example
http://osgeo-org.1560.x6.nabble.com/Load-GeoServer-WMS-secured-layers-with-OpenLayers-td3919938.html

Fernando Quadro <fsqua...@gmail.com> escreveu no dia sexta, 19/06/2020 à(s)
21:20:

> Hi Jody,
>
> The application today is written in PHP and uses to authenticate only the
> session, does not use OAuth.
>
> I am thinking of creating a proxy (in PHP) and using it in the
> PROXY_BASE_URL property, to filter the requests before reaching GeoServer,
> and validating the authentication through token.
>
> Best regards,
>
> Fernando Quadro
> http://www.fernandoquadro.com.br
> https://www.linkedin.com/in/fernandoquadro/
>
>
> Em qui., 18 de jun. de 2020 às 18:45, Jody Garnett <jody.garn...@gmail.com>
> escreveu:
>
>> What have you tried so far Fernando, did you try oauth? I assume with
>> google since you already had google maps in play...
>> --
>> Jody Garnett
>>
>>
>> On Wed, 17 Jun 2020 at 14:35, Fernando Quadro <fsqua...@gmail.com> wrote:
>>
>>> Hi ALL,
>>>
>>> I created some security settings on GeoServer, and also some users, with
>>> certain access restrictions.
>>>
>>> However, I would not like to have to enter the login and password when
>>> calling the request to GeoServer (on the front end), for security reasons,
>>> considering that the layers are private.
>>>
>>> Does anyone have any tips to give, how to do, in addition to the options
>>> below? I'm using the Google Maps Javascript API on the front end.
>>>
>>> -
>>> https://docs.geoserver.org/stable/en/user/extensions/authkey/index.html
>>> - https://docs.geoserver.org/stable/en/user/community/oauth2/index.html
>>>
>>> Best regards,
>>>
>>> Fernando Quadro
>>> http://www.fernandoquadro.com.br
>>> https://www.linkedin.com/in/fernandoquadro/
>>> _______________________________________________
>>> 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
>>>
>> _______________________________________________
> 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
>


-- 

www.vfonsecaz.pt
_______________________________________________
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