flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Apolo
How set permissions in a file using SetFileSecurity API?
|
|||
![]() |
|
Apolo
Aaarrggghhh!
![]() ![]() |
|||
![]() |
|
Trinitek
https://msdn.microsoft.com/en-us/library/windows/desktop/aa379577.aspx
SetFileSecurity takes an ASCIZ path to the file you want to modify, a SECURITY_INFORMATION structure, which is actually just a bitfield in a DWORD, and a SECURITY_DESCRIPTOR struct that requires you to use a set of getter and setter methods to acquire and modify as opposed to passing in a struct of your own. |
|||
![]() |
|
Apolo
I need to know how to declare SECURITY_DESCRIPTOR and TOKEN_USER structures in 64 bits
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.