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().

Rezensionen

Es sind noch keine Kommentare vorhanden.

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
ANG GES G P
A platform-idependent, web-based, secure application for storing and retrieving usernames and passwords.
ANG GES G P
phpSecurePages is a PHP module to secure pages with a login name and password. It can handle multiple user groups (each with their own viewing rig ...
ANG GES G P
PHP Form Captcha is a powerful script that can protect your form, comment area, guestbook or shopping cart from automatic submissions, the tool ...
ANG GES G P
Mit diesem System können Sie kinderleicht IP-adresse von Ihrer Internetseite Sperren und ggf. wieder Entsperren. Die Gesperrte IP hat somit ke ...
ANG GES G P
Wieder mal was Neues aber alte Geschichte (-: Eine Userregistrierung und Login . Es ist eine Erweiterung meines LoginPass V.1 . Die Userdaten w ...
ANG GES G P
The MD5 (Message-Digest algorithm 5) is a widely used cryptographic hash. It is often used to save sensitive data like passwords in a database or ...
ANG GES G P
PostgreSQL Session Handler for PHP is a custom session save handler for PHP4 using PostgreSQL as the session cache. It allows multiple Web servers ...
ANG GES G P
Mithilfe von Captcha Image Maker ist es möglich ein Captcha-Bild mit beliebiger Zeichenfolge im Vordergrund und bestimmter Intensität der Zufall ...
1031 x angesehen
0 x gemerkt
Details zur Anzeige
ANG GES G P
Anfrage stellen

Du bist nicht als Benutzer angemeldet. Bitte gebe Deinen Namen und E-Mailadresse an!

Wird geladen... Bitte warte.
Details zur Anbieter