A-Soft Technologies
the future at your fingertips
Login Control  
  News ASoft.Net Products Free Software Free Information Support  

return to selection
Splash Screen Control
Motion Button Control
Quick Picture Viewer
Midi Control
Login Control
Link to us
Troubleshooting

Legal disclaimer

This is ActiveX control is property of A-Soft Technologies. You can use it wherever you want as long as you

bulletmake a link to www.A-SoftTech.com - find out how
bulletdon't use this control on a commercial page without prior permission from A-Soft Technologies
bulletuse only the Properties and methods described below

A-Soft Technologies

What this Control does

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.

How to use this Control

Write this Code in your HTML file

<p>
<object ID="Login" WIDTH="32" HEIGHT="32"
CLASSID="CLSID:590669A6-3431-11D2-BEBB-60505AC10000"
CODEBASE="http://www.A-SoftTech/ActiveX/ASoftLogin.CAB#version=1,0,0,7">
  <param name="Password" value="guest">
  <param name="Login" value="guest">
  <param name="PasswordFile" value="Encrypt.dat">
  <param name="PasswordURL" value="http://www.A-SoftTech/Free/Controls/LoginControl/">
</object>
</p>

...and ready is your Login Control

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.