Chapter 15. Java Servlet and JSP Security

This chapter covers security issues associated with Web applications developed using Java servlets and JavaServer Pages (JSP). It summarizes the operation of the Common Gateway Interface and discusses CGI and other Web-related security issues. It explains how servlets are developed and deployed and how a Web application's web.xml file can be configured to specify user authentication and access controls. JSP is introduced, and the relationship between JSP and servlet security is discussed.

The Common Gateway Interface

The Common Gateway Interface was adopted early on in the Web's formation as a standard for interfacing external programs to Web servers. The CGI enables these external programs, referred to ...

Get Java Security Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.