Reply
is this tutorial's securty good?
Old 11-15-2007, 08:01 PM is this tutorial's securty good?
Skilled Talker

Posts: 89
im wondering if the security of the script in this tutorial is still good since this article was written 3 years ago
http://www.evolt.org/PHP-Login-Syste...Admin-Features

if not, could someone point me to one that is pretty secure
__________________
Diablo 3 Community
raptrex is offline
Reply With Quote
View Public Profile Visit raptrex's homepage!
 
When You Register, These Ads Go Away!
Old 11-16-2007, 11:40 AM Re: is this tutorial's securty good?
rogem002's Avatar
Webmaster Talker

Posts: 653
Name: Mike
Location: United Kingdom
Most of it is last version PHP/MySQL. But using the comments/code would be nice, but some updating is needed.
__________________
PHP Code:
Add_Talkupation('rogem002'); // Because sharing is awesome! 
Fix 90% of your internet problems
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 11-17-2007, 11:21 AM Re: is this tutorial's securty good?
Junior Talker

Posts: 3
Looks good to me, and i've been making my own php login stuff
I didn't see anything on encrypting the users passwords though, you might like to try MD5 storing them and using the php md5 function to check against them, like
md5($pass) or somethign similar, i think..
__________________
George Pearce
GPearce || GSPX
gspx is offline
Reply With Quote
View Public Profile
 
Old 11-17-2007, 07:17 PM Re: is this tutorial's securty good?
metho's Avatar
Ultra Talker

Posts: 345
Quote:
Originally Posted by gspx View Post
I didn't see anything on encrypting the users passwords though, you might like to try MD5 storing them and using the php md5 function
CREATE TABLE users (
username varchar(30) primary key,
password varchar(32),
userid varchar(32),
userlevel tinyint(1) unsigned not null,
email varchar(50),
timestamp int(11) unsigned not null
);

"password varchar(32)" - 32chars? md5 you think?

"$result = $database->confirmUserPass($subuser, md5($subpass));" - yup.

"if($database->addNewUser($subuser, md5($subpass), $subemail))" - md5 all the way.

It's a very solid user_auth system, as you'd expect from evolt; they dont post a lot of crap.
metho is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to is this tutorial's securty good?
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11805 seconds with 12 queries