Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
FiLiUsEvAe
Hangin' Around


Joined: Nov 24, 2005
Posts: 36
Location: Netherlands

PostPosted: Wed Nov 30, 2005 1:18 pm Reply with quote

I'm wondering ... using just the htaccess file if you want to disallow whole countries would a .htaccess file like this work good enough?

Code:
<Files .staccess>

  deny from all
</Files>
<Files config.php>
deny from all
</Files>
order allow,deny
allow from all
deny from .tk
deny from .ru


This does not leave out sentinel by the way ... Sentinel gives way more other options than just disallowing countries but it's quite a deal to stuff all those ranges in if you want to disallow a whole country Neutral
 
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Wed Nov 30, 2005 2:10 pm Reply with quote

no unfortunately not.
sentinel works the same way,starting ip and ending with ip in its full range..
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Wed Nov 30, 2005 2:16 pm Reply with quote

Even if that would work, that assumes that the domain name ends in .XX where XX is the country of origin, which is not often the case. The most accurate and complete way to ban an entire country is to ban the IP ranges of that country. BTW, it really only takes about 5 minutes to manually load those through the NukeSentinel(tm) admin screen.
 
View user's profile Send private message
FiLiUsEvAe
PostPosted: Thu Dec 01, 2005 6:17 am Reply with quote

Yes you are totally right ... I went through it the wrong way at first ... using the IP range listing so it took for ages. Guess I should've read the manual a bit better aye hahahaha.

Thanks you guys Smile
 
hitwalker
PostPosted: Thu Dec 01, 2005 6:25 am Reply with quote

and who said the manual wasnt any good....lol Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©