View Full Version : Creating Username & Password system
Basils57
11-12-2007, 04:44 AM
Hi Folks
I'm interested in creating a 'restricted' area within my website, and would like to set up a system whereby this is accessed on a username and password basis.
As a novice,I expect that this is heading into uncharted waters for me, but any help, advice or assistance I can get would be most appreciated.
I expect a steep learning curve!
mairving
11-12-2007, 08:31 AM
You can setup a password protect a directory using .htaccess.
If you want to do this and integrate it into your site then I would advise against writing your own. There are plenty of good CMS (Content Management Systems) out there that will give you a password protected admin area. Writing your own is both a waste of time and a security risk.
Basils57
11-12-2007, 05:29 PM
Thanks Mairving, I will investigate that.
etownguy
11-21-2007, 12:15 PM
I believe some hosting providers have the "password protected directories" feature available, you may want to check if yours does.
mairving
11-21-2007, 12:25 PM
I believe some hosting providers have the "password protected directories" feature available, you may want to check if yours does.
That uses .htaccess to control the directory access. Cpanel and other backend admin pieces offer this functionality. There are some problems with it. The main problem is that oftentimes you are limited to a single user and password for the directory or page.
etownguy
11-22-2007, 04:40 PM
Yeah I guess that would be a problem, I haven't really tried multiple users with my host...but not I am curious!
Thanks.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.