Difference between revisions of "Cpp Coding Standards/SECURITY/ValInput"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial revision)
 
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
  
 
See also David Wheeler's excellent [http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/index.html Secure Programming for Linux and Unix HOWTO].
 
See also David Wheeler's excellent [http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/index.html Secure Programming for Linux and Unix HOWTO].
 +
[[Category:Coding Standards]]

Latest revision as of 17:14, 14 December 2009

If your input comes from external, you must validate that input. Don't try to identify what's illegal and remove that from the input, do it the other way around: check what's legal (because you will likely forget cases of illegal input).

See also David Wheeler's excellent Secure Programming for Linux and Unix HOWTO.

Personal tools