🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11966

Re: Registry Editing & Security

#11966
From: John
Date: Fri, 09 Jan 2004 03:29
29 lines
2348 bytes
"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote
[...]
> > - and I really need to be able to bypass this security somehow...
>
> Then you most likely have a faulty program design in the first place.
What
> EXACTLY are you trying to accomplish?

I need to read and write information in the registry that will be accessible
by all users of the target system.  This must be accessible by exactly the
same registry path from each user. This must happen at run-time, and the
keys cannot be pre-created at install time (when an admin may be logged-on).
The keys must be accessible regardless of the permissions of the current
user (assume minimum of the default "users group" permission level).

HKEY_CURRENT_USER is just that - relevant for only the current user.  When a
different user logs-on, this branch of the registry is a completely
different set of data.  (That doesnt work for me).  At the same time, I need
to be able to create/edit these keys from a process run by a user with just
"Users Group" permissions.  I need to be able to do this at run-time.
(Install time, where I might "require" an admin to do the installation
doesnt work for me).

What I would really like access to is HKLM so that it is exactly the same
path for all users of the system.  Is there a different root key I am
missing that is accessible by all users, regardless of permissions?

Thank You
John.
Technical Details
Message-ID: <3ffe1fbd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3ffd6729$1@newsgroups.borland.com> <3ffda90d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9e80007e230535d8
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-08 19:40:05 PST
From: "John" <jhgfdjgs@jkbfjh.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ffd6729$1@newsgroups.borland.com> <3ffda90d$1@newsgroups.borland.com>
Subject: Re: Registry Editing & Security
Date: Thu, 8 Jan 2004 19:29:24 -0800
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 24.84.52.90
Message-ID: <3ffe1fbd@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1073618877 24.84.52.90 (8 Jan 2004 19:27:57 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail