OK, Mac newbie since August 2007 here so be gentle. :-) I've just learnt from a website how to turn on PHP and Apache on Mac OS X Leopard, which works great. But I had to turn on Web Sharing from the System Preferences to do it. I then found other machines on the network we use were able to view the Apache default page I have. How do I make the server so it is only viewable on this Mac?
I used XAMPP before on a PC and it was (AFAIK!) only accessible via "localhost". But I see my PHP scripts are also using that address on the Mac, and I'm worried that they won't be secure while I test files locally if other machines can access them too.
The only solution I can think of is to run a check for the IP address every time the files are loaded and limit it to just my machine. But surely that's not necessary? There must be an easier way!