Jump to content
MakeWebGames

Recommended Posts

Posted

ok guys i neeed to secure all my file from sql injection and others

anyone can help me i cant really pay atm i want everything secured

as a guy went to my game an manage to find my staff password

and he said he can drop my tables

so i need securing all that ?

any help or anything you can tell me like what code to put in where?

Posted
This is assuming you're using PHP.

Whenever you allow a user to enter any data into the database, wrap the data in mysql_real_escape_string() code.

Only if the data is Text (so a string) ... mysql_real_escape_string() does not magically fix everything ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...