H
Hung Nguyen
Hi all,
I am trying to write a stand alone C# Console program with .NET framework.
The program will create a folder in a existing folder. The existing folder
is set with "Make this folder private" and "Encrypt contents to secure
data". I tried LogonUser, Impersonate, AddPermission to PermissionSet but
none of them work. The error is "Access to ... is denied" eventhough I run
the program in the same account that I used to create the folder. I dont
have any problem to create to any other folders without the private and
encrypt setting. I am using Windows XP, NTFS and the existing folder is
created in user profile directory.
Please help.
TIA
Hung Nguyen
I am trying to write a stand alone C# Console program with .NET framework.
The program will create a folder in a existing folder. The existing folder
is set with "Make this folder private" and "Encrypt contents to secure
data". I tried LogonUser, Impersonate, AddPermission to PermissionSet but
none of them work. The error is "Access to ... is denied" eventhough I run
the program in the same account that I used to create the folder. I dont
have any problem to create to any other folders without the private and
encrypt setting. I am using Windows XP, NTFS and the existing folder is
created in user profile directory.
Please help.
TIA
Hung Nguyen