pass wording a directory

Status
Not open for further replies.

NeonWarrior

New Member
Messages
137
Reaction score
0
Points
0
ok, takign slothies advice, i used the cpanels directory password protect function and made a test directory called "locked testing directory" with 1 file inside called "protected"

i made a new tets page easy to access which is www.gcckc.co.uk/test.html with a basc html link that says "click"

desired outcome was for me to click the link and be promted for a password to access the "protected" file inside the passworded directory

it didnt work, just viewd the file straight away

do you the admisn need to allow somthing??? php3?
 

thatexplodingtank

New Member
Messages
7
Reaction score
0
Points
0
The password protection isn't done by cPanel, or by x10hosting...

You would have to write the protection into the html (I'd use php for this, though) file itself.
 

Slothie

New Member
Messages
1,429
Reaction score
0
Points
0
Its done by apache, but cPanel gives you a nice way to do this.
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
On top of making the directory password protected, make sure you add a user, otherwise this will cease to function.
 
Status
Not open for further replies.
Top