Home >CMS Tutorial >PHPCMS >How does PHPCMS ban IP access to the website?
How does PHPCMS ban IP access to the website
If you have been building a website for a long time, you will inevitably encounter malicious users, such as spamming, etc. How to set up phpcms Block IP access to the website.
First log in to the backend of phpcms, go to the backend login interface, enter the administrator username and password, and click to log in.
Find the "Extensions" option on the top menu bar and click on it.
Then click the "IP Ban" option under the "Extensions" column.
In the IP ban area, you can view the IPs that are banned from accessing the website. Click "Add IP ban" on the upper left to add a new IP ban.
Fill in the IP to be banned in the input box to the right of the IP. After it takes effect, users of this IP will not be able to access the website.
You can also set the unblocking time. After the specified unblocking date is reached, the IP user will be able to access the website normally. Select the unblocking date on the small calendar and click on it.
After clicking "OK", the operation will take effect and users under this IP will not be able to access the website.
Recommended tutorial: "PHPCMS Tutorial"
The above is the detailed content of How does PHPCMS ban IP access to the website?. For more information, please follow other related articles on the PHP Chinese website!