Aug 10, 2006 #1 StewartUK Programmer Feb 19, 2001 860 GB I found on the news2news site the API call GetFileSecurity. There was no reference to using the corresponding API SetFileSecurity. Has anyone ever used SetFileSecurity? Thanks, Stewart
I found on the news2news site the API call GetFileSecurity. There was no reference to using the corresponding API SetFileSecurity. Has anyone ever used SetFileSecurity? Thanks, Stewart
Aug 10, 2006 #2 Mike Gagnon Programmer Apr 6, 2002 8,067 CA According to MSDN the function is obsolete (At the top) They suggest you use SetNamedSecurityInfo instead http://msdn.microsoft.com/library/d...y/en-us/secauthz/security/setfilesecurity.asp http://msdn.microsoft.com/library/d...us/secauthz/security/setnamedsecurityinfo.asp You can find some code sample here (VB) http://support.microsoft.com/kb/295004/ Mike Gagnon If you want to get the best response to a question, please check out FAQ184-2483 first. ReFox XI (www.mcrgsoftware.com) Upvote 0 Downvote
According to MSDN the function is obsolete (At the top) They suggest you use SetNamedSecurityInfo instead http://msdn.microsoft.com/library/d...y/en-us/secauthz/security/setfilesecurity.asp http://msdn.microsoft.com/library/d...us/secauthz/security/setnamedsecurityinfo.asp You can find some code sample here (VB) http://support.microsoft.com/kb/295004/ Mike Gagnon If you want to get the best response to a question, please check out FAQ184-2483 first. ReFox XI (www.mcrgsoftware.com)