MySQL's Down right run
Create a new user like MySQL tutorial
NET user MySQL Microsoft/add
net localgroup users Mysql/del
Does not belong to any group
If MySQL is installed in D:mysql, then, give MySQL Full control of the permissions
Then in the system service settings, MySQL service properties, in the login attribute, select this user MySQL and then enter the password, OK.
Restart the MySQL service, and MySQL runs under low privileges.
2, if it is in the WinDOS platform to build Apache we also need to note that the Apache default run is System permissions,
It was scary, and it made people feel uncomfortable. Then let's give Apache a drop in privileges.
NET user Apache Microsoft/add
net localgroup users Apache/del
OK. We have established a user apche that does not belong to any group.
We open the Computer Manager, select the service, point Apache Service Properties, we select Log on, choose this account, we fill in the above established accounts and passwords,
Restart the Apache service, Ok,apache running under low privileges.
In fact, we can also set the permissions of each folder so that Apache users can only do what we want it to do, and create a single user who can read and write to each directory.
This is also the current popular configuration of many virtual host providers Oh, but this method is used to prevent this is a little bit overqualified