Restrict XAMPP to localhost

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Restrict XAMPP to localhost

Postby westsurf99 » 13. March 2011 00:13

Hello,

I have seen several posts about XAMPP security and reviewed the security instructions on Apache Friends, but I haven't found a clear way to restrict access to XAMPP to localhost only. I don't want any other computers to have access to XAMPP on my XP system.

Bonus question: is it possible to restrict access to localhost only and use XAMPP on a usb drive with relative paths? If so, how? Thanks for your time!
westsurf99
 
Posts: 7
Joined: 14. February 2010 04:18

Re: Restrict XAMPP to localhost

Postby DC80 » 13. March 2011 15:30

I do not know what system u use but in WIndows 7 it is possible to create a inbound/outbount rule in the firewall. So maybe you can block port 80 (or the port Xampp is running on).

Another suggestion would be to use .htaccess so you can secure your xampp directories.
DC80
 
Posts: 24
Joined: 11. March 2011 13:35
Operating System: Linux Mint 12 (lisa)

Re: Restrict XAMPP to localhost

Postby westsurf99 » 13. March 2011 18:40

Thank you very much for the suggestions! It looks like this will work for securing Apache. Is there a similar solution for securing phpMyAdmin? I like the option to control the security from the configuration files because that will allow me to work on my website from any machine with the usb xampp installation. This will prevent me from having to alter firewall settings on every machine I want to use xampp with.
westsurf99
 
Posts: 7
Joined: 14. February 2010 04:18

Re: Restrict XAMPP to localhost

Postby westsurf99 » 14. March 2011 01:46

Great, thanks again for your help!
westsurf99
 
Posts: 7
Joined: 14. February 2010 04:18


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 35 guests