![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
![]() |
![]() | | LinkBack (3) | Thread Tools | Display Modes | ![]() |
| |
| ||||
| SSN is social security number and you better not listen to that advice - DO NOT STORE SSN OR TIN (Taxpayer Identification Number) IN YOUR DATABASE. That creates a huge liability if your db is hacked. I'd also include address information, but in a separate table (so that one user could have many addresses [billing, home, work, etc.]) |
| |||
| Sort of a vague question. What's the purpose of the application? That would really determine what you need to store. Think about a forum user compare to an ecommerce site user. You would want to store different information on the two. You should also consider not storing the password as plain text but rather run it through either a md5() or password() function in the SQL query so that it's stored encoded. |
| ||||
| And, if you have access to the right version of PHP, I'd suggest using a non-compromised hash function PHP: sha1 - Manual |
| ||||
| Quote:
I already use the md5() and PASSWORD() functions, there handy ![]() I may end up turning this into a small CMS for myself, i know for that i need more tables with id, title, comment, user id etc.. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.programmerstalk.net/thread711.html | |||
| Posted By | For | Type | Date |
| How show md5 password | This thread | Refback | 06-19-2007 09:45 PM |
| How show md5 password | This thread | Refback | 06-14-2007 10:40 AM |
| How show md5 password | This thread | Refback | 06-14-2007 10:32 AM |