OPEC, Amazon, Yahoo! and E-bay, if these large, well-established and security-conscious web sites have problems, how can anyone be safe? How can any programmer expect to develop web applications that are secure? “Hack Proofing Your Web Applications” is specifically written for application developers and webmasters who write programs that are used on web sites. It covers Java applications, XML, ColdFusion, and other database applications. This focuses not on catching the hackers once they’ve entered the site, but aims to show programmers how to design tight code to deter hackers from the word go.
Customer Review: Fragmented and a bit self-important, but still useful
This book aims to be a “one stop shop” covering all aspects of web application security, however your app is written: Java. CGI, Perl, PHP, Active X. To a large extent it succeeds, and in a surprisingly readable way. Each chapter covers on aspect of hacking or security, and ends with a summary, a “fast track” checklist, and a FAQ for the topics covered. The book is sold like software – you can register for a “1-year upgrade”, to keep the content fresh.
Important topics include both detailed and general hints on how to read and spot security holes in code in different languages; and how to “think like a hacker”, and use hacker tools to test your own security. Above all, the book emphasizes the need for creative thinking and to avoid producing code carelessly.
I know from experience that security is often ignored if it’s seen as too hard to understand, plan or test. Don’t be a victim of your own ignorance, read this book.
Customer Review: Hack Proofing Your Web Applications
I’m working on a presentation on Web Application Security, and I
picked up this text as a reference. What a mistake! The text is
vague, poorly formatted and rife with errors.
Just one example:
p. 131 shows a sample CGI script for submitting comments to
FreeBSD.org. First of all, the screenshot references a page that
doesn’t exist, tarnishing FreeBSD for no good reason. Secondly, the
Perl CGI script doesn’t set PATH, doesn’t use taint, and doesn’t check
exit values. Third, the form uses a hidden field for the submit
address — making it a juicy spam tool since the user could simply
replace “mcross@freebsd.org” with any address she chooses. And I
could go on and on with just that one script.
Other
gripes:
p. 465, “SSL makes the man-in-the-middle attack fail”.
Wrong. …
How about this: The authors refer to Perl as the
“Practical Extraction and Reporting Language.” (p. 151, p. 223) Are
they trying to impress newbies?
SSL & PKI: only 20 pages of 565
are devoted to SSL & PKI, and those are mostly screen shots of Windows
MMC.
I’m not picking nits here, just citing examples that
particularly irk me while flipping through it. The author seems to
have little to say about Securing Web Applications, so he rambles on
with useless background and repeats himself often. This might be
useful had it been edited down to 100 pages.
I recommend Garfinkel
and Spafford’s ‘Web Security, Privacy & Commerce,’ however Forristal
does minimally discuss ASP, which Garfinkel and Spafford neglect.
Also, Forristal has some interesting ideas for code review.
…