To ensure a secure and high performance server, there are many security and processing tips that we would like to share. These are what we call 'Best Practices' for users on a shared hosting environment. Of course VPS and Dedicated server owners will also benefit from following these tips.
We hope you find them helpful and informative.
[ol type=\'1\'][li]Passwords
Many sites are compromised due to using insecure passwords. It is important that you use passwords that are more difficult for the script kiddies to hack.
- no shorter than 8 characters
- should be a mix of alpha and numeric characters
- should include upper and lower case alpha characters
- should not spell a word in the dictionary
- change your password on a regular basis
[/li][li]Scripts and Programs
Customers should keep their scripts and programs updated to the most recent secure release from the Vendor. Many of the scripts are compromised because they are using older versions, have set their directories to world-writable (chmod 777) and/or easy admin passwords.
Insecure scripts are easily compromised. vBulletin, PHP Nuke, PHPBB and Formmail are the most common scripts compromised. Also, some scripts are just insecure. PHP Nuke falls into that category in our opinion. Evil doers are able to access the forums and formmail to send out large volumes of email or instigate outgoing DOS attacks, which puts the servers at risk from a performance and a spam block standpoint.
- Scripts installed via cPanel or Fantastico can easily be kept up-to-date through your cPanel.
- Scripts installed via Plesk can be kept updated through your Plesk control panel.
- Ask your webmaster to ensure the 3rd party scripts they install are kept up-to-date.
[/li][li]Use
:fail: instead of
:blackhole:Many customers do not want to receive all the junk email that comes through and set their email to :blackhole:. Blackhole is much more server intensive than :fail:, so if you have any :blackhole: settings in your email settings, we recommend you change these too :fail: and always use :fail: for future use.
[/li][li]Scripts and email settings
When setting up 3rd party PHP scripts that require outgoing email, such as forums, for example, set a valid email address from the domain the script is installed on and make sure "SMTP authentication is required" setting is set to 'yes'. Without these settings, your emails may fail.
[/li][li] Do not chmod Directories to 777
Do
not set your directories to be world-writable (chmod 777). Those directories open the server up for abuse and compromise because anyone can write to those directories, including uploading malicious scripts.[/li][/ol]