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
Haben Sie auch eine Homepage, welche schon mehrere tausend Dateien beinhaltet? Und finden Sie es auch mühsam, diese zu sichern? Oder haben Sie ...
ANG GES G P
PHP Server Monitor ist ein Skript, das prüft, ob Ihre Websites und Server betriebsbereit sind. Es verfügt über eine webbasierte Benutzeroberflà ...
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
Nichts Neues Aber Simpel der Zugang einer Seite durch vorheriges Login oder Registrierung. hierbei handelt es sich um eine Login/Register Prozed ...
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
und mal wieder ein Passwordgenerator zum Beispiel als Service auf eurer HP,wobei man hier ein Password entweder automatisch generieren lassen kan ...
ANG GES G P
This is just a handy little class (with example) that allows a user browse a unix file system when PHP is not in safe mode. This is a script that ...
ANG GES G P
When developing web applications in PHP (or any other languages for that matter) there are several security aspects we should consider. In this ar ...
1485 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