get the permissions for a particular Registry Key in windows

delphi package - easy access to security apis
Post Reply
bpus1
Posts: 1
Joined: Wed Jun 07, 2006 12:28 pm

get the permissions for a particular Registry Key in windows

Post by bpus1 »

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..
madshi
Site Admin
Posts: 10527
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

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.
DeTour
Posts: 4
Joined: Mon Jun 05, 2006 10:12 pm

Post by DeTour »

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.
Post Reply