PassWord 3.x applet

The use of this applet is at own risk !!

To download enter :
-User anonymous
-Key/phrase One beer please
Note: this applet is case sensitive

This applet reads a file from the server.
This file contains the user names and the corresponding url.
The structure of the file is:
username url htmltarget
username2 url2 htmltarget2
Note that the html target is optional.
This file on the server is encrypted.
The Key/phrase entered by the user is used to decrypt it.
You can encrypt the file with the applet at below.
Use the Windows clipboard to copy and paste it.
The windows clipboard works the following way.
1 Select the text with your mouse (or keyboard).
2 type ctrl^c to copy the text to your clipboard.
Note ctrl^c are two buttons pressed symontainiosly
3 Open wordPad.
4 Paste the text to wordPad with ctrl^v.
5 Save the file as link.txt
Be sure to write down the used key/phrase.

Other features:
-Remembers user and key/phrase by setting a cookie.
Note: Works with Netscape and Explorer 5+
-Auto enter is possible.
Thats done with applet parameter "auto_enter" .

-Expiration time of cookie can be set.
That is done with applet parameter "cookie_time" .
The units are days
-Color settings:
<PARAM NAME="bgcolor" VALUE="#0096B0">
<PARAM NAME="label_color" VALUE="#00C0C0">
<PARAM NAME="button_color" VALUE="#00C0C0">
<PARAM NAME="text_color" VALUE="#000000">
<PARAM NAME="textfield_color" VALUE="#FFFFFF">
-display debug info.
This tag is used to diplay additional info on the browsers Java console.
<PARAM NAME="debug" VALUE="false">
-Multi language support
<PARAM NAME="user" VALUE="  User: ">
<PARAM NAME="key/phrase" VALUE="  Key/phrase: ">
These tags allow you to change the words used.
Applet parameter names are case sensitive
-Echo character
<PARAM NAME="echo_character" VALUE="*">
Used to hide the characters typed for the Key/phrase

This applet may be used for free on non-commercial private home pages provided that you make a link back to
Commercial users should pay a fee of US $25.--
On-line payment:
Other payment info can be found at
Distribution of this applet is allowed in unchanged form.
Reverse engineering isn't allowed.
This applet is written by RJHM van den Bergh ( former (

Bugs known:
1: Ms Explorer 4.0 can't set or read cookies.
It can read cookies with the applet parameter "cookie&qout; .
For that to work you need to write all applet tags with Java script.
document.write("<APPLET CODE=\"Passwrd3.class\" HEIGHT=\"120\" WIDTH=\"400\" MAYSCRIPT>");
document.write("<PARAM NAME=\"cookie\" VALUE=\"" + document.cookie + "\">");
document.write("<PARAM NAME=\"sound\" VALUE=\"\">");
document.write("<PARAM NAME=\"auto_enter\" VALUE=\"false\">");
document.write("<PARAM NAME=\"cookie_time\" VALUE=\"365\">"); document.write("</APPLET>");
The cookie name is password3
Its value looks like 30+Apr+2000+12%3a04%3a34+GMT%26anonymous%26One+beer+please
The cookie value is url encoded
Its a date followed by the user name and Key/phrase
The format of the date is Wdy, DD-Mon-YYYY HH:MM:SS GMT .
2: The protection given by this applet isn't full proof.
This applet is ment for people that don't have access to any other means.
If the url is known then the applet can easily be bypassed.
Its also wise to put this tag into the page you want to protect.
It prevents the page from being indexed by some search engines.

Report bugs:
If you want to report a bug please use the bug form.

- Option manualy set cookie path
<PARAM NAME="path" VALUE=".....">
With this parameter you can manualy set a path for the cookie.
- Option manualy set the cookie domain
<PARAM NAME="domain" VALUE=".....">
With this one you can set the domain manualy
- the use of the the cab file
Also added is a file.
This file is prefered above the class file by Ms Explorer.
But if missing Ms Explorer can also use the class file
Cab files do have a better compression as class files so they load faster
Also this cabfile contains the sound file
-registration tag
There is a tag to remove the unregistered message at the browsers status bar.
It states that is free only for private non-commercial homepages
This is to prevent the unpayed commercial use of the applet.
Here is an example
<PARAM NAME="reg" VALUE="ABCD1234|567890">
-Change username to filename
<PARAM NAME="file_mode" VALUE="true">
file_mode by default equals false
If file_mode is set true then the username is a filename.
The applet doesn't look for the default link.txt file anymore
The link.txt file is the file containing all the links
Instead it looks for a file with a name equal to the user name.
This file is loaded and decrypted by the applet.
The syntax is the same as the link.txt file
username url target
Note that username here of course equals the filename.
The advantage is that each user has its own file.
With this tag not all links are placed in the same link.txt file

© RJHM van den Bergh , All Rights Reserved ,