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:
![](https://static.packt-cdn.com/products/9781788297370/graphics/af304ee0-b782-4a31-bd29-b83fe09722ca.png)
- Remove the flag from the
Enable WCS
checkbox to disable the service and click on theSubmit
button, shown as follows:
![](https://static.packt-cdn.com/products/9781788297370/graphics/8be53a48-3fa9-4bf4-9eae-191df03ba830.png)
- Now select
WFS
in theServices
list. If you don't want to deliver features to your users, disable the service as you did forWCS
:
![](https://static.packt-cdn.com/products/9781788297370/graphics/05b09608-87c0-4d63-a951-ae6bd93c1bc2.png)
- If you do not want to block your user from...