I already have this options turned off in my php config:
disable_functions = system,system_exec,passthru,shell,shell_exec,exec
But I think that is not enough, so I'm working more on PHP security/hardening and investigating found that the followin things can be setted off:
register_globals = off
allow_url_fopen = off
enable_dl = off
expose_php = off
Also I found that the sessions tmp directory can be changed to archive the sess_***** that always appear in the /tmp folder into another more hide folder created by ourselfs, stopping possible bad guys from looking into the /tmp to get sessions from another visitor to get his privileges.
Please, I need suggestions from experienced users about this, should this be a good start ?
What more can be done to improve security in PHP?



LinkBack URL
About LinkBacks
Reply With Quote




