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
Dieses Captcha ist eine grafische Sicherheitsabfrage, für z.B. Gästebücher und Formulare. Es dient dazu, vor Spammern zu schützen. Highlight ...
ANG GES G P
Mantis Captcha v1.0, ist ein Vollanpassbares Captcha Script das von jedem Benutzer/User erkannt und Gelesen werden kann.   Keine Geschnörgelt ...
ANG GES G P
GETmCRYPT liefert alles was nötig ist, um den GET String zu ver- und entschlüsseln. Variablen mit ihrem Wert in die Funktion geben und schon lä ...
ANG GES G P
A long, long time ago, during my early days with Web application development, I was asked to write an administration module for a Web site. This m ...
ANG GES G P
Class to crypt and decrypt data
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
Dieses Skript speichert seine erforderlichen Daten auf dem Server in einer Datei. Dadurch kommt man ohne eine Datenbank aus und muss trotzdem kein ...
ANG GES G P
PHPDOCX ist als freie PHP-Bibliothek, mit der Sie dynamisch Microsoft Office Word-Dokumente erstellen können.
322 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