Here is how to secure a folder with a password giving in the folder with javascript tapped on windows.
how:
1. Open Windows Explorer press the Start button -> All Programs -> My Computer
2. Move your mouse pointer over a folder to view filefile in it.
3. Then press the View button in Windows Explorer, followed by select "Customizethis Folder"
4. Select "EDIT OR CREATE AN HTML DOCUMENT" In the dialog box "Customizethis Folder" radio button in front of the check option "Create or edit an HTMLdocument" make sure elected. yes, click the Next button
5. For Windows responds with a request to enter a password, must insert the scriptbelow. For that, you scroll down to Notepad in writing <script language="JavaScript">.
As for the script to request a password:
var pass = prompt ("Enter Your Code
Access or Get out ")
if (pass! = "Enter Your Password Here")
{window.location = "C:"}
6. Just paste the script below to change the writing <script language="JavaScript">
"Enter Your Password Here" with the password option. After that save the data by choosing File -> Save
Furthermore, please close your Notepad.
7. Back to the menu "Customize this Folder," click Finish
8. To test this, try clicking the folder that has been customized. If successful, will beasked to enter a password to be able to view the files in the folder.
reference neotek
No comments:
Post a Comment