I always have had other people doing these things for me, but wouldn't it be possible to create a .htaccess file in each directory that needs restrictions along the lines of
order deny,allow
deny from all
allow from example.com
allow from 192.168.0.1
allow from 192.168.1.
Allowing access from domain example.com, the specific address 192.168.0.1 and the network prefix 192.168.1.0