Assigning passwords to folders in win 98 and 2000

--------------------------------------------------------------------------

 

This is a message from Jay

 

 

Right-click on empty space in the folder which you want to protect and

select CUSTOMIZE THIS FOLDER, then choose CREATE HTML DOCUMENT FOR THIS

FOLDER. Once the document is opened in Notepad, scroll down until you see

<script language>="JavaScript"> Insert a blank line after this string.

Then insert the following text.

var pass = prompt("Enter the password")

if(pass != "YOURPASSWORD")

{window.location="C:"}

Hit the Enter key on your keyboard

Put a password in the place of YOURPASSWORD but leave the quotes. Save the

document, exit Notepad,

refresh the folder (or hit F5), enter your new password, and the next time

you try to enter that folder,

you'll be prompted for your password. If you enter a wrong password you'll

end up in C: drive!

This works on Windows 98 and 2000.

Jay

 

 

 

00000000000000000000000000000000000000000000000000000000000000000000000000000

 

 

Please specify the following sections:

Submission Name: Viewing passwordprotected folders

Version:

Supported OS: Win98 & Win 2000

Short description: How cheat javascript-protected folders

Credits to:

Hyperlink:

Category: Tricks

Thanks for your help!

This is a simple way to view the contents of a folder that is protected

by javascript, (see tut. on Passwordprotecting folders). Just

right-click on the folder, choose 'Search...' and fill *.* as search

pattern...hit enter.

 

Hosted by www.Geocities.ws

1