SecurityPermission (Accessing remote registry key)

From: Terry Olsen (tolsen64_at_hotmail.com)
Date: 03/31/04


Date: Tue, 30 Mar 2004 18:44:42 -0700

I need to read a registry key from a remote computer. Using "regedt32" I
can connect and look at keys just fine. However, when I try to do it with
my app, I get the following error:

The application attempted to perform an operation not allowed by the
security policy.

The operation required the SecurityException. To grant this application the
required

permission please contact your system administrator, or use the Microsoft
.NET security

policy administration tool.

How can I fix this?

Thanks!



Relevant Pages

  • [NT] TOCTOU with NT System Service Hooking
    ... Get your security news from a reliable source. ... restriction to registry, files, processes, etc. ... So attacker calls system service with object name for which access ... specified registry key by usual means. ...
    (Securiteam)
  • Re: Disabling Windows Firewall Warning
    ... > there a registry key I can change? ... I've got a hardware firewall (built into ... Security Center Notifies Me" link in the left pane. ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.windowsxp.security_admin)
  • Re: registry key
    ... I found out the registry key was disabled when I ran spybot. ... you try to enable the registry key or when you try to open Security Center? ... >> See if d/loading and running this fix (provided courtesy of Kelly ... there is no requirement that MVPs have a web site or participate in newsgroups. ...
    (microsoft.public.windowsxp.general)
  • Re: How to identify missing libraries in Excel (Office-XP) using VBA
    ... (2nd tab on the macro security dialog). ... the checkbox in the dialog is greyed and the registry key has moved to ... > The error message is: ...
    (microsoft.public.excel.programming)
  • RE: microsoft roll out macro security
    ... hkey_local_machine security registry key for office 2003. ... I assumed that the save my settings wizard would ...
    (microsoft.public.office.misc)