|
Miscellaneous - Password Protect Your Documents
If you have documents that you wish to keep secret from others, then making them 'hidden' in Windows often carries its own set of problems. Why not password-protect them instead? Right click on an empty space in the folder and select "Customize This Folder". Then "Create HTML Document For This Folder". The document will open in Notepad. Scroll down until you get to script language="JavaScript" (in angled brackets). Press Return to add a blank line and in it insert the following:
var pass = prompt("Enter the password") [Return] if(pass !="yourpassword")[Return]{window.location="C:"} [Return].
"yourpassword" above will, of course, be your actual password. The quotes should be left included. Save the document and exit from Notepad. Refresh the folder (F5), enter your new password, and every time you (or anyone else) goes to enter that folder from then on you'll be prompted for the password.
SICS
|