Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

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

Posts: 97
Trades: 0
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
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
raptrex is offline
Reply With Quote
View Public Profile Visit raptrex's homepage!
 
 
Register now for full access!
Old 11-16-2007, 10:40 AM Re: is this tutorial's securty good?
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
Most of it is last version PHP/MySQL. But using the comments/code would be nice, but some updating is needed.
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 11-17-2007, 10:21 AM Re: is this tutorial's securty good?
Junior Talker

Posts: 3
Trades: 0
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

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
gspx is offline
Reply With Quote
View Public Profile
 
Old 11-17-2007, 06:17 PM Re: is this tutorial's securty good?
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
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.
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Reply     « Reply to is this tutorial's securty good?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





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



Page generated in 0.26457 seconds with 12 queries