News10 Tips for Writing More Secure Code

10 Tips for Writing More Secure Code content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

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

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Latest Posts

Related Stories