Amazon.com: Writing Secure Code (9780735615885): Michael Howard, David LeBlanc: Books
Writing Secure Code and over one million other books are available for Amazon Kindle. Learn more

Buy Used
Used - Acceptable See details
$3.85 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Kindle Edition
 
   
Have one to sell? Sell yours here
Writing Secure Code
 
 
Start reading Writing Secure Code on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Writing Secure Code [Paperback]

Michael Howard (Author), David LeBlanc (Author)
4.3 out of 5 stars  See all reviews (38 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $25.14  
Paperback $27.93  
Paperback, November 3, 2001 --  
There is a newer edition of this item:
Writing Secure Code, Second Edition Writing Secure Code, Second Edition 4.3 out of 5 stars (38)
$27.93
In Stock.

Book Description

November 3, 2001 0735615888 978-0735615885
Writing Secure Code" covers the major aspects of creating secure applications through the entire development process. Its short, easily-digested chapters can provide software designers, architects, developers, and testers with the training, theory, and techniques they need to take the right actions to ensure security.


Editorial Reviews

From the Publisher

No more malicious attacks! Learn the best practices for writing secure code, with samples in Microsoft Visual Basic®.NET, Visual C++®, Perl, and Visual C#®.

About the Author

Michael Howard is a security program manager on the Microsoft WindowsXP team, focusing on secure design, programming and testing techniques. He works with hundreds of people both inside and outside the company to help them secure their applications each year. He is the primary author of DESIGING SECURE WEB-BASED APPLICATIONS FOR MICROSOFT WINDOWS 2000 from Microsoft Press. Prior to working in WindowsXP, Michael worked on next-generation Web server technologies and IIS. He has worked on Windows NT® security since 1992

David LeBlanc is a senior security technologist in ITG at Microsoft. His primary role is defending the Microsoft network from attack. He has worked in the security field throughout his professional life, including working at Internet Security Systems where he was the primary engineer on ISS’ award-winning security products. David serves on a number of external security-related advisory boards.


Product Details

  • Paperback: 477 pages
  • Publisher: Microsoft Press (November 3, 2001)
  • Language: English
  • ISBN-10: 0735615888
  • ISBN-13: 978-0735615885
  • Product Dimensions: 7.5 x 1.2 x 9.2 inches
  • Shipping Weight: 2.3 pounds
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (38 customer reviews)
  • Amazon Best Sellers Rank: #2,282,820 in Books (See Top 100 in Books)

More About the Authors

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

 

Customer Reviews

38 Reviews
5 star:
 (25)
4 star:
 (5)
3 star:
 (3)
2 star:
 (4)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (38 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

121 of 141 people found the following review helpful:
3.0 out of 5 stars Not writing non-secure code for Windows, November 30, 2003
By 
Dmitry Dvoinikov (Ekaterinburg, Russia) - See all my reviews
The title of the book is misleading to begin with. The book is not about writing secure code. It's about (1) not writing non-secure code and (2) using Windows specific security APIs.

(1) Not writing non-secure code. Covers several issues, some more obvious, like buffer overruns and validating user input, some more complex, like escaping URLs and socket security. I thought the book would teach me best practices about organizing code, as in "do like I do". Instead it goes like "don't do like I'm telling you".

(2) Using Windows security APIs. This is THE BEST part of the book. Gives you a very good overview about several different APIs, including ACLs, protecting sensitive data, securing DCOM and .NET code, excellent tips on installing programs etc. etc.

Keep in mind that this book is said to be used internally within Microsoft with "security pushes", with the audience of 8000 people, including not only developers of all levels, but managers as well, therefore the book is by definition a high level overview.

Sometimes the book feels like MS educational course. Ex. (tip on p.77) "I created the ... diagrams ... using ... Microsoft Visio Professional 2002". That's cool, but what does it have to do with security ?

Some topics should never be there. How about 3 pages of tips for a kernel driver writer ? It's a huge topic in itself and how many readers outside MS do this anyway ? Privacy issues are covered idealistically. Yeah, sure, if you put a specially crafted XML to the special place on your site, the users magically start trusting you... I'd better read about real situation with privacy, not how the government rules it to be. Oh, and how about 40 pages about cryptography ? Please...

The book tries to show you the security process with development and testing. I can easily see they use this process in Microsoft, with 8000 people. For a small team it's completely useless. How about using 4 (!) people for a code review ? Sure, upon reading this book you will know that security code review is a must (if you have enough resources). Didn't you know that before ?

The code samples are ugly. How about this: "... X is cool ... several pages of Perl (!) ... see what I mean ?". Ok, one of the authors admits to be a Perl fan, but how am I supposed to read through all this gibberish ? C(++) samples are not much better. May be they are fully functional and compilable and all, but please, they are huge and inconsistent in themselves.

All in all, 5 stars for Microsoft, 3 stars for the rest of the world.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


22 of 26 people found the following review helpful:
5.0 out of 5 stars Great book if you're serious about writing secure code, January 30, 2003
I got this book for free from Microsoft, because our company became a Microsoft Partner. I must admit that at first I was a little bit sceptical about it, because afterall this book is published by Microsoft and they have this reputation of selling rather insecure software themselves. But after reading the first few sections I knew it was going to be a very good read.

The book explains in very clear language almost every aspect of secure programming and gives a good overview of all common security flaws that can (and will!) enter your programming code. You'll learn how to securely design, implement, test and deploy your programs. Ofcourse buffer overruns are handled (Public Enemy #1 according to the authors), but that's only the tip of the iceberg. The book does a great job by identifying and providing solutions to common security pitfalls. Topics that are handled include: database access, user privileges and Access Control, Cryptography, handling secret data, user input, encoding and internationalization, RPC, DCOM, DOS attacks, .NET and writing secure program documentation.

I recommend this book to every programmer out there, even if you're not programming for the Win32-platform. Don't let the fact that this is a Microsoft publication refrain you from buying this book. If you are serious about writing secure programs this is the book to get.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


18 of 21 people found the following review helpful:
5.0 out of 5 stars Best book I have read about secure software, December 27, 2001
By 
Mike Brava (Sydney, Australia) - See all my reviews
This review is from: Writing Secure Code (Paperback)
Too many books talk about how to secure a network, and discuss network-based attacks, but this book is different; it covers how to design, build and test the code at the end of the pipe - the application software.

The book is complete in its explanation of how to make sure your application code, be it web-based or otherwise, is secured from attack.

I learned a great deal from this book, and, based on code and design reviews of my company's code, the authors obviously know what they are talking about - as we made a lot of fixes, and added many new security test cases to our test suites.

Simply put, we never knew we had problems, until we read this book, now it's mandatory reading for all our software engineers.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

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











Only search this product's reviews



Inside This Book (learn more)
First Sentence:
In memory of all those people who needlessly perished on September 11, 2001. Read the first page
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
effective bit size, malicious user views, canonical representation issues, generating good random numbers, network bandwidth attacks, running with least privilege, testing secure applications, impersonation functions, canonicalization bugs, array indexing errors, resource starvation attacks, cnf case, hexadecimal escape codes, security test plan, trust user input, canonicalization issues, common security mistakes, heap overruns, epilog code, salted hash, format string bugs, storing secrets, restricted token, security hugs, packet privacy
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Microsoft Windows, Microsoft Press, Visual Basic, Microsoft Visual, Internet Explorer, Visual Studio, Terminal Server, Internet Information Services, Ten Immutable Laws of Security, Program Files, Standard Template Library, United States, Internet Information Server, Internet Server, Table of Contents, Authenticated Users, Cryptographic Foibles, Internet Printing Protocol, Internet Protocol, Knowledge Base, Local Security Authority, Microsoft Corporation, Securing Web-Based Services, Active Template Library, Back Orifice
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Front Flap | First Pages | Back Flap | Back Cover | Surprise Me!
Search Inside This Book:




What Other Items Do Customers Buy After Viewing This Item?


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
 

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
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject