or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
25 used & new from $3.69

Have one to sell? Sell yours here
 
   
Secure Coding: Principles and Practices
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  
4.8 out of 5 stars  See all reviews (16 customer reviews)

List Price: $29.95
Price: $19.77 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $10.18 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Wednesday, December 2? Choose One-Day Shipping at checkout. Details
Ordering for Christmas? This item requires additional time to ship. To ensure delivery by December 24, choose Standard Shipping at checkout. Read more about holiday shipping.

11 new from $3.69 14 used from $3.69

Formats

Amazon Price New from Used from
  Hardcover, May 31, 2003 -- -- --
  Paperback, June 30, 2003 $19.77 $3.69 $3.69
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy Secure Coding: Principles and Practices and get Web Security, Privacy and Commerce, 2nd Edition at an additional 5% off Amazon.com's everyday low price.

Secure Coding: Principles and Practices + Web Security, Privacy and Commerce, 2nd Edition
Buy Together Today: $57.42

Show availability and shipping details

  • This item: Secure Coding: Principles and Practices

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Web Security, Privacy and Commerce, 2nd Edition

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Software Security: Building Security In

Software Security: Building Security In

by Gary McGraw
4.9 out of 5 stars (19)  $37.79
19 Deadly Sins of Software Security: Programming Flaws and How to Fix Them (Security One-off)

19 Deadly Sins of Software Security: Programming Flaws and How to Fix Them (Security One-off)

by John Viega
4.6 out of 5 stars (12)  $32.85
Writing Secure Code, Second Edition

Writing Secure Code, Second Edition

by David LeBlanc
4.2 out of 5 stars (35)  $31.49
The Security Development Lifecycle

The Security Development Lifecycle

by Michael Howard
4.5 out of 5 stars (4)  $23.09
Secure Coding in C and C++

Secure Coding in C and C++

by Robert C. Seacord
5.0 out of 5 stars (7)  $31.82
Explore similar items

Editorial Reviews

Review

"This is an extremely useful little book in best O'Reilly tradition and I recommend it not only to programmers but also to security architects who work with programmers. It gives you a lot of insights that you don't often come across." Information Security Bulletin, September


Product Description

Despite their myriad manifestations and different targets, nearly all attacks on computer systems have one fundamental cause: the code used to run far too many systems today is not secure. Flaws in its design, implementation, testing, and operations allow attackers all-too-easy access. Secure Coding, by Mark G. Graff and Ken vanWyk, looks at the problem of bad code in a new way. Packed with advice based on the authors' decades of experience in the computer security field, this concise and highly readable book explains why so much code today is filled with vulnerabilities, and tells readers what they must do to avoid writing code that can be exploited by attackers. Beyond the technical, Secure Coding sheds new light on the economic, psychological, and sheer practical reasons why security vulnerabilities are so ubiquitous today. It presents a new way of thinking about these vulnerabilities and ways that developers can compensate for the factors that have produced such unsecured software in the past. It issues a challenge to all those concerned about computer security to finally make a commitment to building code the right way.

Product Details

  • Paperback: 200 pages
  • Publisher: O'Reilly Media; 1 edition (July 2003)
  • Language: English
  • ISBN-10: 0596002424
  • ISBN-13: 978-0596002428
  • Product Dimensions: 9 x 6 x 0.6 inches
  • Shipping Weight: 10.6 ounces (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (16 customer reviews)
  • Amazon.com Sales Rank: #473,017 in Books (See Bestsellers in Books)

More About the Author

Mark Graff
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Mark Graff Page

Inside This Book (learn more)


What Do Customers Ultimately Buy After Viewing This Item?

Secure Coding: Principles and Practices
69% buy the item featured on this page:
Secure Coding: Principles and Practices 4.8 out of 5 stars (16)
$19.77
Secure Coding in C and C++
8% buy
Secure Coding in C and C++ 5.0 out of 5 stars (7)
$31.82
Writing Secure Code, Second Edition
8% buy
Writing Secure Code, Second Edition 4.2 out of 5 stars (35)
$31.49
Software Security: Building Security In
8% buy
Software Security: Building Security In 4.9 out of 5 stars (19)
$37.79

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

16 Reviews
5 star:
 (14)
4 star:
 (1)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.8 out of 5 stars (16 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
19 of 19 people found the following review helpful:
5.0 out of 5 stars Holistic Security, November 29, 2003
By Brad Friedlander (Chelmsford, MA, USA) - See all my reviews
In the 11th century, Moses Maimonides taught us that the highest form of charity is to teach a man to fish. If you give him a fish, he can eat today. If you teach him to fish he can eat forever.

In the same way, Mark G. Graff and Kenneth R. van Wyk have provided an excellent book that gives us a framework for thinking about security rather than trying to give specific rules that might have been invalid before the book came off the press. "Secure Coding" gives the reader the ability to envision, architect, design, code, and implement a security framework that truly meets the needs of its stakeholders.

The authors don't provide a cookbook. In their own words: "When you picked up this book, perhaps you thought that we could provide certain security? Sadly, no one can."

Instead, they deliver a robust mental model and a framework to understand security and to architect, design, develop, and operate secure systems. They present best practices in the field of security, the reasons for using them, and suggestions on deciding which practices are appropriate in your particular case.

Their approach is to realize that the objective is not to make a system totally secure, but to make it just secure enough. Deciding what is "just secure enough" is a business and not a technical decision. It is based on weighing risk versus cost.

There are substantial references throughout the book as well as an appendix of resources. The book is filled with examples of security failures and, more importantly, an excellent post mortem on each to show what could have been done to avoid the problem. The authors are extremely familiar with UNIX environments and this comes through in the examples. However, you don't need to be a UNIX guru to glean valuable lessons from the examples.

One key message is that security is not something you can bolt onto an application. You must take a holistic approach to the overall system in which the application is being used. It's worth noting that many secure applications become extremely insecure because of the system environment (including networks) in which they exist.

A second key message is that, while you can retrofit a insecure application, it is far easier and far less costly to incorporate security as an integral part of the entire development life-cycle including requirements, architecture, and design. The security architecture and design must be well-documented so that future maintenance does not inadvertently introduce gaping security holes.

The book is primarily intended for those who architect, design, and code secure applications. However, I believe that it is a must read for those who manage and those who implement secure applications and systems.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
15 of 15 people found the following review helpful:
5.0 out of 5 stars Some reviewers missing the point., November 17, 2003
By Jeremy Allison (San Jose, California United States) - See all my reviews
(REAL NAME)   
Some of the reviewers here are missing the point of this book. It's not a "secure code cookbook" in that it doesn't give specific code examples. Such things are quickly obsolete anyway.

This book teaches you how to *think* about security, how to think about and *design* code that will be secure. It isn't a "add this snippit of code to your input buffer validation function" sort of book. There are many of these books, and they're useful in their place, but this book writes about the design of secure code, not the actual specifics.

To continue the cooking analogy, this is a book on how to write receipes, not a book *of* receipes.

Disclaimer, I helped review this book - and I think it's the sort of work that has been sorely missing in the field (I was also given a free copy for doing the review work).

Jeremy Allison,
Samba Team.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
20 of 22 people found the following review helpful:
3.0 out of 5 stars A good step in the right direction, October 8, 2003
By wiredweird "wiredweird" (Earth, or somewhere nearby) - See all my reviews
(TOP 100 REVIEWER)   
Amazon Verified Purchase(What's this?)
You may have a hi-tech lock on your door, 100% unpickable. If I can just slam my shoulder against the door and jerk it loose from the frame, the fancy lock is irrelevant.

Passwords, encryption, and all the rest are the lock. This book is more about making the door and frame strong. Remember the Blaster worm? That wasn't a 'security' problem. It exploited bugs in Windows that supposedly had nothing to do with security.

This book is about building programs that resist attack. That doesn't mean copying a safe code fragment into your program and declaring it safe - that idea is ludicrous. Instead, this book is about the process that designs and implements strong programs. It starts with architecture and design documents, then follows through to design and maintenance.

The weakness of this book is lack of detail - how to build fail-safe code, what needs to be on design and inspection checklists, etc. There's good reason for that: each sub-topic needs books, if not whole libraries of its own. Take fault tolerance, for example. It may not sound like security, but an attack is meant to cause system failures, and fault tolerance is design to withstand failures. Fault tolerance is a huge topic, with journals and literature all its own. This book can barely mention the idea, while still giving other topics their due. It's a start, though.

Much of the advice may sound drearily familiar: code reviews, security audits, configuration control, error checking, and all the other things that take the 'fun' out of programming. If people want that kind of 'fun', then stop calling them software engineers. They're not ready for adult responsibilities.

Before anything else, software security requires correct behavior from a program. I really hope I don't hear objections to that as a basic design goal.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Looking to get started with Software Security? Start Here.
When my clients are starting down the road to software security and ask me what book is the best starting place, this is the one I recommend. Read more
Published on February 13, 2007 by Gunnar Peterson

5.0 out of 5 stars "Secure Coding" Should Be THE BIBLE For IT Professionals
There are some books that I believe should be mandatory reading for any person studying computer science, information technology auditing, or some other related fields, and that... Read more
Published on July 12, 2005 by Christopher Byrne

5.0 out of 5 stars much-needed and indispensable
This is an excellent book that should be read by all software developers, script writers, system administrators, application designers, and system maintainers. Read more
Published on February 8, 2004 by James J. Lippard

5.0 out of 5 stars Just plain good
My job is fixing security vulnerabilities in applications.

This book offers a great description of how to creat applications that don't need fixing. Read more

Published on January 28, 2004 by Richard Barrell

4.0 out of 5 stars Required reading for programmers serious about security
In the movie Seabiscuit, the titular racehorse doesn't appear on screen until almost an hour into the movie. Read more
Published on January 2, 2004 by Ben Rothke

5.0 out of 5 stars Secure Coding: Logico Philosophicus
Secure Coding is not a "technical" book, at least not in the traditional sense of the term. Read more
Published on August 21, 2003

5.0 out of 5 stars What every coder should read before programming
Graff and van Wyk's book is great for both an IT manager to get up to speed quickly on security concepts as well as for a coder who needs checklists and case studies to learn... Read more
Published on August 15, 2003 by ryan8391

5.0 out of 5 stars What every coder should read before programming
Graff and van Wyk's book is great for both an IT manager to get up to speed quickly on security concepts as well as for a coder who needs checklists and case studies to learn... Read more
Published on August 15, 2003 by ryan8391

5.0 out of 5 stars What every coder should read before programming
Graff and van Wyk's book is great for both an IT manager to get up to speed quickly on security concepts as well as for a coder who needs checklists and case studies to learn... Read more
Published on August 15, 2003 by ryan8391

5.0 out of 5 stars What every coder should read before programming
Graff and van Wyk's book is great for both an IT manager to get up to speed quickly on security concepts as well as for a coder who needs checklists and case studies to learn... Read more
Published on August 15, 2003 by ryan8391

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.