search for books and compare prices
cover image
ModSecurity Handbook, Second Edition
The price is the lowest for any condition, which may be new or used; other conditions may also be available. Rental copies must be returned at the end of the designated period, and may involve a deposit.
Bibliographic Detail
Publisher Feisty Duck
Publication date July 15, 2017
Pages 454
Binding Paperback
ISBN-13 9781907117077
ISBN-10 1907117075
Dimensions 0.92 by 7.52 by 9.25 in.
Weight 1.85 lbs.
Original list price $49.95
Summaries and Reviews description: Product Description:

ModSecurity Handbook is the definitive guide to ModSecurity, the popular open source web application firewall. Written by Christian Folini and ModSecurity’s original developer, Ivan Ristic, this book will teach you how to monitor activity on your web sites and protect them from attack.

Situated between your web sites and the world, web application firewalls provide an additional security layer, monitoring everything that comes in and everything that goes out in real time. They enable you to perform many advanced activities, such as access control, virtual patching, HTTP traffic logging, continuous passive security assessment, and web application hardening. Web application firewalls can be very effective in preventing application security attacks, such as SQL injection, cross-site scripting, remote file inclusion, and others that plague most web sites today.

ModSecurity Handbook covers the following topics, which will help anyone with a web site to run:

  • Installation and configuration of ModSecurity
  • Detailed guide to writing rules
  • IP address, session, and user tracking
  • Session management hardening
  • Whitelisting, blacklisting, and IP reputation management
  • Anomaly scoring and advanced blocking strategies
  • Integration with other Apache modules
  • Working with predefined rule sets
  • Virtual patching and content injection
  • Performance considerations
  • Writing rules in Lua and extending ModSecurity in C
  • Detailed coverage of ModSecurity’s numerous directives, variables, transformations, and operators

The book is suitable for all reader levels: It takes newcomers by the hand to turn them into seasoned users, while seasoned users will learn advanced techniques from the top experts on the subject and find hidden clues to master the rule language. An updated ModSecurity Reference Manual is included in the second part of the book.


Dr. Christian Folini is a twelve-year veteran of ModSecurity. He is a renowned speaker, teacher, and system engineer who has specialized in securing high-profile web servers. Christian is one of the leaders of the OWASP ModSecurity Core Rule Set project, a key member of the ModSecurity community, program chair of the Swiss Cyber Storm conference, and vice president of Swiss Cyber Experts (a public-private partnership).

Ivan Ristic is a security researcher, engineer, and author, known especially for his contributions to the web application firewall field and development of ModSecurity, an open source web application firewall, and for his SSL/TLS and PKI research, tools and guides published on the SSL Labs web site. His latest project, Hardenize, is a security posture analysis service that makes security fun again. He is the author of three books, Apache Security, ModSecurity Handbook, and Bulletproof SSL and TLS.

Pricing is shown for items sent to or within the U.S., excluding shipping and tax. Please consult the store to determine exact fees. No warranties are made express or implied about the accuracy, timeliness, merit, or value of the information provided. Information subject to change without notice. is not a bookseller, just an information source.