PDA

View Full Version : Server Hardenning + Tuning



pnode
12-07-2007, 11:59 PM
Hi,

My new vps is up and ready with directadmin.
Now i am looking for server tuning and hardenning.

Can anybody recommend me a management company ?

Thank you

Randy
12-08-2007, 06:36 AM
Hi,

My new vps is up and ready with directadmin.
Now i am looking for server tuning and hardenning.

Can anybody recommend me a management company ?

Thank you

I can recommend myself, but there are some things you can do yourself.
First of all is to search this forum. But i'll give some hints:

# Chmod 'telnet', 'wget', etc. to 700 (root only). Users could use CURL to get files.
# Disable 'system(), exec(), shell_exec() en dl()* functions in PHP.
# Enable open_basedir for all shared users. You can use safe_mode but is has many disadvanges.
# Install the suhosing PHP-hardening module.
# set 'allow_url_fopen' off in your php.ini. You don't want users to include external url's.

* default since PHP 5.2.5.

fmortara
12-15-2007, 03:13 AM
Hello!


# Chmod 'telnet', 'wget', etc. to 700 (root only). Users could use CURL to get files
For ect. what are the other command?

walleed222
12-15-2007, 08:31 AM
can you provide more info about PHP-hardening ??

m4ri00sh
12-15-2007, 01:28 PM
... I would send pm to smtalk.... he fixed some stuff for me :) ... You can do it by yourself ... I am doing it ...reading but ... it's time killer... and from what I know by checking the forum...he will do it for you... just respect his time spent on it and his knowledge($$$).