http://www.newstatesman.com/politics/2012/12/problem-privilege-checking