views:

717

answers:

2

how to remove NTFS security from a folder ?

A: 

To remove or set permissions on a folder, right click on a folder and select properties. Once the window opens, click on the Security tab and add/remove users and permissions. If you still find you are having problems with a folder, it might be ownership. To set yourself as the owner, click "Advanced" from the properties tab and select Owner from the popup window. Change yourself to the owner and hit OK, the only time I seem to have to do this is when I want to delete a temporary folder from a windows update that is created in the root of my c:\ by default. Good Luck.

Zachary
A: 

In a .net application you can use the FileSecurity class to manipulate the sacls/dacls.

chendral