Permissions to copy from one Windows folder to another

I need to create a small C # Windows application that copies security permissions from one folder to another. This also includes copy permissions for groups. What would be the best way to approach such a problem?

Joseph Keset

+5
source share
2 answers

First, exit the DirectoryInfo folder , then pull out the DirectorySecurity instance using the GetAccessControl method . You can then call GetAccessRules and AddAccessRule , which I hope will begin.

+2

, , , AccessChk ( -l ), , AccessChk.

+3

All Articles