简体   繁体   English

限制 xampp 服务器上的 mysql 访问

[英]restrict mysql access on xampp server

I am installing xampp on a system to be sent to a client with a PHP script that connects to mysql.我正在一个系统上安装 xampp,以通过连接到 mysql 的 PHP 脚本发送到客户端。 But I want to restrict access to mysql and phpmyadmin, so the user can't access it in any way through the command line or browser unless it's their php script.但是我想限制对mysql和phpmyadmin的访问,所以用户不能通过命令行或浏览器以任何方式访问它,除非它是他们的php脚本。 Can I do this using user permissions and a root password that only I know?我可以使用只有我知道的用户权限和 root 密码来执行此操作吗?

Thanks!谢谢!

Basically no normal users will know or wants to enter your database.unless they have your hosting details password etc. or hackers.基本上没有普通用户会知道或想要进入您的数据库。除非他们有您的托管详细信息密码等或黑客。 In coding or terms of hacking anything is possible even if u set max security level.在编码或黑客方面,即使您设置了最大安全级别,任何事情都是可能的。 Its the matter of time required for people to hack into your databases.人们入侵您的数据库所需的时间问题。 don't bother so much just make use of what phpmyadmin have provide us with不要太费心,只要利用 phpmyadmin 为我们提供的

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM