1

So I imported some postcode data into a Postgis table and published the layer using Geoserver.

As it is postcode data, there is absolutely no need for users to edit, so I would like to make the layer read only.

How to do this?

4

You can also switch off WFS-T for your service by going to the WMS menu page (Services->WMS) and changing the service level from Complete to Basic.

enter image description here

4

There are multiple ways of achieving this:

Ideally you should do both.

  • I'm the only Postgis user but I think the Geoserver solution could do the trick, could you please tell me where to enter those lines of code? The Geoserver documentation isn't very clear on that – Luffydude Jun 21 '16 at 10:38
  • @Luffydude: I'll suggest that you go through this (suite.opengeo.org/opengeo-docs/sysadmin/security/multiuser/…) for a detailed understanding of security for GeoServer – Devdatta Tengshe Jun 21 '16 at 12:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.