Book Image

GeoServer Beginner's Guide - Second Edition

By : Stefano Iacovella
Book Image

GeoServer Beginner's Guide - Second Edition

By: Stefano Iacovella

Overview of this book

GeoServer is an opensource server written in Java that allows users to share, process, and edit geospatial data. This book will guide you through the new features and improvements of GeoServer and will help you get started with it. GeoServer Beginner's Guide gives you the impetus to build custom maps using your data without the need for costly commercial software licenses and restrictions. Even if you do not have prior GIS knowledge, you will be able to make interactive maps after reading this book. You will install GeoServer, access your data from a database, and apply style points, lines, polygons, and labels to impress site visitors with real-time maps. Then you follow a step-by-step guide that installs GeoServer in minutes. You will explore the web-based administrative interface to connect to backend data stores such as PostGIS, and Oracle. Going ahead, you can display your data on web-based interactive maps, use style lines, points, polygons, and embed images to visualize this data for your web visitors. You will walk away from this book with a working application ready for production. After reading GeoServer Beginner's Guide, you will be able to build beautiful custom maps on your website using your geospatial data.
Table of Contents (20 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Index

Chapter 10. Securing GeoServer Before Production

In the previous chapters, you've extensively used the web interface. To do this, you always needed a user ID and password. Also, when using the REST interfaces to manage the GeoServer configuration, you had to submit your login credentials. However, you could anonymously access the layers and maps. This is because we used the default settings in the GeoServer security, configured to provide free access to your data for everyone.

While this is quite understandable when you are developing your application, it may not be the best option for a real site.

There could be many different reasons to hide your services, or at least a part of them. Your maps could be a part of a bigger site with a security system requiring your user to log on.

Whenever your data should not be freely available, you need to update the Security Settings. Users may be linked to different roles, with some confidential data only visible from a few of them. GeoServer security...