Setting file/folder permission
-
Is there a API to set security attributes of file/folder(s) while creating them. thanks in advance
-
Is there a API to set security attributes of file/folder(s) while creating them. thanks in advance
Member 3068970 wrote:
Is there a API to set security attributes of file/folder(s) while creating them.
Try
SetFileAttributes()
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
-
Member 3068970 wrote:
Is there a API to set security attributes of file/folder(s) while creating them.
Try
SetFileAttributes()
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
Can i make a file/folder password protected as Microsoft Word do.
-
Is there a API to set security attributes of file/folder(s) while creating them. thanks in advance
Member 3068970 wrote:
Is there a API to set security attributes of file/folder(s)
[SetFileSecurity ^] replaced by [SetNamedSecurityInfo^].
Member 3068970 wrote:
while creating them.
HANDLE CreateFile( LPCTSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile );
-
Member 3068970 wrote:
Is there a API to set security attributes of file/folder(s)
[SetFileSecurity ^] replaced by [SetNamedSecurityInfo^].
Member 3068970 wrote:
while creating them.
HANDLE CreateFile( LPCTSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile );
any example for its usage ... ? :)
-
any example for its usage ... ? :)
Two links and a function were provided. How much more do you need? :rolleyes:
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Two links and a function were provided. How much more do you need? :rolleyes:
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
For future. ;)