简体   繁体   English

从Unity到数据库的安全连接

[英]Secure Connection from Unity to Database

At the moment Unity connects to my database using the WWW class which then uses PHP to connect to my database. 目前Unity使用WWW类连接到我的数据库,然后使用PHP连接到我的数据库。 All the information from PHP to the database is encrypted, however, the connection between Unity and PHP is not encrypted allowing for a hacker to interrupt. 从PHP到数据库的所有信息都是加密的,但Unity和PHP之间的连接没有加密,允许黑客中断。 Has anyone tried encrypting the connection from Unity to PHP before? 有没有人尝试过加密从Unity到PHP的连接? If so, how would I go about it. 如果是这样,我该怎么做呢。

Thanks! 谢谢!

You need to secure your internet endpoint, best way is using HTTPS. 您需要保护您的Internet端点,最好的方法是使用HTTPS。 Get a certificate for free using let's encrypt . 使用let加密免费获取证书。

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

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