The most common scenario is where you want everyone except a few visitors to be able to get to your site. Your .htaccess file would start like this:
order allow,deny
allow from all
Then you follow that with lines to specify the addresses that you want to block:
deny from 192.168.128.14
deny from 192.168.128.
deny from somehost.example.com
deny from .example.com
Leaving to p/u gf ... but it is very easy. Use notepad to make the file called .htaccess ( note the . before the name ).
Put the file in the folder that you want to protect.
