
78 Chapter 2 • How to Avoid Becoming a “Code Grinder”
; Be aware of vulnerabilities you might be introducing and do
all you can to mitigate their risks.You can’t always get rid of
every potential vulnerability, but you can do a lot towards pre-
venting exploit.
; Use the least amount of privilege you can get away with. Don’t
let your program run as system or under Administrative rights
on a Windows machine or with SUID permissions on a Unix
system unless you absolutely have to. If you can’t think of
another way, ask others for insight.
Q: My company doesn’t have any programmers, but we use a lot of
commercial Web-based applications. Are these safer? If ...