Voting Chart

What does your password/username box look like?

Password Protection

PerfectDarknessD

Born

Posts: 3

3+ Months Ago

does anyone know a password thing that I could use? so far, I'm using one thatdoes a username box (type and hit enter) and a password one. I wan't one that has the username AND password, in the same box! Please help! (It would be much better if I could get it into the BODY of the page, thnx)

Bigwebmaster

Site Admin

Posts: 9105

Loc: Seattle, WA & Phoenix, AZ

3+ Months Ago

Yeah are you referring to something like the graphic depicts here?

http://www.unmelted.com/password-protection.html

PerfectDarknessD

Born

Posts: 3

3+ Months Ago

I had tried to, but I don't feel like paying just for this, otherwise I would of, do you know any others?

Bigwebmaster

Site Admin

Posts: 9105

Loc: Seattle, WA & Phoenix, AZ

3+ Months Ago

Well I am not saying you have to pay for it, I was just wanting to know if that is what you are looking for

What type of server are you on? and is it a free host or pay host?

PerfectDarknessD

Born

Posts: 3

3+ Months Ago

That was excatcly what I wanted. Except their was a free package, that restricted me from doing that, otherwise I would of done it. I have a free host. It came with my SNET SBC DSL thing. Are you trying to hint toward that their is another way to get the script for the password thing?

sdytnews

Born

Posts: 1

3+ Months Ago

I have tryed to get into this site but unable to log in

Bigwebmaster

Site Admin

Posts: 9105

Loc: Seattle, WA & Phoenix, AZ

3+ Months Ago

Yeah to see it on unmelted.com you must have a membership. It will walk you through it step by step there. What you need to do is use a .htaccess file to allow your self to password protect directories. If you are on a free host they will likely NOT allow you to use the .htaccess files to issue directives to apache to change the configuration so that you can password protect your directory.

If you can use .htaccess files then you can password protect any directory by simply placing a .htaccess file in that directory with the right instructions inside.

You can learn all about .htaccess files here directly from the Apache website:

http://httpd.apache.org/docs-2.1/fr/howto/htaccess.html

They even give instructions there on how to set it up to password protect certain parts of your site which would give you the same box that you see when you try to enter the members area on unmelted.com

Bigwebmaster

Site Admin

Posts: 9105

Loc: Seattle, WA & Phoenix, AZ

3+ Months Ago

Also another note, .htaccess files are commonly used because many hosts do not allow you to change the apache conf files on a server. If you can edit your apache conf files then you could password protect directories without the .htaccess file, but you would then need to edit your httpd.conf file.

As it says on the Apache website:

You must have "AllowOverride AuthConfig" in effect for these directives to be honored.

Note that AllowOverride AuthConfig must be in effect for these directives to have any effect

Bigwebmaster

Site Admin

Posts: 9105

Loc: Seattle, WA & Phoenix, AZ

3+ Months Ago

There is also an extremely detailed tutorial on the Apache website which tells you more about authentication then you might want to know. But if you really want to password protect your directories this is a great resource into understanding how to do it:

http://httpd.apache.org/docs-2.1/fr/howto/auth.html

dreamer7

Student

Posts: 94

Loc: UK

3+ Months Ago

lol do u get any discount on unmelted.com for being ninth highest poster on here lol d7

Also the memberships on Unmelted are already pretty cheap! How much cheaper do you want it haha.

musik

Legend

Posts: 6891

Loc: up a tree

3+ Months Ago

I know this thread is a little old but anyhoo this may help someone else, there is a javascript password script: http://javascriptkit.com/script/cut34.shtml

I've used it on sites before and found it to be useful - I wouldnt recommend using it on anything hugely confidential - but I have used it on things like blocking off areas for only a specific customers use where their training manuals etc are.

I dropped out the picture and changed the text of course from the script but it works well.