aspose file tools
The moose likes Security and the fly likes Security via Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "Security via "Defensive Programming"?" Watch "Security via "Defensive Programming"?" New topic
Author

Security via "Defensive Programming"?

Paul Santa Maria
Ranch Hand

Joined: Feb 24, 2004
Posts: 234
I was curious - does the book focus primarily on Java crypto APIs and "What is a Message Digest" and stuff like that - or does it also discuss known vulnerabilities that can be introduced by sloppy or naive coding practices, and how to bullet proof against them? Is there any mention of SQL injection (for example)? The importance of code reviews? "Best practices" for writing secure web services code?


Paul M. Santa Maria, SCJP
Marco Pistoia
Author
Greenhorn

Joined: Apr 19, 2004
Posts: 27
The book does not focus primarily on the Java crypto APIs, even though Part IV of the book, "Enterprise Java and Cryptography" contains 4 chapters that cover everything you need to know if you need to use Java and crypto. The book covers also some best practices stuff, but I am afraid not as much as you are asking. We did not consider that the main purpose of the book. Therefore, we do not always discuss how to bullet proof against bad code practices, and we do not cover SQL injection.
Marco Pistoia


Marco Pistoia, Ph.D.<br /><a href="http://www.research.ibm.com/people/p/pistoia/" target="_blank" rel="nofollow">http://www.research.ibm.com/people/p/pistoia/</a>
 
IntelliJ Java IDE
 
subject: Security via "Defensive Programming"?
 
Threads others viewed
JUnit tests, best practices
Is "Ruby Best Practices" like design patterns in Java?
Software Product Best Pracrices.
Pardon if this is already asked
jdbc code where i have to write in best programming way
IntelliJ Java IDE