Search Tools Links Login

Complete working Basic Authentication


This code shows your visitors the Basic Authentication dialog (or NT Login Dialog)
It also returns the password and the username
If you like it, please vote for this 16 year old programmer :o)

Original Author: Almar Joling

Inputs

In the dialog the username and password (/and domain)

Assumptions

Paste it and run it. It does not verify any usernames or so.

Returns

The password and username given by the visitors of your site

Side Affects

Protects your site :o))

API Declarations

The Base64 decryption algorithm I used came from http://www.aspcode.net. Showing the dialog is completely by me

Code

Private Sub Text1_Change()
SendKeys "{left}"
End Sub

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 108 times

Categories

ASP/ HTML

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.