On new server, site got hacked, permissions a bit strange? Please help

You can… Learn about file permission (on wordpress) Install WordPress Firewall plugin (version 2 for 3+ versions) (this dissalow access to any folder or file indirectly) Hide Your WordPress Version Try to update plugins & Wp install Login Lockdown Plugin (this stops any brute force attemts) Verify that your theme doesnt show “publish by $username” … Read more

Security updates to 3.3.2

Since WP 3.1.3 has come out, we’ve released: 3.1.4 – security update 3.2 3.2.1 – security update 3.3 3.3.1 – security update 3.3.2 – security update On a scale of 1-10, skipping a single security update is about a 3 (bad, but not catastrophic). Skipping 4 security updates, though, would be closer to an 8-9 … Read more

Is there any pre-existing plugin to track and block IPs with suspicious activity on my site?

I use http://wordpress.org/extend/plugins/limit-login-attempts/ which blocks IPs when login attempts exceed set limit you set. Limit Login Attempts blocks an Internet address from making further attempts after a specified limit on retries is reached, making a brute-force attack difficult or impossible. If you’re on a host where you can install and run root code, look at … Read more

WordPress custom admin functions security

Read about “Nonces”. Create one and append it to your URL: $url=”example.php?filename=whatever&nonce=” . wp_create_nonce(‘my_sensitive_action’); When your request is fulfilled check for it: // here verify if the nonce was used before if(wp_verify_nonce($_GET[‘nonce’], ‘my_sensitive_action’)){ // it’s ok, it wasn’t used before } Also the validity of these nonces has a time limit, like one day or … Read more

security issue in wordpress?

You can force all visitors to log in before they are allowed to see the pages. This will not work for attachments. But … if that already is a problem for your site – why did you install WordPress in a publicly accessible directory? You should plan visibility first, then run the installation. Consider HTTP … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)