<#
.Synopsis
   Change the permissions of a directory and it's children
.DESCRIPTION
   Change the permissions of a directory and it's children
.EXAMPLE
   permissions.ps1 - installationFolder "c:\MyApp"
.EXAMPLE
   permissions.ps1 - installationFolder "c:\MyApp" -excludeFolders "SubDir1,SubDir2"
.INPUTS
   -installationFolder myFolder : The folder to change the permissions
   -excludeFolders : The subdirectorys we don't want to change the permissions. The subdirectorys are separated by commas
   -datasFolder: If specified, FullControl is granted
.OUTPUTS
.NOTES
.COMPONENT
.ROLE
.FUNCTIONALITY
#>

param (
    [Parameter(Mandatory=$true)][string]$installationFolder,
    [Parameter(Mandatory=$false)][string[]]$excludeFolders=@(),
    [switch]$datasFolder=$false
)
 
#S-1-5-32-544 => BUILTIN\Administrators
#S-1-5-18 => AUTORITE NT\Systeme
#S-1-5-32-545 => BUILTIN\Users
#S-1-3-0 => OWNER CREATOR
$permissions = ("S-1-5-32-544", "S-1-5-18", "S-1-5-32-545", "S-1-3-0")
$permissionLevelsBinaries = ("FullControl", "FullControl", "ReadAndExecute", "FullControl")
$permissionLevelsDatas = ("FullControl", "FullControl", "FullControl", "FullControl")

function GetAccountName{
    param ([string]$SID)

    $account = New-Object Security.Principal.SecurityIdentifier($SID)
    $user = $account.Translate([System.Security.Principal.NTAccount])
    return $user.Value
}


$installationFolder = $installationFolder.TrimEnd("\")
$excludeFolders = $excludeFolders.Split(",")

if ($datasFolder -eq $true) {
    $permissionLevels = $permissionLevelsDatas
} else {
    $permissionLevels = $permissionLevelsBinaries
}



# Set permissions for the installation folder
for ($i = 0; $i -lt $permissions.Count; $i++) {
    $permission = GetAccountName($permissions[$i])
    $permissionLevel = $permissionLevels[$i]

    Write-Host "Set permissions for " $permission

    $acl = Get-Acl -Path $installationFolder
    $rule = New-Object System.Security.AccessControl.FileSystemAccessRule($permission, $permissionLevel, "ContainerInherit,ObjectInherit", "None", "Allow")
    $acl.SetAccessRuleProtection($true, $false)
    $acl.SetAccessRule($rule)
    Set-Acl -Path $installationFolder -AclObject $acl
}
 
# Apply the same permissions to all files and subdirectories within the installation folder
Get-ChildItem -Path $installationFolder -Recurse | Where-Object {$_.Directory -notlike "$installationFolder\\$excludeFolders*"} | ForEach-Object {
    $ignore = $false;
    foreach($excludeFolder in $excludeFolders) {
        if ($_.Directory -like "$installationFolder\$excludeFolder*") {
            $ignore = $true
        }
    }
    
    if ($ignore -eq $true) {
        Write-Host $_.FullName " exluded"
    } else {
        Write-Host "Remove and inherite permissions for " $_.FullName
    
        $acl = Get-Acl -Path $_.FullName
        foreach ($rule in $acl.Access) {
            $r = $acl.RemoveAccessRule($rule)
        }
        foreach ($rule in $acl.DefaultObjectAccess) {
            $r = $acl.RemoveAccessRule($rule)
        }
        $acl.SetAccessRuleProtection($false, $true)
        $acl | Set-Acl -Path $_.FullName
    }
}

# SIG # Begin signature block
# MIIviAYJKoZIhvcNAQcCoIIveTCCL3UCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBZPlxqdW1x4AoS
# ZhUTLh42ZYbUh3i96YsKFsSRm2e4paCCFDQwggWQMIIDeKADAgECAhAFmxtXno4h
# MuI5B72nd3VcMA0GCSqGSIb3DQEBDAUAMGIxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xITAfBgNV
# BAMTGERpZ2lDZXJ0IFRydXN0ZWQgUm9vdCBHNDAeFw0xMzA4MDExMjAwMDBaFw0z
# ODAxMTUxMjAwMDBaMGIxCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJ
# bmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xITAfBgNVBAMTGERpZ2lDZXJ0
# IFRydXN0ZWQgUm9vdCBHNDCCAiIwDQYJK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