3
I’m new to php security and would like to know if the items listed below would help to make my site safer.
- SSL(Secure Socket Layer)
- PHP
- Remove all possible information by referencing the server (PHP and apache).
- Use the most current version of PHP whenever possible.
- Handle every mistake.
- Never display any Mysql, PHP, and server errors.
- Prevent session theft and cookie.
- Sanitize every entrance.
Regarding SSL, you have that question that might help you.
– Felipe Avelar
Javascript and json see no difference, 'obfuscation' depends on the process. I think the stable version is more important than the last bugle version. Avoid session theft and cookie is obvious. Sanitize all entry is not required, validate inputs is critical.
– Papa Charlie
Obfuscation does not add security. Use a program like
w3af
to audit your website. It will find more errors than you could visually.– Vinícius Gobbo A. de Oliveira
If it is security against someone spying on data between the client and the server, SSL. If it is security against server hacking, PHP entries will be entered. Obfuscation is "security" to make it a little difficult for someone to copy Javascript code from the page.
– epx
Getting in the way of security won’t...
– Ivan Ferrer