Hi all,
I have installed a web-based software written in php which needs
that i should turn "register_globa ls" from off to on in the php.ini.
There are some comments for register_global s in php.ini saying: "You
should do your best to write your scripts so that they do not require
register_global s to be on; Using form variables as globals can easily
lead to possible security problems, if the code is not very well thought
of."
Since there are other php programs running on the same server, i do
care this comments very much.
Can someone give me some hints what is this *possible* security
problem if i turn the register_global s "on"? And what should i pay
attention when writing my own php program on a "register_globa ls on"
server to avoid some attack?
Thanks in advance!
Lian
I have installed a web-based software written in php which needs
that i should turn "register_globa ls" from off to on in the php.ini.
There are some comments for register_global s in php.ini saying: "You
should do your best to write your scripts so that they do not require
register_global s to be on; Using form variables as globals can easily
lead to possible security problems, if the code is not very well thought
of."
Since there are other php programs running on the same server, i do
care this comments very much.
Can someone give me some hints what is this *possible* security
problem if i turn the register_global s "on"? And what should i pay
attention when writing my own php program on a "register_globa ls on"
server to avoid some attack?
Thanks in advance!
Lian
Comment