Commiting fix for security directives as per question on stackoverflow.