Summary

  • Do check the return value of every security- related function.

  • Do check the return value of every function that changes a user setting or a machine-wide setting.

  • Do make every attempt to recover from error conditions gracefully, to help avoid denial of service problems.

  • Do not catch all exceptions without a very good reason, as you may be masking errors in the code.

  • Do not leak error information to untrusted users.



19 Deadly Sins of Software Security. Programming Flaws and How to Fix Them
Writing Secure Code
ISBN: 71626751
EAN: 2147483647
Year: 2003
Pages: 239

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net