Your HostICan Community  


Go Back   Your HostICan Community > SEO (Search Engine Optimization) & Marketing > Blogging

Blogging From hobbyists to The New York Times, blogging is the way to go to express your thoughts online. This forum is designed to discuss the entire subject, including picking the best software, creating themes, getting hits and, most important of all, posting your commentaries. Hard programming issues, though, should be discussed in our PHP / MySQL Assistance forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-19-2007, 05:28 PM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 2,012
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default WordPress Protection

[Advanced Users Only]

The below code is a update for your .htaccess file - it can help against attacks using wordpress against wordpress.

Just add the few lines into your .htaccess file:

Code:
SetEnvIfNoCase User-Agent "^WordPress" bad_bot 

 
Order Allow,Deny 
Allow from all 
Deny from env=bad_bot 
Please note that the above code works on seeing the browser. If you have Wordpress signature in your browser (a referring agent) then it will be shown as a 403.
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #2  
Old 12-19-2007, 05:31 PM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 2,012
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default

Quote:
Originally Posted by lnxcode View Post
[Advanced Users Only]

The below code is a update for your .htaccess file - it can help against attacks using wordpress against wordpress.

Just add the few lines into your .htaccess file:

Code:
SetEnvIfNoCase User-Agent "^WordPress" bad_bot 

 
Order Allow,Deny 
Allow from all 
Deny from env=bad_bot 
Please note that the above code works on seeing the browser. If you have Wordpress signature in your browser (a referring agent) then it will be shown as a 403.
One such attack today:


212.24.63.241 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=640 HTTP/1.1" 403 2931 "-" "WordPress/2.1.2"
212.24.48.138 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=703 HTTP/1.1" 403 2931 "-" "WordPress/1.9"
212.24.62.166 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=1102 HTTP/1.1" 403 2931 "-" "WordPress 1.9"
62.213.115.1 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=530 HTTP/1.1" 403 2931 "-" "WordPress/2.1.2"
212.24.32.233 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=1384 HTTP/1.1" 403 2931 "-" "WordPress/1.9"
62.213.115.1 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=530 HTTP/1.1" 403 2931 "-" "WordPress/2.1.2"
62.213.71.245 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=119 HTTP/1.1" 403 2931 "-" "WordPress 1.9"
62.213.117.194 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=4190 HTTP/1.1" 403 2931 "-" "WordPress/1.9"
62.213.113.233 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=2837 HTTP/1.1" 403 2931 "-" "WordPress/1.9"
62.213.71.246 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=639 HTTP/1.1" 403 2931 "-" "WordPress 2.1.2"
212.24.48.72 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=3352 HTTP/1.1" 403 2931 "-" "WordPress/2.1.2"
212.24.48.142 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=199 HTTP/1.1" 403 2931 "-" "WordPress/2.0"
217.23.133.25 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=3246 HTTP/1.1" 403 2931 "-" "WordPress/2.0"
62.213.115.2 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=3533 HTTP/1.1" 403 2931 "-" "WordPress/2.0"
62.213.71.247 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=1427 HTTP/1.1" 403 2931 "-" "WordPress 2.1.2"
62.213.115.2 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=3533 HTTP/1.1" 403 2931 "-" "WordPress/2.0"
62.213.116.116 - - [19/Dec/2007:17:14:21 -0500] "POST /wp-trackback.php?p=3484 HTTP/1.1" 403 2931 "-" "WordPress/2.0"
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #3  
Old 12-19-2007, 05:50 PM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 2,012
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default

Yet another update: Does WordPress scrape sites? | ExpressionEngine Community Forums
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #4  
Old 12-20-2007, 06:08 AM
Scott's Avatar
Scott Scott is offline
Senior Member
 
Join Date: Sep 2007
Location: hostican-coupon.com
Posts: 1,145
Default

Hmmm thanks for the tip.
__________________
HostICan Discount - New customer? Save $50 on your HostICan hosting purchase!
HostICan Hosting Reviews - See what other customers say about HostICan.
Simple Hosting - Web Hosting Made Simple!
Reply With Quote
Reply

Tags
protection, wordpress

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Increase WordPress Performance by Caching lnxcode Blogging 4 06-04-2009 02:06 AM
Wordpress 2.6.1 Beta !! james Blogging 3 08-17-2008 06:48 PM
WordPress 2.3.3 Security Update Shazam Blogging 7 02-08-2008 04:53 AM
Can Wordpress be a Perfect CMS ? james Blogging 5 01-16-2008 09:56 PM
Need Someone to Help You with Wordpress Site and Theme Setup? I'm FREE Scott Blogging 25 11-01-2007 05:59 PM


All times are GMT -4. The time now is 03:21 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Copyright © 2003 - 2008 HostICan. All Rights Reserved.