Add functions to programatically set the security mask and directory security mask...