I have a folder that I don't want to be accessible from outside my network's LAN. It seems like all traffic from the outside world goes through my firewall (192.168.1.39). So I made my .htaccess as follows:
Order Allow,Deny Allow from all Deny from 192.168.1.39
My thinking is that it allows all traffic, except for traffic that is redirected by my firewall: ie all external traffic.
Is there anything I'm missing? Any way for a hacker to bypass the firewall to get at the server directly? Any way to use IP spoofing to get around the .htaccess? etc?
EDIT: I can't allow from the local LAN with either a subnet or domain, because the external traffic looks like it is coming from the local LAN. It is being redirected from my firewall, a forigate inside the network.