• Advertisement

Archived

This topic is now archived and is closed to further replies.

How to Copy Security Informations from Files to Files

This topic is 5778 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to copy Security Information from one File or Directory to another on NT/2000 Systems... but i dont know how to do this, all ive tried was without any effect, (and ive already searched the web, msdn !)... so if someone know how to copy them please tell me... thx for any help T2k

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
How about the GetNamedSecurityInfo and SetNamedSecurityInfo functions.

You can just Get the DACL on the source object and copy it to the destination object.

reg_todd@hotmail.com

Share this post


Link to post
Share on other sites
Dont work, tried them, but ive forgotten to try GetFileSecurity, and this one works :D:D:D

Share this post


Link to post
Share on other sites

  • Advertisement