Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

This concise and practical book shows where codevulnerabilities lie-without delving into the specifics of eachsystem architecture, programming or scripting language, orapplication-and how best to fix them

Based on real-world situations taken from the author'sexperiences of tracking coding mistakes at major financialinstitutions

Covers SQL injection attacks, cross-site scripting, datamanipulation in order to bypass authorization, and other attacksthat work because of missing pieces of code

Shows developers how to change their mindset from Web siteconstruction to Web site destruction in order to find dangerouscode

From the Back Cover

This book is much more than a wake-up call. It is also aneye-opener. Even for those who are already awake to the problems ofWeb server security, it is a serious guide for what to do and whatnot to do, with many well-chosen examples. The set of fundamentalrules is highly relevant.

This concise and practical book will show where codevulnerabilities lie and how best to fix them. Its value is inshowing where code may be exploited to gain access to - or break -systems, but without delving into specific architectures,programming or scripting languages or applications. It providesillustrations with real code.

Innocent Code is an entertaining read showing how to change yourmindset from website construction to websitedestruction so as to avoid writing dangerous code.Abundant examples from susceptible sites will bring the materialalive and help you to guard against:

SQL Injection, shell command i njection and other attacksbased on mishandling meta-characters

There was a problem filtering reviews right now. Please try again later.

This book is similar in many respects to Web Hacking: Attacks and Defense (ISBN 0201761769). While that book was aimed at security professionals who needed to understand the exposures and vulnerabilities in web systems that were commonly exploited by the bad guys and gals, this book is aimed more at developers.Like for former book, this one systematically covers exposures and vulnerabilities, and provides remedies at the code level. What sets this book apart is every component of a modern web site, from web server to backend database is covered, problem areas from a developer's perspective are highlighted, and solutions for resolving the problem areas given. I like this book because developers, from casual hobbyists to professionals, will easily grasp the information. More importantly, the material is not insultingly simple to experienced developers, nor is it over the head of less experienced ones.Another reason I like this book is in systematically uncovering exposures the QA team can also use this book as a sourcebook for developing a baseline set of test cases that will catch security-related problems during acceptance, functional qualification, or regression test cycles.In my opinion not only should web developers (including DBAs) and QA professionals read this book, but it should also be adopted by development organizations and projects as a part of coding standards.

Huseby walks through many instances of flawed web code. Client side and server side. All of these have been covered before in other forums and books, but he offers a clear exposition of the dangers.

Take SQL injection. If you do not have your web server filter the user's input in a web page submitted by her browser, and you blithely pass her string to your SQL engine, you are asking for grief. You're begging for a cracker to stuff a SQL command script to sabotage or exacavate your database. Thus too for shell command injection, where your server might inadvertantly execute that as a shell command. Remember to filter user input!

Cross site scripting and Trojans are also explained. Unfortunately, while the Trojan discussion is understandable, it is far too short.

There is no discussion of antiphishing methods. Though in the Trojan chapter, an example fake email would qualify as phishing. Perhaps the author saw no technical solution for phishing. And this book is about technical solutions.

Security is a serious issue and education of the developer about writing secure code is extremely important. There are a lot of books out there that write either about how to configure your servers or about the various security technologies (cryptography, WSE etc) - this is not unimportant but it is incomplete because it ignores weaknesses introduced through coding practices.

The author manages a tight and very readable book that is addressed at the software developer. It can be read in about a day or afternoon (if you happen to be stranded at an airport lounge). I will be suggesting it to be one of our standard literature titles on the development floor.

Aside from the publication errors ( 2 chapter 2's and part of chapter 1 at the end of chapter 2 - arg). The books is full of great examples and useful information for developer's and IT security auditors. If nothing else it helps so provide simple examples of possible exploits. (And given the publication errors, my copy is a colletor's item...) Cheers!!!