LWN.net Logo

blacklist vs whitelist

blacklist vs whitelist

Posted Dec 9, 2009 3:56 UTC (Wed) by pjm (subscriber, #2080)
In reply to: On the importance of return codes by khc
Parent article: On the importance of return codes

That would be a blacklist approach. The whole point of cesarb's comment is that one would usually prefer a whitelist approach: create a new environment containing just PATH (with a known safe value), HOME, and a couple of others.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds