Phoshious
03-24-2003, 09:26 PM
Private Folder
Use this tip if your computer used by more than one person. Probably you need to have a private folder, which cannot be accessed by other person. Now you can create a password-protected folder. To do so, open Explorer, right-click on empty space in a folder that you want to protect, select Customize This Folder, and then choose Create HTML Document for This Folder. Follow the wizard box, and choose to edit the template. Notepad will be opened.
Press ENTER after <script > string to insert a blank line. Now insert the following text:
var pass = prompt("Enter the password")
if(pass != "PASSWORD")
{window.location="C:\My Documents"}
Type your password in the place of PASSWORD but leave the quotes. Change C:\My Documents with complete path and name of your secret folder but leave the quotes. Save the document, exit Notepad, refresh the folder (hit F5), enter your new password, and the next time you try to enter that folder, you will be prompted for your password.
:hellobye :D
Use this tip if your computer used by more than one person. Probably you need to have a private folder, which cannot be accessed by other person. Now you can create a password-protected folder. To do so, open Explorer, right-click on empty space in a folder that you want to protect, select Customize This Folder, and then choose Create HTML Document for This Folder. Follow the wizard box, and choose to edit the template. Notepad will be opened.
Press ENTER after <script > string to insert a blank line. Now insert the following text:
var pass = prompt("Enter the password")
if(pass != "PASSWORD")
{window.location="C:\My Documents"}
Type your password in the place of PASSWORD but leave the quotes. Change C:\My Documents with complete path and name of your secret folder but leave the quotes. Save the document, exit Notepad, refresh the folder (hit F5), enter your new password, and the next time you try to enter that folder, you will be prompted for your password.
:hellobye :D