🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Store secrity information

#6022
From: David Cameron
Date: Sun, 19 Jun 2005 20:12
35 lines
2040 bytes
"Binzhong Zhou" <Binzhong.Zhou@csiro.au> wrote in message
news:42a6784d$1@newsgroups.borland.com...
> Hi All,
>
> I would like to store and update some security information such as
license,
> last exec time ... on the system. The application will be running by
> non-administrator users and they might do not have the right to write the
> information to Windows directories and even local machine registry. Is
there
> any good way to store these information without letting users to easily
> probe  the information. These information should not be deleted by
> uninstorelation of the application.
>
> Any suggestions are welcome.
>
> Thanks,
>             Binzhong
>
>

Store the information wherever you can, but encrypt.

Try to store the information in a directory outside your apps installation
directory hierachy and set the files attribute to hidden.

Far from  foolproof but may stop people other than the most determined.

If someone is determined enough to bypass your security, they could always
reformat there hard drive, reinstall the OS and then reinstall your
application :(

HTH,
Dave
Technical Details
Message-ID: <42b5d19b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42a6784d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,732cf97d265d32c3
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "David Cameron" <nomail@to.me>
From: "David Cameron" <nomail@to.me>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42a6784d$1@newsgroups.borland.com>
Subject: Re: Store secrity information
Date: Sun, 19 Jun 2005 21:12:14 +0100
Lines: 40
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: 82.38.28.202
Message-ID: <42b5d19b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119211931 82.38.28.202 (19 Jun 2005 13:12:11 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail