Hello,
Do you know how can I prevent running binary files from
cgi or shell access or php ...?
like this:
sh: /path/file: Permission denied
Hello,
Do you know how can I prevent running binary files from
cgi or shell access or php ...?
like this:
sh: /path/file: Permission denied
Depends what binary it is. Usually making sure it's ownership is root:root and changing it's permissions to 700 does the job.
Hi,
There is many experts in this forums,
nobody know?
I want to prevent excuting binary files in /home,
then users can't excute any binary file by command from perl or php...
Thank you!
Hello,
You can make a lot of options to do that such as
suphp.conf
php.ini
Also don't forget about
/etc/fstab => noexec,nosuid