On 3 Sep 2005 17:54:54 -0700, "Lee" <craftystud-idol@yahoo.com> wrote:
>This might sound like a dumb question, but I don't know much about
>security.
>
>I installed Apache on my Windows XP computer in order to test my PHP
>web files locally before uploading to the web server. I'm worried about
>my computer being more vulnerable to attack now that I am running a web
>server. Is there a way to configure Apache so that I can only use it to
>display webpages locally on my machine, but disallow remote users from
>accessing the webserver?
>
>Thank you.
1. USE A FIREWALL, filtering port 80 / port 443.
I recommend ZoneAlarm
2. modify or add a .htpasswd file to the document root directory
Order deny,allow
Deny from all
Allow from dev.example.com, 127.0.0.1
http://httpd.apache.org/docs/2.0/howto/auth.html
--
Terry
My blog:
http://www.TheNextWindow.com
My website:
http://www.TerryStockdale.com
My tip site and newsletter:
http://www.TerrysComputerTips.com