Guide to securing XAMPP in windows?

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

Guide to securing XAMPP in windows?

Postby matteusbeus » 13. May 2016 00:36

Hi,
I'm looking for a guide to help secure my dev environment on windows. I gather the security pages have been removed which makes this a tad harder to do!
matteusbeus
 
Posts: 2
Joined: 13. May 2016 00:33
XAMPP version: v3.2.2
Operating System: Windows 10

Re: Guide to securing XAMPP in windows?

Postby Altrea » 13. May 2016 01:43

Hi,

secure up against what?

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8286
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Guide to securing XAMPP in windows?

Postby matteusbeus » 13. May 2016 09:39

I'd like it to be only accessible on the local machine. However from posts I've read else where I gather this isn't 100% possible?
matteusbeus
 
Posts: 2
Joined: 13. May 2016 00:33
XAMPP version: v3.2.2
Operating System: Windows 10

Re: Guide to securing XAMPP in windows?

Postby Altrea » 13. May 2016 14:25

Sure, that is pretty easy.

Open your \xampp\apache\conf\httpd.conf (plain text editor) and search for the line
Code: Select all
Listen 80


Change the line to listen only on the loopback address 127.0.0.1
Code: Select all
Listen 127.0.0.1:80


same thing for the SSL port 443 in \xampp\apache\conf\extra\httpd-ssl.conf

restart Apache.
Now Apache is only requestable from the very own computer, not from LAN, not from WAN.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8286
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 48 guests