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
phpCodeSite is a simple debug library for php language It permiss to trace script execution and trace variables values
ANG GES G P
VIP ist eine Anwendung, die auf Ihrem Browser läuft(Vorzugsweise Firefox) und ermöglicht Ihnen den Zugriff, verwalten und gemeinsam alle Ihre we ...
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
Login Manager V3.0 is designed for web administrator to easily manage user accounts, create membership protected areas on the website, and provide ...
ANG GES G P
This article is about stopping bad robots - specifically, spambots. A "spambot" is a program that visits a website, collects as many email address ...
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 ...
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
Hier die neueste Version des Captchas incl. Kontaktformular. Das Captcha dient dazu, vor Spammern zu schützen. Das Captcha lässt sich in nahezu ...
286 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