Securing your wordpress from sql injection and hack attempt
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.

Related Reading:
Using DrupalWith the recipes in this book, you can take full advantage of the vast collection of community-contributed modules that make the Drupal web framewo... Read More >
Drupal For DummiesLearn to set up, manage, and administer a Drupal Web site
Drupal offers unparalleled flexibility for content-managed Web sites, but most ... Read More >
Pro Drupal Development, Second EditionWidely praised for its in–depth coverage of Drupal internals, bestselling Pro Drupal Development has been completely updated for Drupal 6 in thi... Read More >
Front End Drupal: Designing, Theming, Scripting“For Drupal to succeed, we need books like this.”
–Dries Buytaert, Drupal founder and project... Read More >
Cracking Drupal: A Drop in the BucketThe first book to reveal the vulnerabilities and security issues that exist in the sites that have been built with Drupal?and how to prevent them from... Read More >
Search Terms :
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Well, 444′ing my templates directory killed my blog!