Tipping The Scales Toward Secure Code | eWeek

Tipping The Scales Toward Secure Code

Écrit par
Rebecca Rohan
Rebecca Rohan
Jun 15, 2004
2 minute read
eWeek Le contenu et les recommandations de produits sont indépendants de la rédaction. Nous pouvons gagner de l'argent lorsque vous cliquez sur des liens vers nos partenaires. En savoir plus

Everybody can use more secure code—and sometimes the best way to hone your skills is to listen to other programmers. Here are 18 concise tips offered by your fellow developers, each a specific (and opinionated!) piece of advice that you can put to work immediately. You may not agree with all these suggestions, but each is worth contemplating.

Be Careful What You Call

“If your application calls a DLL or another program, make sure you call it specifically,” says Joshua Levy, senior software engineer for Reasoning Inc. in Mountain View, CA. “Dont rely on relative paths or search paths. The danger here is that you will end up calling a different program or DLL than you expected. This is the ultimate security flaw, because suddenly youre running a program or DLL written by the attacker! This is often a problem with inside jobs, where an employee is trying to get more permissions than he should, or [to] read data or files that he isnt allowed to read. We review other peoples code, and I see a huge amount of these sorts of errors.” Levy writes programs to find and report such weaknesses. “Its better to check that the executable or DLL is what you expected, using signing or CRC,” he suggests.

Security Focus

“Get someone to review your code specifically for security,” reccomends Levy. “Weve got huge QA departments that look for defects, but we dont have similar organizations that look for security vulnerabilities. Companies dont spend money unless they can see the value. When your security audit is done by a third party, you get the benefit of their expertise without the danger of your internal politics.”

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Propriété de TechnologyAdvice. © 2026 TechnologyAdvice. Tous droits réservés

Divulgation publicitaire : Certains des produits qui apparaissent sur ce site proviennent d'entreprises dont TechnologyAdvice reçoit une compensation. Cette compensation peut influencer la façon dont les produits apparaissent sur ce site, notamment l'ordre dans lequel ils apparaissent. TechnologyAdvice n'inclut pas toutes les entreprises ou tous les types de produits disponibles sur le marché.