Article View: borland.public.cppbuilder.nativeapi
Article #17009Re: How to set security settings on a Reg Key
From: Remy Lebeau (TeamB)
Date: Mon, 14 Apr 2003 05:37
Date: Mon, 14 Apr 2003 05:37
15 lines
1648 bytes
1648 bytes
"Claire W" <cmw.walker@BeeeeTinternet.com> wrote in message news:3e9a2415$1@newsgroups.borland.com... > Is there a specific benefit to doing it this way as opposed > to using SetSecurityInfo()? As already mentioned - the Registry has its own securty system. In general terms, it is always best to use what is actually exposed for a specific purpose whenever possible. In this case, that would be RegGet/SetKeySecurity(), which do exactly what you're asking for - getting/setting security info for Registry keys. Gambit
Technical Details
Message-ID:
<3e9a48f7@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e9990a7@newsgroups.borland.com> <3e99c6df$3@newsgroups.borland.com> <3e99e7c3@newsgroups.borland.com> <3e99f37a$2@newsgroups.borland.com> <3e9a2415$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,4f35fdfc32f2cf25 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-13 22:41:12 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e9990a7@newsgroups.borland.com> <3e99c6df$3@newsgroups.borland.com> <3e99e7c3@newsgroups.borland.com> <3e99f37a$2@newsgroups.borland.com> <3e9a2415$1@newsgroups.borland.com> Subject: Re: How to set security settings on a Reg Key Date: Sun, 13 Apr 2003 22:37:30 -0700 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3e9a48f7@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1050298615 207.175.226.26 (13 Apr 2003 22:36:55 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail