Amazon.com Customer Reviews
Great book, useful for all Apache users - Review written on November 04, 2005
Rating: 5 out of 5
6 customers found this review helpful, 1 did not.
I thoroughly enjoyed Ivan's "Apache Security", even when I was a reviewer for an unfinished book. I remember how I was eagerly waiting to receive more new chapters from the publisher.
The book contains a nice combination of generic web stuff and Apache stuff. It starts with the discussion of security principles, such as defense-in-depth and minimum access privilege. Although not new, they are useful for those just entering the field, such as for beginner apache admins.
The chapter on Apache's installation and configuration sounds boring and many might be tempted to skip it. But it does contain a gem: a guide on setting Apache in a chroot jail!
PHP, a main web application platform for Apache at the time of this writing, is covered as well. I found some tips on PHP hardening that I didn't know previously. While the last PHP application I deployed was configured to be 'hackable' (it was a honeypot deployment, after all!), I found the tips to be practical.
One entertaining chapter is on denial-of-service attacks. There are many ways to overwhelm a network server, and Apache is now exception. It's a must-read for those running highly-available sites, where downtime costs a lot.
An important chapter covers Apache access control, from basic auth to single sign-on. Of course, of particular interest to me was a chapter on logging and monitoring, as it is one of my favorite subjects. Ivan did a great job covering not only logging facilities available within the server, but also log centralization, log analysis for security, integrity monitoring and other stuff. Distributed logging with Spread kit is indeed 'cool', just as Ivan mentions.
A brief chapter covers the security of the underlying 'infrastructure', such as the OS that Apache runs on. I liked the overview since it is not 'generic', but covers material relevant to running Apache web server.
Chapter 10-12 are at the center of the book, providing the core of the new material. Those cover web application attacks, web security assessment and web intrusion detection,. The latter is based on Ivan's famous mod_security Apache module. While web attacks are covered in many places, I think the overview in the book is clear, focused and useful even for those who do web security for a living. As far as the mod_security chapter is concerned, I would read it with most care since it covers a lot of advanced usage tips, not available elsewhere.
The book is well written, easy to follow and displays clear writing style. I would strongly recommend it to everybody who is involved in running Apache web servers, web applications or has web security as part of his job responsibility. Obviously, everybody who thinks that this subject is fun should also read it :-) Also, check out www.apachesecurity.net for some free chapters, ToC, tools covered in the book, as well as a couple presentations given by Ivan. The book focuses on the defensive side, but mentions various attacks against web infrastructure as well.
Anton Chuvakin, Ph.D., GCIA, GCIH, GCFA is a Security Strategist with a major security company. He is an author of the book "Security Warrior" and a contributor to "Know Your Enemy II" and the upcoming "Hacker's Challenge III". In his spare time, he maintains his security portal info-secure.org and his blog at O'Reilly. His next book will be about security log analysis.
more dangerous attacks - Review written on April 14, 2005
Rating: 4 out of 5
9 customers found this review helpful, 3 did not.
Ideally, this book should not exist. Because no one would try to intrude onto your Apache server. Besides, you don't mind a stranger being able to to that anyway, eh? After all, surely there is nothing important on your server's disk and in the computer on which it runs?
If you agree with the above, then stop reading.
Otherwise, reflect on a symptom of our times. As intrusion attacks become more sophisticated and your Apache perhaps has to guard valuable data, then its security has been promoted to an entire book. Basically, all of its material has been discussed elsewhere, but often scattered across the literature.
Here, Ristic gives an extended discussion of many aspects. Some of this involves educating you about related topics. Especially a PKI and how to integrate Apache with it. The book skims over any serious crypto complications, but explains how to use such a system.
Ristic also devotes a chapter to Denial of Service attacks. These can be low tech brute force affairs. Or perhaps a cracker might mobilise a massive botnet to launch a DDoS, which is the more dangerous form. There are ways to militate against these. But since the book is about Apache, it does not devote enough space to the use of an Intrusion Detection System or Intrusion Prevention System, in conjunction with upstream routers. Apache by itself is not enough to defend against the worst DoS attacks.
The book also mentions phishing. It claims the problem is hard and that there are no quick remedies. It's a reasonable assessment of the commonly understood state of the publicly known antiphishing methods. Though this does not preclude the deployment of better methods that are not yet publicly known. [I am the co-inventor of 15 US Patents Pending on antiphishing, which our company plans on implementing.]
Comprehensive, task-oriented web security cookbook - Review written on April 11, 2005
Rating: 5 out of 5
5 customers found this review helpful, 3 did not.
This comprehensive, systematic, task-oriented book covers all the alternative approaches to securing servers -- from secure to paranoid -- complete with examples to demonstrate vulnerabilities such as session management, (Javascript) cross-site scripting, and SQL injection. Subjects such as hardening PHP, shared-server vulnerabilities, and logging/monitoring, each get a whole chapter. This up-to-date, well-written (concise yet encyclopedic) book will be indispensible to system designers, administrators and programmers.