Hi all,
I'm working on the website for our charity and like more people on this forum I am very concerned about security regarding user information in the database and people abusing the site by inserting some weird coding in the URL or forms.
I know I should be checking the form input, probably do some encoding, adding slashes etc so any programming language in there would become useless, but what else can I do?
The site only has 2 public forms using the POST method and is largely based on wordpress.
I'm also very concerned about the manner in which a database connection is made. The only way I know of is by actually putting the username and password in the connection string in a php file, but that seems rather dangerous to me? I put the file in a seperate dir with a CHMOD of 500. The user does have full access as it needs to read and write to the database....
All help on getting the security tip-top is highly appreciated.
I'm working on the website for our charity and like more people on this forum I am very concerned about security regarding user information in the database and people abusing the site by inserting some weird coding in the URL or forms.
I know I should be checking the form input, probably do some encoding, adding slashes etc so any programming language in there would become useless, but what else can I do?
The site only has 2 public forms using the POST method and is largely based on wordpress.
I'm also very concerned about the manner in which a database connection is made. The only way I know of is by actually putting the username and password in the connection string in a php file, but that seems rather dangerous to me? I put the file in a seperate dir with a CHMOD of 500. The user does have full access as it needs to read and write to the database....
All help on getting the security tip-top is highly appreciated.