title: Intercepting Registry changes
body: <p>I know that I can monitor registry changes using <a href="http://msdn.microsoft.com/en-us/library/ms724892.aspx" rel="nofollow">RegNotifyChangeKeyValue</a>. What I am wondering is if its possible to intercept and possibly prevent reading and writing to the registry. I know some virus programs, such as Norton Anti-Virus, will popup a warning, asking if its okay for some program to modify the registry, there for, I can only assume there must be a way to do this.</p>
  
  <p>Preferably, I'd prefer a managed way, using C#, however, if anyone has any idea how to do this, even if its using some WINAPI function, I'll accept that answer too.</p>
  
  <p>Thanks, in advance</p>