🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Validating Windows Username and Password

#13102
From: Mike Collins
Date: Mon, 27 Oct 2003 10:21
23 lines
2060 bytes
Hi all, just wondering if anyone had come across this situation before, and
had resolved it.  I have a hardware token-based authentication system
developed for processing logon's to Windows.  The tokens hold an encrypted
block of data that represents the user's Username, Password and Domain.

Now the tokens need to be programmed up so at some point the user needs to
input there details, which the application will then encrypt and write to
the token.  However I need to ensure that the values they enter actually
match there username, password and domain.  I therefore need to validate the
information that they enter.

I don't know if this is possible, it would seem to be a bit of a security
flaw to be able test for valid values during an open session of Windows.
However I have seem this sort of thing within Scheduler.  It prompts you to
enter the Admin username and password, which I assume it validates and then
holds in order to run the particular scheduled task in the context of the
Admin.

Any help would be excellent (code examples would be spot on :-)

Thanks in advance,

Mike Collins
Technical Details
Message-ID: <3f9cec58@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,471b907abce3c1ea,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-27 02:09:23 PST
Reply-To: "Mike Collins" <mikec@kr8.co.uk>
From: "Mike Collins" <mikec@kr8.co.uk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Validating Windows Username and Password
Date: Mon, 27 Oct 2003 10:21:12 -0000
Lines: 25
Organization: kr8
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: 81.2.78.34
Message-ID: <3f9cec58@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067248728 81.2.78.34 (27 Oct 2003 01:58:48 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail