Search code examples
phpmysqlxamppvirtual-hosts

is xampp a security threat if it is run on a my mom's laptop?


Can xampp configured with virtual hosts cause a security threat if it is run on a computer used as a normal computer and not a server? Example: I want to run xampp with virtual hosts on my mom's mac laptop. She uses it for emails, web-surfing, etc. Would this put her at risk for being hacked or personal information at risk? Thank you in advance!


Solution

  • you can deny all ip address and just add exception to no one can access the webserver i think phpmyadmin used in xampp and appserv have vulnerability and can get shell access to

    .htaccess file for deny ip :

    order deny,allow
    deny from all
    allow from 111.222.333.444
    

    111.222.333.444 => ip allowed

    if you deny port 80 for other ip , it should be safe :D by the way should take care about services you run on your operation system