This is an applet you can use to easily hide parts of your site
for the public. The applet takes a password from the visitor and, if
the password is correct, takes the visitor to the hidden part.
The advantage of using an applet is that it requires no server side
script; it works even if you're not allowed to execute CGI- o ASP-scripts.
As long as the visitor has a java enabled browser (most browsers are).
One more thing: this is completly FREE!
How secure is it? A server side script of course offers better security
but this is meant as an alternative. It is better than a javascript since
this is compiled code, so the visitor can't see your password. Of course
there is a possiblity to decompile it, but it takes time and a hacker
(not that it takes a real hacker to do it) who set his (or her) mind to
get in, usually gets in no matter what type of security is used.
What you should do is download the source code (the .java file), alter it,
which should be easy. Once you have altered the source code you need to
compile it to a java class (the .class file).
There are a lot of compilers avialable, if you don't have one you can
download a free JDK (java development kit) from Sun. http://java.sun.com/
Download the java source code
Try the demo above. The password simply is 'password', and if you enter it
correctly you will be taken to altavista.