flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Windows > File Permissions

Author
Thread Post new topic Reply to topic
Apolo



Joined: 18 Mar 2017
Posts: 23

File Permissions

How set permissions in a file using SetFileSecurity API?
Post 23 Mar 2017, 15:16
View user's profile Send private message Reply with quote
Apolo



Joined: 18 Mar 2017
Posts: 23

hell

Aaarrggghhh! Mad Evil or Very Mad
Post 24 Mar 2017, 07:09
View user's profile Send private message Reply with quote
Trinitek



Joined: 06 Nov 2011
Posts: 257

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.
Post 24 Mar 2017, 07:31
View user's profile Send private message Reply with quote
Apolo



Joined: 18 Mar 2017
Posts: 23

SECURITY_DESCRIPTOR and TOKEN_USER structures

I need to know how to declare SECURITY_DESCRIPTOR and TOKEN_USER structures in 64 bits
Post 24 Mar 2017, 09:19
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2017, Tomasz Grysztar.