Web Analytics Made Easy -
StatCounter How do I properly store and receive data from sql database with security(include code - CodingForum

Announcement

Collapse
No announcement yet.

How do I properly store and receive data from sql database with security(include code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I properly store and receive data from sql database with security(include code

    How do I use security to store and receive data from sql database? I want security but I have heard hashing is terrible and I have not been able to find a tutorial for security other than hash! Please include the code down below!

  • #2
    Use prepare statements to keep the data separate from the SQL.
    Use the password_hash function for hashing any password field.
    Fields other than passwords are just as secure in the database in plain text as they would be if you encrypted them so ther is no reason for using anything other than plain text. If you don't trust the support staff at your hosting provider then move to a different provider.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

    Comment

    Working...
    X