Article View: borland.public.cppbuilder.nativeapi
Article #7669Saving and Retrieving passwords
From: Martin Howell
Date: Thu, 06 Jan 2005 14:20
Date: Thu, 06 Jan 2005 14:20
8 lines
1289 bytes
1289 bytes
I have an application where I want to get the user to enter a password (Which will be used to access a web page). I want to be able to store this password somewhere where no-one can get at it except my program, so I can use it again without the user re-entering it. Is there an API function somewhere that does this sort of thing, maybe using the Windows password file, or do I have to encrypt it somehow and squirrel it away in the registry somewhere myself?
Technical Details
Message-ID:
<41dd4924@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ec235fa5de8d0b5f,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Martin Howell" <martin@mchconsultancy.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Saving and Retrieving passwords Date: Thu, 6 Jan 2005 14:20:19 -0000 Lines: 10 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 81.179.230.198 Message-ID: <41dd4924@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1105021220 81.179.230.198 (6 Jan 2005 06:20:20 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail