Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-17-2004, 06:58 AM   #1
Member (1 million bit!)
 
mrmister1's Avatar
 
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
__________________
Black X-Dreamer Case | Intel Pentium 4 2.66 GHz | Intel D845PESVL | 512 MB PC2700 DDR-SDRAM | WD 120 GB Special Edition | Pioneer 16x DVD-ROM | Mitsumi 3.5-inch 1.44 MB | ATi Radeon 9800 Pro | Creative Labs Sound Blaster Live! 5.1

mrmister1
mrmister1 is offline   Reply With Quote
Old 02-17-2004, 07:12 AM   #2
Member (7 bit)
 
Amanjit's Avatar
 
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.
Amanjit is offline   Reply With Quote
Old 02-17-2004, 07:18 AM   #3
Member (1 million bit!)
 
mrmister1's Avatar
 
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
mrmister1 is offline   Reply With Quote
Old 02-17-2004, 07:27 AM   #4
Member (7 bit)
 
Amanjit's Avatar
 
Join Date: Oct 2003
Location: Tamworth England (UK)
Posts: 102
What kind of hosting are you using? Do you have access to database?
Amanjit is offline   Reply With Quote
Old 02-17-2004, 07:45 AM   #5
Member (7 bit)
 
Amanjit's Avatar
 
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.
Amanjit is offline   Reply With Quote
Old 02-17-2004, 07:48 AM   #6
Member (1 million bit!)
 
mrmister1's Avatar
 
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.
mrmister1 is offline   Reply With Quote
Old 02-17-2004, 12:02 PM   #7
Member (1 million bit!)
 
mrmister1's Avatar
 
Join Date: Feb 2003
Location: NY
Posts: 1,160
So is there a way...
mrmister1 is offline   Reply With Quote
Old 02-24-2004, 04:15 PM   #8
Member (1 million bit!)
 
mrmister1's Avatar
 
Join Date: Feb 2003
Location: NY
Posts: 1,160
Anything...
mrmister1 is offline   Reply With Quote
Old 02-24-2004, 04:33 PM   #9
Lest we forget
 
ghost2003's Avatar
 
Join Date: Jun 2003
Location: Ontario, Canada
Posts: 1,870
http://javascript.internet.com/passwords/
__________________
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
ghost2003 is offline   Reply With Quote
Old 02-24-2004, 05:50 PM   #10
Member (11 bit)
 
james8547's Avatar
 
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
james8547 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:47 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2