Register Login  
 
Jan 17

Written by: andy
17.01.2008

mit dem .NET 2.0 wurde neue funktionen zum setzen von ACL's implementiert. Leider ist die Beschreibung der ACL Flags suboptimal. Glücklicherweise hat Damir Dobric in seinem Blog http://developers.de/blogs/damir_dobric/archive/2007/06/18/directory-security-and-access-rules.aspx eine Aufstellung der Kombinationen der ACL Flags erstellt.

Funktion  Flags
Subfolders and Files only:

InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit

PropagationFlags.InheritOnly

This Folder, Subfolders and Files:

InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit

PropagationFlags.None

This Folder, Subfolders and Files:

InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit,

PropagationFlags.NoPropagateInherit

This folder and subfolders:

InheritanceFlags.ContainerInherit

PropagationFlags.None

Subfolders only:

InheritanceFlags.ContainerInherit

PropagationFlags.InheritOnly

This folder and files:

InheritanceFlags.ObjectInherit,

PropagationFlags.None

This folder and files:

InheritanceFlags.ObjectInherit

PropagationFlags.NoPropagateInherit

Tags:

Your name:
Title:
Comment:
Add Comment    Cancel  
 
Blog Date   
  
Andreas Lucas BLOG   
  
Search   
  Print