Securing your wordpress from sql injection and hack attempt

Posted by admin on June 5, 2008 under Tips |

In general there are many form of hacking attempt in real world but with little practice we can lowering that risk.

Protect your configuration files :

chmod 444

just reminder :

4 = read

2 = write

1 = execute

First 4 for owner

Second 4 for group

third 4 for others (beside owner dan group)

Make sure you chmod 444 to :

  • wp-config.php
  • index.php
  • wp-setting.php
  • Theme directory

How to do this chmod?

1. Using your FTP client ( I use coreftp ) :

Right click on file or folder you want to change mode (chmod).

Click ‘Properties

Delete 644, change it into 444, click OK to apply.

After successfully chmod, you’ll see the attribut into r-r-r (read)

2. Using File manager (cpanel)

Tick folder or file you want change its chmod, then click ‘Change Permissions’

Untick selected mode, number will change automatically. Click ‘Change Permission’ to apply.

At right side on ‘Perms’ you’ll see ‘0444′ on succesfull chmod.

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It! Digg It!
    www.sajithmr.com

Add A Comment