Home>Article>CMS Tutorial> How does PHPCMS ban IP access to the website?

How does PHPCMS ban IP access to the website?

hzc
hzc Original
2020-06-05 16:43:32 2884browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn