When i need to upload a database to a hosting provider with a php based website, the only things i need to care about is :
1) SQL injection, i can skip this using magic_quotes and if magic quotes is not on, i add addslashes. 2)prevent user to upload malicious file to my website by setting a control, Both on which file extension (example just .jpg or jpeg) and which file type (image/jpg ecc).
Now it's just these the 2 main things i need to worry?
And: if i just make the administrator of the website be able to upload image or insert new article in database after he enter a password, i need to prevent that 2 kind of attack? Or that area is safe after i encode my password with md5 on database?
Last: if i encode my password in MD5, when the user enter the password i need to encode it Before sending it with method POST?
EDIT:
For whoever downvote my question, the 2 attack i posted was just an example, so my question was wider, like, what i need to be informed on if i want to prevent attack to my website. Just to have something and go to look for it. In fact MOST tutorial on the net, specially in my native Language are outdated or bad.