Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有使用什么办法防止客户端返回虚假数据吗? #7

Open
ouuan opened this issue May 4, 2020 · 6 comments
Open

有使用什么办法防止客户端返回虚假数据吗? #7

ouuan opened this issue May 4, 2020 · 6 comments

Comments

@ouuan
Copy link

ouuan commented May 4, 2020

单纯地问一下,其实大概也不会有人故意传虚假数据..而且我也想不到什么很好的方法来防范。

@simon300000
Copy link
Member

我想到的办法大概是多重验证吧,抽查或者每个请求都由多个客户端验证一下之类的,不过咕咕咕了(

@simon300000
Copy link
Member

还有一个更高级的办法就是不转发http但是直接转发tcp,类似一个代理,直接ssl加密传输,这样的话理论上客户端就不知道传输内容了
不过有点麻烦力

@simon300000
Copy link
Member

到头来什么都没做www

@ouuan
Copy link
Author

ouuan commented May 4, 2020

我想到的办法大概是多重验证吧,抽查或者每个请求都由多个客户端验证一下之类的,不过咕咕咕了(

我也想到了这个,但如果查的少就很容易漏,查的多效率又低。而且在线人数也不多,如果真的想攻击的话这样根本防不住。

@ouuan
Copy link
Author

ouuan commented May 4, 2020

可以在例如涨粉/掉粉速度过快这样的反常情况下进行复查?这样可以避免较为严重的后果。

@simon300000
Copy link
Member

抱歉这几天有点忙,没有回复→_→
由于工作是分散给不同的客户端,所以如果有一个客户端做了假信息,可能在记录里某个数据会突然升高,但是五分钟后下一次相同工作可能没有分配给这个客户端,所以这个假数据就会被修复了

以上假设对特定目标进行数据作假→_→

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants