Removing unused services
In this book, we have mainly used GeoServer as a map server; in fact, GeoServer ships with three OGC services enabled--WMS, WFS, and WCS. If you will only use GeoServer to produce maps, you should disable WCS and WFS, or at least set them to read-only mode. Do you remember when we used WFS-T to edit data in the chapter about security? If your data is static, the most secure way to avoid accidental updating or deleting is disabling WFS-T.
Now, you should turn off WCS and WFS, or only WFS-T, according to your needs:
- Open the GeoServer web interface. On the left pane, you can see the
Services
category and, under it, a list containingWMTS
,WCS
,WFS
, andWMS
. SelectWC
S
, shown as follows:
- Remove the flag from the
Enable WCS
checkbox to disable the service and click on theSubmit
button, shown as follows:
- Now select
WFS
in theServices
list. If you don't want to deliver features to your users, disable the service as you did forWCS
:
- If you do not want to block your user from...