Block PHP Proxy?

rzRDJ

New member
Joined
Jul 11, 2012
Messages
3
Hi,

One of my users has uploaded a PHP Proxy and they can browser the internet with my IP.

Is there a way to block these PHP Proxies?
 
Hi,

One of my users has uploaded a PHP Proxy and they can browser the internet with my IP.

Is there a way to block these PHP Proxies?


Hello,

You might need to deny connections on remote 80,443,etc ports with your firewall for unprivileged users, and allow such connections for superusers and some others.

Disable url_fopen for that user (or as a default and only allow it for specific users/domains)

Some of them (or even the most known to me) uses cURL extension.
 
Wow I would be deleting that user immediately and terminate his service.
 
Disabling functions and blocking access would work, but would probably also block legitimate users. You should just set it as a rule in the terms and conditions and if they do setup a proxy, warn or disable them.
 
In custombuild you can do the following command to help disable dangerous php functions:

Code:
cd /usr/local/directadmin/custombuild
./build secure_php
 
Back
Top