...

View Full Version : Simple Login for a website



ajhauser
12-07-2010, 05:01 PM
Hey guys, quick question:

I have a site that needs to prompt the viewer for a login and password when they arrive, and I am looking for the most economical way to do this. There are 300 employees who will be given the information - the point is just to keep the casual passerby "out".

This is not a high security situation, but the pages of the site (probably only 5 to 8 total) need to be unaccessible without the login information.

Can anyone suggest a starting point or method here?
I posted here because this is more of a general question that I figured could be solved using PHP...

Thanks much for your help.

Fumigator
12-07-2010, 05:12 PM
The simplest and easiest way to password protect a webpage is with HTTP Authentication.

http://php.net/manual/en/features.http-auth.php

ajhauser
12-11-2010, 01:55 AM
Ah, very cool - I will check this out right away, thanks. I am setting up the admin with Contribute which is pretty straightforward - if the admin just "pulls" pages down and edits them do you think this will cause any issues?

I'm just wondering.
Thanks again!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum