Tech Support banner

Status
Not open for further replies.
1 - 2 of 2 Posts

·
Registered
Joined
·
13 Posts
Discussion Starter #1
I put this:

var pass = prompt("Enter the password")
if(pass != "mypassword")
{window.location="C:\dir name"}

after the Javascript line after creating a folder.htt by using "Customize this Folder"

and this is supposed to give that folder password protection, no?

However, it doesn't work. Am I doing something wrong here?
 

·
hey
Joined
·
10,189 Posts
I'm not too familar with setting something like that up, but have you made sure you are viewing the folders as a webpage?
 
1 - 2 of 2 Posts
Status
Not open for further replies.
Top