The A-Soft Login ActiveX Control gives you the possibility to use a login with or
without password on your webpage WITHOUT using ANY server-side programs or scripts like
CGI's or ActiveX Servers. To use the control you first have to generate a File which
contains all Login and other data. Therefore you use the Login generation tool found
below. You have to specify the login, the password and the additional data (e.g. the
webpage or file you want to navigate after successful login), then you press the encrypt
button to generate the c:\Encrypt.dat. If the file already exists the data is appended and
you could make a multiple-logins file. This file you upload to your webpage and put an
A-Soft Login Control on your page which has the PasswordFile property set to the name of
the uploaded file. You then have to set the PasswordURL to your site's address. You may
also specify a standard Password or login (like guest/guest). On your page you call the
Display method. After the user used a correct Login/Password combination the corresponding
Data will be set in the AdditionalInformation property and the CorrectPassword event will
be fired. You then could browse to the page or data to which the AdditionalInformation
points or use the Data in any other way you need. You, of course, may specify different
AdditionalData for different logins (different access rights).
Attention: Under some circumstances this control is NOT as secure as a server side
script or program.
If you want to use the control on your page, you either have to download the ASoftLogin.CAB file and replace
CODEBASE with the URL to your downloaded file or have to replace it with the complete URL
of this CAB (http://www.A-SoftTech/ActiveX/ASoftLogin.CAB) as shown here.
Login generation tool:
Programming Information:
Name of property/event:
Type
Description:
Login (property)
String
Sets or gets the Login text.
Password (property)
String
Sets or gets the Password.
AdditionalInformation (property)
String
Data provided after successful login.
RequirePassword (property)
Boolean
If false, disables the Password input box; Standard: True.
PasswordFile (property)
String
The file containing the encrypted password data.
PasswordURL (property)
String
The URL to PasswordFile. If Omitted, the PasswordFile is searched on the local HDD.
Display (method)
-
Displays the Login Box.
CorrectPassword
-
Fired after the input of a correct Login/Password combination. Sets the
AdditionalInformation property.
Here is a example of A-Soft Login:
Try using a Login/Password combination like guest/guest or files/specialguest or
Tom/mysite. Attention: Capital letters have to be written in caps.