RSS Forums RSS

The Most Secure Way Encrypt and Protect Strings

Thread Solved
Reply
Posts: 125
Reputation: FlashCreations is an unknown quantity at this point 
Solved Threads: 8
FlashCreations's Avatar
FlashCreations FlashCreations is offline Offline
Junior Poster

The Most Secure Way Encrypt and Protect Strings

  #1  
Jan 1st, 2009
Hello,
I am working on a login script for a personal site. The problem is though, I need to have the best and most secure protection there is for the login system I am creating (I will not go into specifics but the users will have access to very sensitive data). The users will each have a password and username. I need a way that is possible with all PHP installations (I am planning on using this script on other hosts for other sites and need something that can be easily installed without the need for any special functions not included in a normal PHP installation) to secure user passwords in the most secure way possible. I have other methods of security, but they are not for password encryption and more for validation of users. Currently now, I am just using md5() to encrypt the passwords. Could someone (that has a great deal of security experience) point me in the right direction for a very secure system. Any links to articles, code samples, or explanations will be greatly appreciated!!!
Thanks So Much Guys (And Girls)
FlashCreations
FlashCreations
(aka PhpMyCoder)

About Me | My Blog | Contact Me
AddThis Social Bookmark Button
Reply With Quote  
Posts: 5,126
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 633
Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: The Most Secure Way Encrypt and Protect Strings

  #2  
Jan 1st, 2009
http://en.wikipedia.org/wiki/MD5
MD5 isn't really that safe anymore.

> I will not go into specifics but the users will have access to very sensitive data
Like banking or medical details?
Many countries have legal requirements for compliance (and such like).

> I need to have the best and most secure protection there is for the login system I am creating
That kind of 'best' comes with high price tags.
It's not something you're likely to be able to lash together yourself with a few bits of help from an online forum.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
UK Voter? Please send a message to Incapability Brown and the rest of Zanu-Labour
Up to 8Mb PlusNet broadband from only £5.99 a month!
Reply With Quote  
Posts: 125
Reputation: FlashCreations is an unknown quantity at this point 
Solved Threads: 8
FlashCreations's Avatar
FlashCreations FlashCreations is offline Offline
Junior Poster

Re: The Most Secure Way Encrypt and Protect Strings

  #3  
Jan 2nd, 2009
Exactly. All I'm looking for is the best that can be done with PHP.
FlashCreations
(aka PhpMyCoder)

About Me | My Blog | Contact Me
Reply With Quote  
Posts: 258
Reputation: kanaku is on a distinguished road 
Solved Threads: 15
kanaku's Avatar
kanaku kanaku is offline Offline
Posting Whiz in Training

Re: The Most Secure Way Encrypt and Protect Strings

  #4  
Jan 2nd, 2009
Use a dynamic and static salt combination?
Article from codeigniter -- but the concept is the same.
If you know ASP, you can save other daniweb members from idiots like me by helping out in this forum.

Visit this thread
if your username starts with one of the following letters: B D F H J L N P R T X Y Z.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Other Threads in the PHP Forum
Views: 350 | Replies: 3 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:13 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC