LoginBox version 1.2

This applet provides a small login window which purpose is to restrict access of a part of your web site. Allowed users need a
login and a password, you can set one URL per login/password. The applet size is 2x2 or something like that because the grey applet zone is no use for this applet. All the logins, passwords and URLs are in the text file 'pass.txt'.
Important note: A bad person could manage to decompile the applet and then try to find the 'pass.txt' file so don't protect too much important things with this applet. A better solution is using CGI scripts.

Name

Description

Default

Status

background_color

the applet background color

usual applet grey

required

frame_background_color the frame background color blue required
frame_width window width (pixels) 250 required
frame_height window height (pixels) 150 required
title window title "Login..." required
login_text the login label text "Login" required
password_text the password label text "Password" required
status_bar_text the text to display in the status bar when the mouse is over - optional
target the target of the new page :
           - "_blank" : show in a new unnamed top-level window
           - "_self" : show in the current frame
           - "_parent" : show in the parent frame
           - "_top" : show in the top-most frame
or a custom frame name
_blank required
registration_code the registration code - required

 

Special notes

* The background color format is hexadecimal format like this : blue is "#0000ff"", red is "#ff0000" ... If you want that the background color is the same as the one of the page, look at the html source file and find the balise : <body bgcolor="#00FFFF"> then copy the value, here it's "#00ffff". Use the "HexColor" applet to convert RGB color to hexadecimal color.

* structure of the text file 'pass.txt' : on each line put in this order and separated by a space: the login, the password and the target url example:
spoon cuillere secret_page.htm
manga manga http://www.yahoo.com
note: you can put relative (to target a file on your site) or
absolute (with "http://...") URL.

 

Copyright 1999-2001 Taiji Software
All Rights Reserved
http://www.taijisoftware.com
support@taijisoftware.com