get the permissions for a particular Registry Key in windows

delphi package - easy access to security apis

get the permissions for a particular Registry Key in windows

Postby bpus1 » Wed Jun 07, 2006 12:31 pm

How to get the permissions for a particular Registry Key in windows?
Need to check whether a particular key has permission (full control) for a group of users before installing the software.
Will be great if I can get a code snippnet in C++ or VB..
bpus1
 
Posts: 1
Joined: Wed Jun 07, 2006 12:28 pm

Postby madshi » Wed Jun 07, 2006 12:43 pm

Sorry, madSecurity only supports Delphi. I'd suggest that you simply try accessing the registry key with the specified user account and see whether access works or not.
madshi
Site Admin
 
Posts: 9664
Joined: Sun Mar 21, 2004 5:25 pm

Postby DeTour » Wed Jun 07, 2006 2:08 pm

If I need a very complicated function from an API written for another Language, I always write a short DLL in that Language, which do what I want it to do and exports an DoIT() function for my application.

Thats another good reason why DLLs exist.
DeTour
 
Posts: 4
Joined: Mon Jun 05, 2006 10:12 pm


Return to madSecurity

Who is online

Users browsing this forum: No registered users and 1 guest