static void Write(StringBuilder securitySettings)
{
try
{
DoFileEncryption(securitySettings.ToString());
// Deny ACL was causing "Access to the path is denied." errors
// so Barney decided it was OK not to do it.
}
catch(Exception e)
{
throw new InvalidDataException(string.Format("The permissions passed is not a valid list of permissions. Error: {0}", e.Message));
}
}