|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 | |
|
Member (1 million bit!)
Join Date: Feb 2003
Location: NY
Posts: 1,160
|
Password protected login
I was just wondering how to make a password protected login on a website. I want it so that a person must enter their username and password to enter the main part of the website. I already wrote the portion for the form, but I was just wondering where I would add the users without another person just being able to view source and find one there.
Thanks
__________________
![]() |
|
|
|
|
|
|
#2 |
|
Member (7 bit)
Join Date: Oct 2003
Location: Tamworth England (UK)
Posts: 102
|
What coding language are you using? Are you planning to use a database table in MySQL?
Although it isnt the most secure option, it is pretty secure and thats what I use right now, using a table in MySQL with the USername, Password et.c Fields, and this is all processed through a PHP script. |
|
|
|
|
|
#3 |
|
Member (1 million bit!)
Join Date: Feb 2003
Location: NY
Posts: 1,160
|
I was planning on using HTML as I am most familiar with it, but I could use the table if you walked me through it.
Thanks again |
|
|
|
|
|
#4 |
|
Member (7 bit)
Join Date: Oct 2003
Location: Tamworth England (UK)
Posts: 102
|
What kind of hosting are you using? Do you have access to database?
|
|
|
|
|
|
#5 |
|
Member (7 bit)
Join Date: Oct 2003
Location: Tamworth England (UK)
Posts: 102
|
Also, will you need passwords and usernames for many users?? Or will you have just one password that anyone cant enter to get into the embers area? The 2nd is alot easier and can be down with javascript, and a cookie can be encorperated into both options.
|
|
|
|
|
|
#6 |
|
Member (1 million bit!)
Join Date: Feb 2003
Location: NY
Posts: 1,160
|
I am running the website on my own server, using AppServ.
I think one username and password will be fine. |
|
|
|
|
|
#7 |
|
Member (1 million bit!)
Join Date: Feb 2003
Location: NY
Posts: 1,160
|
So is there a way...
|
|
|
|
|
|
#8 |
|
Member (1 million bit!)
Join Date: Feb 2003
Location: NY
Posts: 1,160
|
Anything...
|
|
|
|
|
|
#9 |
|
Lest we forget
Join Date: Jun 2003
Location: Ontario, Canada
Posts: 1,870
|
__________________
redqueen: Antec Sonata, Pentium-D 2.5GHz, MSI G31M3-L, 2GB ram, 320 GB HDD, OpenBSD hal9000: Lenovo T61, 2GB ram, 120 GB HDD, FreeBSD |
|
|
|
|
|
#10 |
|
Member (11 bit)
Join Date: Aug 2003
Location: NJ
Posts: 1,099
|
You can also use .htaccess & .htpasswd if your server allows this.
__________________
P4 2.6C @ 3.12 || ASUS P4C800-E Dlx || Antec SOHO File Server w/ 5 case fans || Antec TruePower 430w PSU || 2 x 512MB Crucial PC3200 DDR || 280GB of total storage 7200rpm ATA100 8mb cache || LiteOn CDRW 52x32x52 || LiteOn DVD+/-RW SOHW-812S || WinXP Pro || Solarism 15" TFT LCD || 500VA TrippLite UPS || Logitech MX-700 Duo || ATI 9800 AIW || Sennheiser HD-555 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|