Geoserver Extension access restriction with proxy nginx

I have installed Geoserver on my server. And I have proxy server(installed nginx) to access Geoserver.

location /geoserver { proxy_pass; }> to ==>http://localhost:8080/geoserver

I installed geoserver extensions (Shape, Excel, DXF) that users can download geographic data.


But someone can download all geographic data in a city of BBOX . I want to restrict access download. How can I do this with proxy server or other solutions?

I'm not entirely clear what you mean by "someone can download all geographic data. I want to restrict access download."

If you want to allow only some people the ability to download the given data, there are a couple of ways to do this.

  • You can either use GeoServer's comprehensive built in Security components to only allow access to authorised individuals. -

  • Or of you want to do it proxy side (with nginx), you'd probably be better off asking at the sister site:

Of course, the nature of WFS is that it is inherently a data-download service. If you don't want that functionality at all then disable WFS.

You can also use layer control to specify which layers are downloadable themselves too.

Finally, you may wish to limit the number of responses WFS supplies. This is done through the service admin panel -

Watch the video: GeoServer - Connect to PostGIS from GeoServer and Publish layer (September 2021).