Home  >  Article  >  Backend Development  >  被人模拟POST请求刷短信怎么办

被人模拟POST请求刷短信怎么办

PHPz
PHPzOriginal
2016-06-06 20:43:141328browse

被人模拟POST请求刷短信的解决办法:首先在页面加上【csrf_token】;然后进行访问频率限制,包括同ip限制,同号码限制等。

被人模拟POST请求刷短信怎么办

PHP网站注册的时候发送短信接口被人模拟POST请求刷短信,如何解决?

我知道的有两种:

1、在页面加上csrf_token,php的CI框架都代这种的。

2、访问频率限制,(同ip限制,同号码限制)等等。

更多相关技术文章,请访问PHP中文网

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