RegSetKeySecurity - how to change a registry key to read access only
- From: "Martin Ortiz" <martinortiz@xxxxxxxxxxxxx>
- Date: Thu, 7 Apr 2005 14:50:41 -0700
I know how to use RegSetKeySecurity, to change a registry keys access to
read only but is there a way to change to read only, where only I can change
it back to read/write?
Kinda like a password, you can read, but you can only write if you have
correct "password" (note: I can't encryt the key, which it sounds like what
I'm asking, it's not)
Is there a way to use AllocateAndInitializeSid to do this? It has 8 slots
for sub authorities....is there a way to just authorize access with sub
authorities so that only if you
use same ones again to change access right, can you have write access rights
again...?
.
- Follow-Ups:
- Prev by Date: Re: Titlebar
- Next by Date: Re: ListCtrL blinking
- Previous by thread: How to program a new application that shows office look and feel.
- Next by thread: Re: RegSetKeySecurity - how to change a registry key to read access only
- Index(es):