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
Das Kundenlogin-Script steht für einfache Verwaltung Ihres Kundenstamms inkl. zahlreicher Zusatz-Features! - Versenden Sie personalisierte Rund-M ...
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
Kleines Script  zum raschen und einfachen Erstellen eines serverseitig per .htaccess passwort-geschützten Verzeichnisses.Das Script wird auf den ...
ANG GES G P
Haben Sie es auch lästig wenn jemand Ihre selbstentwickelten Scripte weiterverkauft ohne eine Reseller Lizenz zu haben? Oder Handeln Sie mit Rese ...
ANG GES G P
The Lib2 PHP Library provides user authentication via sessions, statistics collection, forms management, an interface to SQL engines, formatting t ...
ANG GES G P
Mit dem PHP Kundenlogin-Script erhalten Sie alle nötigen Dateien, um einen eigenen Kundenlogin auf Ihrem Webspace zu betreiben. Nutzen Sie die v ...
ANG GES G P
Mit diesem Script können Sie Ihre Webseite oder Bereiche Ihrer Webseite mit Passwort schützen. Mit PHPpass Plus erhalten Sie eine komplette Pass ...
ANG GES G P
The most powerful yet easy to use script to protect your web pages and other web assets (html files, images, downloads, text files, video files, a ...
1163 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