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
Tip: Passwords (Security, 'Remember Me')
Old 09-28-2008, 12:11 AM Re: Tip: Passwords (Security, 'Remember Me')
DigitaLink's Avatar
Average Talker

Posts: 16
Name: Chris
Trades: 0
Here's a question - would storing the 2nd salt in separate database (with a different user and password from the user data database) from the user data, and just joining the two in a select statement add yet another level of security here?

That way, even if somehow a "bad man" got access to the user data database, he'd still have to figure out a way to get access to a SECOND database to get the 2nd salt needed to crack the hash? (Crack and hash? Holy crap ... hope the DEA isn't reading this stuff! :P )

Of course, then the question becomes what kind of a hit on the server does it become, and how does it scale?

I think what probably needs to be weighed isn't just how secure it CAN be, but how secure does it NEED to be. If your DB holds confidential/personal/credit card data ... NEED is pretty darn high. If it holds your shopping list for next payday, the world won't end if someone gets in and screws with it.
DigitaLink is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-28-2008, 12:23 AM Re: Tip: Passwords (Security, 'Remember Me')
Mattmaul1992's Avatar
Ultra Talker

Posts: 486
Name: Matt
Trades: -1
Great, basic password security post . There's a lot to learn here if you're new to programming. Good job.

Dig - That would add a very small layer of security. But if they can crack it once then they can crack it twice. You're just making the time it takes to get the complete password longer which is a good thing but probably isn't worth the resources/complications. If you want to get any more secure than this you really need to look into server security. It's possible for someone to access your server files and read your source code sending your database info, hash methods, etc. to the hacker. Another good thing to do to get more secure is the use of SSL (Secure Socket Layer). Besides all that you should be as secure as you would ever need to be without being some whitehat hacker security expert for some billion dollar bank.
__________________
PHP Code:
$talkupation++; 

Please login or register to view this content. Registration is FREE
- Free IPB forum hosting (releasing today!!!), no ads, free modifications

Last edited by Mattmaul1992; 09-28-2008 at 12:28 AM..
Mattmaul1992 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Tip: Passwords (Security, 'Remember Me')

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.15880 seconds with 11 queries