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
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
The ionCube PHP Encoder is a cost effective PHP encoding solution for code protection and data hiding. Through the convenience of an online portal ...
ANG GES G P
Use this script in your contact form, for you whois query tool or just there where some extra validation is needed. A session will be created insi ...
ANG GES G P
What is ApPHP WebsiteCleaner? This script is a very simple and fast utility allows you to clean your website from unneeded files and from malwar ...
ANG GES G P
SmE Block is a lite script to your block a ips to access your content , install is very easy simple add include("sme_block.php"); in your php pages
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
Verschlüsseln und schützen Sie Ihre PHP-Scripte einfach und günstig mit dem Online PHP Encoder. Einfach die gewünschten Dateien, die verschlü ...
ANG GES G P
PHP Secure Web is a security model, that could be applied to websites written in PHP scripting language using any kind of a database. We used ADOd ...
573 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