PDA

View Full Version : Write protect a single value? (WXP-Pro)



sarah_
08-26-2004, 06:14 AM
Hi,

I want to keep a program from storing a value in its registry key. The other values of this key are needed to store necessary program options, so I can't bar write access to the key completely.

With regedit or the RegSetKeySecurity and SetNamedSecurityInfo functions I seem to be able to assign permissions only to the key as a whole, but not to its individual components.

Is there any way to protect a single value?


Thanks!