Programming Theory
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesProgramming Theory

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old February 26th, 2004, 03:39 PM
krin_erasmus krin_erasmus is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Bum Foo, Georgia, USA
Posts: 3 krin_erasmus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to krin_erasmus
User Login Methods and Security

So here I am doing the 'crash course for PHP and MySQL by making a full fledged web application' thing. It's about the easiest way I learn these things. Anyway, I want users to be forced to register and login in order to use the application. I already have a table set up on MySQL with user information and a form to register. My bind is, I've read up on ways to get login information using PHP and was wondering the security/performance risks/benfits from using an HTML form that passes along user name and password to a PHP page that then verifies it against the database. Then it would either display the next page after login, or display an error message and the fields again. On the other hand, I could just simply use HTTP authentication and confirming right there, then redirecting the user to the next page after login.

Both ways are touted as 'better' by the tutorials I've read, though a few seem indifferant, and I'm not experienced enough in online security to know which is better or if they both are about the same sercurity wise.

Just to hit it all in one post, would using a user account on MySQL (say user_validate) that can only log in from the localhost close any possible security holes regarding unauthorized people reading the user information table, or is there another way I should go about it?

Reply With Quote
  #2  
Old February 27th, 2004, 01:35 AM
System System is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Posts: 665 System User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Message Moved

Thread moved from 'PHP Coding' to 'Programming Theory' by CodeKadiya.

Reason: theory...

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesProgramming Theory > User Login Methods and Security


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway