skip to content
Building secure software : how to avoid security problems the right way Preview this item
ClosePreview this item
Checking...

Building secure software : how to avoid security problems the right way

Author: John Viega; Gary McGraw
Publisher: Boston : Addison-Wesley, ©2002.
Series: Addison-Wesley professional computing series.
Edition/Format:   eBook : Document : EnglishView all editions and formats
Summary:
"Building Secure Software cuts to the heart of computer security to help you get security right the first time. If you are serious about computer security, you need to read this book, which includes essential lessons for both security professionals who have come to realize that software is the problem, and software developers who intend to make their code behave. Written for anyone involved in software development  Read more...
Rating:

(not yet rated) 0 with reviews - Be the first.

Subjects
More like this

 

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...

Details

Additional Physical Format: Print version:
Viega, John.
Building secure software.
Boston : Addison-Wesley, ©2002
(DLC) 2001046055
(OCoLC)47238955
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: John Viega; Gary McGraw
ISBN: 9780672334092 0672334097 020172152X 9780201721522
OCLC Number: 607840440
Reproduction Notes: Electronic reproduction. [S.l.] : HathiTrust Digital Library, 2010. MiAaHDL
Description: 1 online resource (xxx, 493 pages) : illustrations.
Details: Master and use copy. Digital master created according to Benchmark for Faithful Digital Reproductions of Monographs and Serials, Version 1. Digital Library Federation, December 2002.
Contents: Foreword. Preface. Organization.Code Examples.Contacting Us.Acknowledgments. 1. Introduction to Software Security. It's All about the Software.Dealing with Widespread Security Failures.Bugtraq.CERT Advisories.RISKS Digest.Technical Trends Affecting Software Security.The 'ilities.What Is Security?.Isn't That Just Reliability?Penetrate and Patch Is Bad.On Art and Engineering.Security Goals.Prevention.Traceability and Auditing.Monitoring.Privacy and Confidentiality.Multilevel Security.Anonymity.Authentication.Integrity.Know Your Enemy: Common Software Security Pitfalls.Software Project Goals.Conclusion.2. Managing Software Security Risk. An Overview of Software Risk Management for Security.The Role of Security Personnel.Software Security Personnel in the Life Cycle.Deriving Requirements.Risk Assessment.Design for Security.Implementation.Security Testing.A Dose of Reality.Getting People to Think about Security.Software Risk Management in Practice.When Development Goes Astray.When Security Analysis Goes Astray.The Common Criteria.Conclusion.3. Selecting Technologies. Choosing a Language.Choosing a Distributed Object Platform.CORBA.DCOM.EJB and RMI.Choosing an Operating System.Authentication Technologies.Host-Based Authentication.Physical Tokens.Biometric Authentication.Cryptographic Authentication.Defense in Depth and Authentication.Conclusion.4. On Open Source and Closed Source. Security by Obscurity.Reverse Engineering.Code Obfuscation.Security for Shrink-Wrapped Software.Security by Obscurity Is No Panacea.The Flip Side: Open-Source Software.Is the "Many-Eyeballs Phenomenon<170) Real?Why Vulnerability Detection Is Hard.Other Worries.On Publishing Cryptographic Algorithms.Two More Open-Source Fallacies.The Microsoft Fallacy.The Java Fallacy.An Example: GNU Mailman Security.More Evidence: Trojan Horses.To Open Source or Not to Open Source.Another Security Lesson from Buffer Overflows.Beating the Drum.Conclusion.5. Guiding Principles for Software Security. Principle 1: Secure the Weakest Link.Principle 2: Practice Defense in Depth.Principle 3: Fail Securely.Principle 4: Follow the Principle of Least Privilege.Principle 5: Compartmentalize.Principle 6: Keep It Simple.Principle 7: Promote Privacy.Principle 8: Remember That Hiding Secrets Is Hard.Principle 9: Be Reluctant to Trust.Principle 10: Use Your Community Resources.Conclusion.6. Auditing Software. Architectural Security Analysis.Attack Trees.Reporting Analysis Findings.Implementation Security Analysis.Auditing Source Code.Source-level Security Auditing Tools.Using RATS in an Analysis.The Effectiveness of Security Scanning of Software.Conclusion.7. Buffer Overflows. What Is a Buffer Overflow?Why Are Buffer Overflows a Security Problem?Defending against Buffer Overflow.Major Gotchas.Internal Buffer Overflows.More Input Overflows.Other Risks.Tools That Can Help.Smashing Heaps and Stacks.Heap Overflows.Stack Overflows.Decoding the Stack.To Infinity and Beyond!Attack Code.A UNIX Exploit.What About Windows?Conclusion.8. Access Control. The UNIX Access Control Model.How UNIX Permissions Work.Modifying File Attributes.Modifying Ownership.The umask.The Programmatic Interface.Setuid Programming.Access Control in Windows NT.Compartmentalization.Fine-Grained Privileges.Conclusion.9. Race Conditions. What Is a Race Condition?Time-of-Check, Time-of-Use.Broken passwd.Avoiding TOCTOU Problems.Secure File Access.Temporary Files.File Locking.Other Race Conditions.Conclusion.10. Randomness and Determinism. Pseudo-random Number Generators.Examples of PRNGs.The Blum-Blum-Shub PRNG.The Tiny PRNG.Attacks Against PRNGs.How to Cheat in On-line Gambling.Statistical Tests on PRNGs.Entropy Gathering and Estimation.Hardware Solutions.Software Solutions.Poor Entropy Collection: How to Read "Secret" Netscape Messages.Handling Entropy.Practical Sources of Randomness.Tiny.Random Numbers for Windows.Random Numbers for Linux.Random Numbers in Java.Conclusion.11. Applying Cryptography. General Recommendations.Developers Are Not Cryptographers.Data Integrity.Export Laws.Common Cryptographic Libraries.Cryptlib.OpenSSL.Crypto++.BSAFE.Cryptix.Programming with Cryptography.Encryption.Hashing.Public Key Encryption.Threading.Cookie Encryption.More Uses for Cryptographic Hashes.SSL and TLS (Transport Layer Security.Stunnel.One-Time Pads.Conclusion.12. Trust Management and Input Validation. A Few Words on Trust.Examples of Misplaced Trust.Trust Is Transitive.Protection from Hostile Callers.Invoking Other Programs Safely.Problems from the Web.Client-side Security.Perl Problems.Format String Attacks.Automatically Detecting Input Problems.Conclusion.13. Password Authentication. Password Storage.Adding Users to a Password Database.Password Authentication.Password Selection.More Advice.Throwing Dice.Passphrases.Application-Selected Passwords.One-Time Passwords.Conclusion.14. Database Security. The Basics.Access Control.Using Views for Access Control.Field Protection.Security against Statistical Attacks.Conclusion.15. Client-side Security. Copy Protection Schemes.License Files.Thwarting the Casual Pirate.Other License Features.Other Copy Protection Schemes.Authenticating Untrusted Clients.Tamperproofing.Antidebugger Measures.Checksums.Responding to Misuse.Decoys.Code Obfuscation.Basic Obfuscation Techniques.Encrypting Program Parts.Conclusion.16. Through the Firewall. Basic Strategies.Client Proxies.Server Proxies.SOCKS.Peer to Peer.Conclusions.Appendix A. Cryptography Basics. The Ultimate Goals of Cryptography.Attacks on Cryptography.Types of Cryptography.Symmetric Cryptography.Types of Symmetric Algorithms.Security of Symmetric Algorithms.Public Key Cryptography.Cryptographic Hashing Algorithms.Other Attacks on Cryptographic Hashes.What's a Good Hash Algorithm to Use?Digital Signatures.Conclusions.References. Index.
Series Title: Addison-Wesley professional computing series.
Responsibility: John Viega, Gary McGraw.

Abstract:

Shows you how to avoid security problems the right way.  Read more...

Reviews

User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...

Tags

Be the first.
Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data


Primary Entity

<http://www.worldcat.org/oclc/607840440> # Building secure software : how to avoid security problems the right way
    a schema:MediaObject, schema:Book, schema:CreativeWork ;
    library:oclcnum "607840440" ;
    library:placeOfPublication <http://id.loc.gov/vocabulary/countries/mau> ;
    library:placeOfPublication <http://dbpedia.org/resource/Boston> ; # Boston
    schema:about <http://experiment.worldcat.org/entity/work/data/837020636#Topic/computer_software_development> ; # Computer software--Development
    schema:about <http://experiment.worldcat.org/entity/work/data/837020636#Topic/seguranca_de_computadores> ; # Segurança de computadores
    schema:about <http://id.worldcat.org/fast/1141401> ; # System design
    schema:about <http://id.worldcat.org/fast/872484> ; # Computer security
    schema:about <http://id.worldcat.org/fast/872537> ; # Computer software--Development
    schema:about <http://id.loc.gov/authorities/subjects/sh85029535> ; # Computer software--Development
    schema:about <http://dewey.info/class/005.1/e21/> ;
    schema:about <http://experiment.worldcat.org/entity/work/data/837020636#Topic/gestao_da_seguranca_em_sistemas_computacionais> ; # Gestão da segurança em sistemas computacionais
    schema:about <http://experiment.worldcat.org/entity/work/data/837020636#Topic/seguranca_de_software> ; # Segurança de software
    schema:bookFormat schema:EBook ;
    schema:contributor <http://viaf.org/viaf/76495010> ; # Gary McGraw
    schema:copyrightYear "2002" ;
    schema:creator <http://viaf.org/viaf/7631401> ; # John Viega
    schema:datePublished "2002" ;
    schema:description ""Building Secure Software cuts to the heart of computer security to help you get security right the first time. If you are serious about computer security, you need to read this book, which includes essential lessons for both security professionals who have come to realize that software is the problem, and software developers who intend to make their code behave. Written for anyone involved in software development and use--from managers to coders--this book is your first step toward building more secure software. Building Secure Software provides expert perspectives and techniques to help you ensure the security of essential software. If you consider threats and vulnerabilities early in the development cycle you can build security into your system. With this book you will learn how to determine an acceptable level of risk, develop security tests, and plug security holes before software is even shipped"--Resource description page."@en ;
    schema:exampleOfWork <http://worldcat.org/entity/work/id/837020636> ;
    schema:inLanguage "en" ;
    schema:isPartOf <http://experiment.worldcat.org/entity/work/data/837020636#Series/addison_wesley_professional_computing_series> ; # Addison-Wesley professional computing series.
    schema:isSimilarTo <http://www.worldcat.org/oclc/47238955> ;
    schema:name "Building secure software : how to avoid security problems the right way"@en ;
    schema:productID "607840440" ;
    schema:publication <http://www.worldcat.org/title/-/oclc/607840440#PublicationEvent/boston_addison_wesley_2002> ;
    schema:publisher <http://experiment.worldcat.org/entity/work/data/837020636#Agent/addison_wesley> ; # Addison-Wesley
    schema:url <http://books.google.com/books?id=d6RQAAAAMAAJ> ;
    schema:url <http://proquest.safaribooksonline.com/9780672334092> ;
    schema:url <http://proquest.tech.safaribooksonline.de/9780672334092> ;
    schema:url <http://proquest.safaribooksonline.com/640> ;
    schema:url <http://catalog.hathitrust.org/api/volumes/oclc/47238955.html> ;
    schema:workExample <http://worldcat.org/isbn/9780201721522> ;
    schema:workExample <http://worldcat.org/isbn/9780672334092> ;
    wdrs:describedby <http://www.worldcat.org/title/-/oclc/607840440> ;
    .


Related Entities

<http://dbpedia.org/resource/Boston> # Boston
    a schema:Place ;
    schema:name "Boston" ;
    .

<http://experiment.worldcat.org/entity/work/data/837020636#Agent/addison_wesley> # Addison-Wesley
    a bgn:Agent ;
    schema:name "Addison-Wesley" ;
    .

<http://experiment.worldcat.org/entity/work/data/837020636#Series/addison_wesley_professional_computing_series> # Addison-Wesley professional computing series.
    a bgn:PublicationSeries ;
    schema:hasPart <http://www.worldcat.org/oclc/607840440> ; # Building secure software : how to avoid security problems the right way
    schema:name "Addison-Wesley professional computing series." ;
    schema:name "Addison-Wesley professional computing series" ;
    .

<http://experiment.worldcat.org/entity/work/data/837020636#Topic/computer_software_development> # Computer software--Development
    a schema:Intangible ;
    schema:name "Computer software--Development"@en ;
    .

<http://experiment.worldcat.org/entity/work/data/837020636#Topic/gestao_da_seguranca_em_sistemas_computacionais> # Gestão da segurança em sistemas computacionais
    a schema:Intangible ;
    schema:name "Gestão da segurança em sistemas computacionais"@en ;
    .

<http://experiment.worldcat.org/entity/work/data/837020636#Topic/seguranca_de_computadores> # Segurança de computadores
    a schema:Intangible ;
    schema:name "Segurança de computadores"@en ;
    .

<http://experiment.worldcat.org/entity/work/data/837020636#Topic/seguranca_de_software> # Segurança de software
    a schema:Intangible ;
    schema:name "Segurança de software"@en ;
    .

<http://id.loc.gov/authorities/subjects/sh85029535> # Computer software--Development
    a schema:Intangible ;
    schema:name "Computer software--Development"@en ;
    .

<http://id.worldcat.org/fast/1141401> # System design
    a schema:Intangible ;
    schema:name "System design"@en ;
    .

<http://id.worldcat.org/fast/872484> # Computer security
    a schema:Intangible ;
    schema:name "Computer security"@en ;
    .

<http://id.worldcat.org/fast/872537> # Computer software--Development
    a schema:Intangible ;
    schema:name "Computer software--Development"@en ;
    .

<http://viaf.org/viaf/7631401> # John Viega
    a schema:Person ;
    schema:familyName "Viega" ;
    schema:givenName "John" ;
    schema:name "John Viega" ;
    .

<http://viaf.org/viaf/76495010> # Gary McGraw
    a schema:Person ;
    schema:birthDate "1966" ;
    schema:familyName "McGraw" ;
    schema:givenName "Gary" ;
    schema:name "Gary McGraw" ;
    .

<http://worldcat.org/isbn/9780201721522>
    a schema:ProductModel ;
    schema:isbn "020172152X" ;
    schema:isbn "9780201721522" ;
    .

<http://worldcat.org/isbn/9780672334092>
    a schema:ProductModel ;
    schema:isbn "0672334097" ;
    schema:isbn "9780672334092" ;
    .

<http://www.worldcat.org/oclc/47238955>
    a schema:CreativeWork ;
    rdfs:label "Building secure software." ;
    schema:description "Print version:" ;
    schema:isSimilarTo <http://www.worldcat.org/oclc/607840440> ; # Building secure software : how to avoid security problems the right way
    .


Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.