PHP patch exec_dir

Progamming language PHP allows one to limit executing of external commands via configuration directive safe_mode. This directive should contain full path to a directory conatining programs which PHP script can run. If the script tries to execute a command not located in this directory, the command is not executed. This configuration directive is active only if safe mode is enabled, which means more and sometimes unwanted restrictions to users.

PHP has no known possibility to limit executing of external commands with disabled safe mode. Teherefore, here is a patch adding special directive exec_dir straightly into PHP. This directive is very similar to safe_mode_exec_dir, but safe mode has not to be enabled.

This patch limits executing commands via functions from the exec family, i. e. exec(), system() or popen().

Reviews

There are no comments available yet.

Here you can write a comment


Please enter at least 10 characters.
Loading... Please wait.
* Pflichtangabe
ANG GES G P
PHP Protector - Komplettschutz & Lizenzsystem für Ihre PHP Scripte. Mit diesen Lizenzsverwaltungssystem können Sie ihre Scripte bei ihren Kunden ...
ANG GES G P
GeheimChaos ist eine PHP/MySQL basierende Userverwaltung, die Ihnen ermöglicht, Zugriffe auf Ihre Homepage userspezifisch freizugeben. Folgende M ...
ANG GES G P
Schützen Sie sichere Mitglieder nur Inhalt. Bieten Sie sofortigen Zugriff für Ihre Abonnenten. Automatisieren Sie Paypal & Paypal Kreditkarte Ab ...
ANG GES G P
Mit diesem Script kann in sekundenschnelle ein sicherer Verzeichnisschutz vorgenommen werden. Das betreffende Verzeichnis kann serverseitig per ht ...
ANG GES G P
phpSecurityAdmin is a PHP application that was designed to be implemented in custom Content Management Systems (CMS). It is designed to be easy to ...
ANG GES G P
Most PHP developers who sell their scripts know this: After a short time, your script gets cracked by someone and served for download on warez si ...
ANG GES G P
PHP classes to ease the following operations: generating XML compliant date/time form elements, cleaning user input, validating and formatting d ...
ANG GES G P
The ionCube PHP Encoder is a cost effective PHP encoding solution for code protection and data hiding. Through the convenience of an online portal ...
925 x viewed
0 x memorized
Details to the advertisement
ANG GES G P
Make a request

You are no longer logged in as a user. Please enter your name and your E-mail-adress!

Loading... Please wait.
Details to the seller