Forum Moderators: phranque

Message Too Old, No Replies

Password protect a page

I need to password protect a page

         

brancook

6:53 pm on Nov 9, 2006 (gmt 0)

10+ Year Member



Not sure if I posted in the right spot or not. I need to add a login for a page on my website. I need it protect with one username and password. Everyone would use the same username and password.

Any info on a script to add would be of great help.

thanks
Brandon

gniewko

7:32 pm on Nov 9, 2006 (gmt 0)

10+ Year Member



<snip>

[edited by: physics at 12:45 am (utc) on Nov. 10, 2006]
[edit reason] Snipped URL. [/edit]

coopster

12:41 am on Nov 10, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, brancook.

If you are using the Apache HTTP server and need nothing more than basic security you might want to review the Apache Authentication, Authorization and Access Control [httpd.apache.org] documents.

brancook

1:27 am on Nov 10, 2006 (gmt 0)

10+ Year Member



Here is a really dumb question. Are Linux and Apache the same thing? I'm not school on the server side.

blankmonkey

1:54 am on Nov 10, 2006 (gmt 0)

10+ Year Member



Linux is an operating system

Apache is an application, that serves up web pages, that runs on linux.

look in to the .htaccess, it can allow premissions to be set. i think google gives some good results.

brancook

4:26 am on Nov 10, 2006 (gmt 0)

10+ Year Member



I didn't see Apache installed anywhere. Is it possible that it wasn't supplied by my hosting service?

coopster

3:20 am on Nov 12, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



If your web pages are being served up then you are indeed running an HTTP server, and more often than not it is going to be Apache. One way to find out is to run a phpinfo [php.net] script.