🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Saving and Retrieving passwords

#7670
From: Remy Lebeau (TeamB)
Date: Thu, 06 Jan 2005 18:17
28 lines
1932 bytes
"Martin Howell" <martin@mchconsultancy.co.uk> wrote in message
news:41dd4924@newsgroups.borland.com...
> I want to be able to store this password somewhere where
> no-one can get at it except my program

There is no such thing.  All someone needs is an API monitor, a Registry
monitor, and/or a File monitor, and they can keep track of just about
everywhere you can think of storing your data, and then do retreive it
manually afterwards.

Rather than trying to hide the data and prevent people from accessing the
data in the first place, you should just encrypt it so that the data they do
retreive is not usable to them.

> Is there an API function somewhere that does this sort of thing,
> maybe using the Windows password file

No.  Besides, even the password file is not safe.  There are programs
available that can view its contents.

> or do I have to encrypt it somehow and squirrel
> it away in the registry somewhere myself?

Yes.


Gambit
Technical Details
Message-ID: <41dd8046$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41dd4924@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ec235fa5de8d0b5f
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41dd4924@newsgroups.borland.com>
Subject: Re: Saving and Retrieving passwords
Date: Thu, 6 Jan 2005 10:17:09 -0800
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <41dd8046$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105035334 68.69.17.41 (6 Jan 2005 10:15:34 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail