Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Set the method that the public network cannot access phpmyadmin

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the method of setting up an external network that cannot access phpmyadmin. It has certain reference value. Friends who need it can refer to it. I hope you all have a lot to gain after reading this article. Let's take a look at it together.

Many times in our new installation of PHP integration environment always with phpMyAdmin this database management software, if we do not carefully set the database password, or directly use its database default password, then others can easily access to your database, modify your data, this is very insecure.

Below we take a look at the ban on external network access phpMyAdmin this software method, involving the modification of the configuration file, is a very practical skill, friends need to refer to the following:

First, find phpmyadmin.conf in the phpmyadmin folder. You can see the following configuration in the file (copy code is as follows):

Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1

Find Deny from all means to prohibit all access, but allow access from 127.0.0.1, then we delete Allow from 127.0.0.1, and modify Deny from all to Allow from all, meaning to allow access from all addresses, save the modified configuration file, restart the server and you can use the domain name for access.

Forbidden

You don't have permission to access /phpMyAdmin/index.php on this server.

In this case, open httpd.conf of apache and add the following code:

Options FollowSymLinks AllowOverride None Order deny,allow Deny from all

Amend to read:

Options FollowSymLinks AllowOverride None Order deny,allow Deny from None Thank you for reading this article carefully, I hope Xiaobian share the method content of setting up the external network can not access phpmyadmin is helpful to everyone, but also hope that everyone supports more, pay attention to the industry information channel, find problems, detailed solutions waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report