Hi,
Yup with just one click of the mouse you could give access to your whole WAMPServer environment.... including your WAMPSevrer home page, and you phpMyAdmin so everyone could fiddle with your databases
Now instead of that, you create a Virtual Host for each of your sites, meaning you can give access to One and only One of your sites and NOT anything else.
It still simple:
left click WAMPServer icon -> Apache -> httpd-vhosts.conf
This opens this file in the editor. You then go the the Virtual Host of your choise (one of many possibly) and change the line
Require local
To
Require all granted
Or if you know your clients IP address(s) and you want to be sure only they gain access to your system
Require ip 1.2.3.4
Require ip 1.2.3.5
Require ip 1.2.3.6
Save the file, and then restart Apache.
left click WAMPServer icon -> Apache -> Service Administration `wampapache64` -> Restart Service
I know this is so many more clicks, but for the extra security and Granular Control this gives, I feel it is well worth the extra effort involved.
Of course, dont forget to close access down again after testing is complete
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-
Edited 1 time(s). Last edit at 01/15/2020 12:30PM by RiggsFolly.