Re: ASP & the Registry

From: Chris Jackson (chrisjATmvpsDOTorgNOSPAM)
Date: 01/28/04


Date: Wed, 28 Jan 2004 12:18:50 -0500

Yes. The Win32 API call RegSetKeySecurity will do this for you. It is
documented here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/regsetkeysecurity.asp

If you are using .NET, you can use the System.Security.RegistryPermission
class to make this a bit easier to work with.

-- 
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
-- 
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
-- 
"Oleg Leikin" <anonymous@discussions.microsoft.com> wrote in message 
news:78BCF1CA-E8EA-4521-B1EF-D5662380F06E@microsoft.com...
> Thanks a lot Chris
>
> Another question: can it be done programmatically and if yes then how ? 


Relevant Pages

  • Re: How to lock access to raw SQL tables
    ... Chris Jackson ... Microsoft MVP - Windows Client ... By end-user I mean the customer of our product. ... > the customer, who has administrator rights on their server, to have access ...
    (microsoft.public.dotnet.security)
  • Re: pop ups
    ... The google toolbar provides this functionality, and it's my personal choice. ... There are a number of other third party products out there as well. ... Chris Jackson ... Microsoft MVP - Windows Client ...
    (microsoft.public.security)
  • Re: Duplicate Files Displayed in Windows Explorer
    ... Take a look at the file paths. ... Chris Jackson ... Microsoft MVP - Windows Client ... "Mark" wrote in message ...
    (microsoft.public.windowsxp.basics)
  • Re: desktop customization
    ... Ever since they started showing Longhorn previews, ... more sidebar apps out there. ... Chris Jackson ... Microsoft MVP - Windows Client ...
    (microsoft.public.windowsxp.customize)