Just pop it on the form and in the onCheckUser event, do something like this:

   AllowLogin := (Password = 'monkey') and (UserName = 'monkey');
   If Not AllowLogin then Beep; // or berate user in some fashion..

If you turn off the active property, you can call it when you want with 
something like:

   If not RxLoginDialog1.Login then
     Application.Terminate;

Beyond that, I'm not too sure of its capabilities, or even its security - 
I've never used it in an app.
For password encryption, DCPcrypt is free & works great. 
http://www.scramdisk.clara.net/d_crypto.html

Enjoy,
Ed

At 15:05 27/08/2001 +1200, you wrote:
>Edward
>Thanks for that link.  There's some good looking stuff there.
>I have also down-loaded the 3rd party English Help file but it is still not
>apparent to me how to implement this component - do you perhaps have a code
>snippet?
>It seems that you have to do your own password encryption?
>TIA
>
>Mark
>----- Original Message -----
>From: "Edward Aretino" <[EMAIL PROTECTED]>
>To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
>Sent: Monday, August 27, 2001 11:57 AM
>Subject: Re: [DUG]: Login Component
>
>
> > There's one in RXLib (RxLoginDialog) - http://www.RXLib.com or
> > http://www.torry.net/huge.htm
> > For user management on the admin side of things, check out
> > http://www.torry.net/userrights.htm
> >
> > Ed
> >
> > At 11:47 27/08/2001 +1200, you wrote:
> > >Does anyone know of a freeware component that provides simple Password
> > >access to an application?
> > >
> > >TIA
> > >
> > >Mark
> >
> > --------------------------------------------------------------------------
>-
> >     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> >                   Website: http://www.delphi.org.nz
> > To UnSub, send email to: [EMAIL PROTECTED]
> > with body of "unsubscribe delphi"
> > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> >
>
>---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>To UnSub, send email to: [EMAIL PROTECTED]
>with body of "unsubscribe delphi"
>Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to