10 Tips for Writing More Secure Code

Friday Jul 5th 2013 by Developer.com Staff

These practices can help you avoid costly vulnerabilities.

No developer can afford to ignore security. But all too often security seems tacked on like an afterthought, which can lead to problems when the code is released.

InfoWorld put together a list of 17 tips for securing your code. Here are the first ten:

  1. Test inputs rigorously
  2. Store what you need, and not one bit more
  3. Avoid trusting passwords more than necessary
  4. Negotiate requirements
  5. Add delays to your code
  6. Use encryption more often than you think you should
  7. Build walls
  8. Tested libraries—use them
  9. Use internal APIs
  10. Bring in outside auditors to critique your code

View article

Mobile Site | Full Site