HTML web page password thingy!

Permabanned
Joined
17 Jan 2006
Posts
1,971
Location
Haskins
Hi all

I'm looking to upload a folder to my website, but in order to access this folder, i'd like the users to input a password.

It can be simple HTML (i knows its hackable) but thats fine.

Whats the score?
 
Sounds like htaccess is the best option for you, and it's very secure. Have a look at this, it will probably explain it better than me:

Link

edit: check part 3 for password protection

Which host are you with BTW? I know some set them up for you, like fasthosts for exampe.
 
theMAD2 said:
Which host are you with BTW? I know some set them up for you, like fasthosts for exampe.
Yup - quite a few control panels will let you setup password protection through the web interface :)
 
theMAD2 said:
Sounds like htaccess is the best option for you, and it's very secure. Have a look at this, it will probably explain it better than me:

Link

edit: check part 3 for password protection

Which host are you with BTW? I know some set them up for you, like fasthosts for exampe.

TSOHOST tbh!
 
Inquisitor said:
JavaScript password protection makes baby Jesus cry :(

.htaccess is where it's at! Just go into cPanel and look for the "Password Protect Directories" option.


Well it's another option - i myself use .htaccess but the OP may not have a nice host that provides .htaccess.

Which i would assume is the case as they would be using it - unless they have never looked at their control panel
 
Harib0 said:
have a look here: http://www.javascriptkit.com/script/cutindex6.shtml

Maybe something of use for you


One of the best JavaScript password protectors out there. Impossible to crack

The above will password protect any page, the password being the name of the file. For example, say I want to protect mypage.htm. The password would be "mypage". So all you have to do now is rename the page you want to protect to a longer and more complicated file name, and that will be the password that will access that page.

Oh dear :(
 
Harib0 said:
Well it's another option - i myself use .htaccess but the OP may not have a nice host that provides .htaccess.

Which i would assume is the case as they would be using it - unless they have never looked at their control panel
He's with tsohost, so he does have access to cPanel :)
 
robmiller said:

Ok edited it out as the consensus seems to flaming the suggestion, which was in no way saying that it was the definitave way to do it but just an option that may be of some help.

And it's all well and good flaming a post giving an option (maybe not the best, but on a par with the OPs
Oracle said:
It can be simple HTML (i knows its hackable) but thats fine.
) but give some response to the OPs question as well!
 
Inquisitor said:
He's with tsohost, so he does have access to cPanel :)


So either they do allow .htacess but don't have it set up ready, don't allow it at all or they do have it set up but the op has never looked at his control panel
 
Harib0 said:
So either they do allow .htacess but don't have it set up ready, don't allow it at all or they do have it set up but the op has never looked at his control panel
Yup, the latter I would imagine.
 
Harib0 said:
Well it's another option - i myself use .htaccess but the OP may not have a nice host that provides .htaccess.

Which i would assume is the case as they would be using it - unless they have never looked at their control panel
Any host running Apache will let you use .htaccess authentication - if they don't they have something Seriously Wrong and you should RUN away :eek: :)

cPanel definitely has the 'password protect directories' feature, which essentially creates the .htaccess/.htpasswd setup for you through a web interface. Actaully, if your hosting account doesn't let you access that feature then I'd also run away since it's hardly an 'extra' feature which should be charged for :p

I'd imagine Ensim and Plesk (two other common control panels) also have a similar point and clicker for this, too, but couldn't tell you how to do it as it's so long since I used them.
 
Lookie what I found...a little password-protection-with-cPanel tutorial which I had hidden away. I assume I'm allowed to link to it since the brand/parent site is defunct, non-existant & all but kaput :)
 
Beansprout said:
Lookie what I found...a little password-protection-with-cPanel tutorial which I had hidden away. I assume I'm allowed to link to it since the brand/parent site is defunct, non-existant & all but kaput :)


Nice little tutorial there!
 
Back
Top Bottom