R
rhenders
Can someone please outline the required steps to allow the ASPNET user to
read selected registry keys? Here is what I've tried so far:
I've created (copied) the DPAPI implementation from MSDN into an assembly
called DataProtection. This works fine as long as the ASPNET process runs as
SYSTEM.
I've created a strong-name for DataProtection.dll and registered it in the
GAC.
I've created a key in HKLM\Software using Regedit(32) and granted the ASPNET
user access to it.
Regardless, I'm getting the following error:
System.Security.SecurityException: Requested registry access is not allowed.
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at ...
Thanks in advance.
read selected registry keys? Here is what I've tried so far:
I've created (copied) the DPAPI implementation from MSDN into an assembly
called DataProtection. This works fine as long as the ASPNET process runs as
SYSTEM.
I've created a strong-name for DataProtection.dll and registered it in the
GAC.
I've created a key in HKLM\Software using Regedit(32) and granted the ASPNET
user access to it.
Regardless, I'm getting the following error:
System.Security.SecurityException: Requested registry access is not allowed.
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at ...
Thanks in advance.