Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
346 views

I have written a short demonstration program below. It does the following: It updates the DACL on a service to give a user full access to the service (including WRITE_DAC). Logs on as the user and ...
Eoghan Doyle's user avatar
4 votes
1 answer
344 views

Based on this I use library https://github.com/Tirasa/ADSDDL for manipulating SDDL implementation("net.tirasa:adsddl:1.9") To enable flag user cannot change password I use following code ...
gstackoverflow's user avatar
0 votes
1 answer
131 views

I don't find any information about how are the special case NULL DACL and empty DACL treated in Windows. I understand what they are but don't know how they are treated..
user avatar
0 votes
1 answer
514 views

I am trying to launch a process in a context of a user that I log on using LogonUserExW. In order to do that, I need to modify DACL of Winstation "Winsta0" and Desktop "Default". ...
YellowFrog's user avatar
0 votes
0 answers
234 views

I have a directory structure like this: dir1 -> dir2 -> dir3 -> dir4 dir2 is inside directory dir1, dir3 is inside directory dir2 etc. 'dir1' has its own set of DACL. They are explicit. ...
Suraj's user avatar
  • 184
1 vote
0 answers
58 views

I am using below to add a group name in security tab for a folder through and its getting added. However in python how I can verify if the group is added successfully. dacl.AddAccessAllowedAce(...
goe's user avatar
  • 337
0 votes
0 answers
761 views

I have some code which i have wrote. I need to modify DACL ( security descriptor) in Windows 10 to prevent kill process without Debug Privilege of user. How can i do this one? I learned at the ...
Ilya Petrov's user avatar
0 votes
1 answer
670 views

I have the server that creates the client process and creates the named pipe. The client communicates to the server via the named pipe. To prevent remote users or users on a different terminal ...
iH8WorkingWith.NetGraphics's user avatar
0 votes
1 answer
283 views

I am using a code similar to below to check the access to the folders/files. Source bool CanAccessFolder( LPCTSTR folderName, DWORD genericAccessRights ) { bool bRet = false; DWORD length = 0;...
Recker's user avatar
  • 1,975
0 votes
0 answers
115 views

While implementing a piece code to fetch the ACE's for owner and group, I am using this code as an inspiration. To test this code, I created a file in a folder. In an elevated command prompt, I run ...
Recker's user avatar
  • 1,975
14 votes
2 answers
30k views

While debugging a particularly troublesome error involving SQLite and IIS, we encountered a permissions problem when accessing the App_Data properties The permissions on App_Data are incorrectly ...
sashoalm's user avatar
  • 80.5k
0 votes
0 answers
388 views

I am trying to set permission on an application as read/execute only, I can achieve this by using c++ windows SetSecurityDescriptorDacl() function. But after that admin can change it by right ...
Amit.Desai's user avatar
1 vote
3 answers
3k views

I'm trying to modify Windows access rights to a file in a way that only the owner (not even other Administrators) can access the file. Somewhat the equivalent of unix chmod 700 file. I've played ...
Anachronism's user avatar
0 votes
0 answers
42 views

What is the purpose of the ACE entry SYSTEM, granting FULL CONTROL in a Windows DACL? As far as I've seen it seems to always be there (is it?) but I've not found any explaination for its purpose.
Rafa's user avatar
  • 1,151
5 votes
1 answer
440 views

The AccessCheck function gets a GenericMapping parameter. What is this parameter used for? It is NOT used for the DesiredAccess parameter since MapGenericMask must be applied to DesiredAccess before. ...
dannyM's user avatar
  • 108
1 vote
1 answer
2k views

I can't read a particular file, even though as far as I can tell I have read rights on it. Here is what "Effective Access" shows: Here is what Get-Acl is giving me. PS ...> Get-Acl .\HelloWorld....
kec's user avatar
  • 2,159
0 votes
1 answer
512 views

Is it possible to create a custom Access Token to create Access Control Entries for a Discretionary Access Control List that will allow only certain processes to access a Global Mutex Object if they ...
Frank Palmasani's user avatar
6 votes
0 answers
469 views

I am creating a Security Descriptor for creating a mutex with CreateMutex(). It turns out that you cannot use the default descriptor that comes with the default discretionary access control list (DACL)...
Frank Palmasani's user avatar
1 vote
1 answer
924 views

I'm trying to create a named pipe between two Windows processes. The server process runs under a normal account, in a UI session. The client process runs in an unknown security context, apparently ...
MSalters's user avatar
  • 182k
0 votes
0 answers
867 views

I have to create a folder or modify security attributes if folder already exist. I need to set permissions to folder so that only LocalAccount has full access and other user accounts should not ...
Raj's user avatar
  • 273
1 vote
0 answers
869 views

How can I set in Windows 'read-only' mode for specific logical disk (like F:), which formatted by FAT32? I know about access permissions politic for removable storage in gpedit.msc, but they works for ...
Kirill Bespalov's user avatar
1 vote
0 answers
2k views

My program processes a perticular file , if some condition is satisfied , then it has to block the access (READ n WRITE ) to that file , for all user even for the admin. Later , when another function ...
user2167337's user avatar
6 votes
3 answers
4k views

I need to grant access to everyone for a named pipe I'm creating. I understand the way to do it is to create a NULL/empty DACL and pass it to CreateNamedPipe. How do I create a NULL DACL? I was told ...
sashoalm's user avatar
  • 80.5k
0 votes
1 answer
527 views

I am trying to set two Entries to an object folder of a same group, with difference inheritance, (one NO_INHERITANCE for FILE_TRAVERSE, the other as SUB_CONTAINERS_AND_OBJECTS_INHERIT, for ...
Filippo Forlani's user avatar
1 vote
1 answer
1k views

Context: Windows7 64bit, ActiveDirectory, Windows Server 2003 I'm trying to get the code given by Microsoft on their page GetSecurityDescriptor method of the Win32_Printer Class (Windows) to work. I'...
bugmagnet's user avatar
  • 7,819