当前位置:网站首页>秒杀中的验证码安全机制
秒杀中的验证码安全机制
2022-06-11 12:09:00 【log.info(小吕同学)】
我们知道 当用户点击秒杀按钮的时候,会弹出来一个验证码,
验证码输入正确之后才可以 进行下单


立即购买------>>验证码-------->>{输入正确}-------->>下单确认页
我们此时做秒杀的验证码 可能和登录时候的验证码不一样,他这里的验证码 第一就是 要错峰,不能让流量大面积请求过来
启一个分流的作用
第二个作用是为了防盗刷,此时的这个验证码不能设置的太简单, 我们可以加干扰线,设置的太简单的话,可以用ocr 来识别出来,这样可以利用机器来破解
所以我们秒杀这里 的下单逻辑

边栏推荐
- Flip window join, interval join, window cogroup
- Gocron scheduled task management platform
- Objectinputstream read file object objectoutputstream write file object
- 中间人攻击之ettercap嗅探
- . The way to prove the effect of throwing exceptions on performance in. Net core
- 7、CAS
- JMeter learning experience
- Read geo expression matrix
- Flink spark vs. Flink
- saltstack安装与使用
猜你喜欢

flink 控制窗口行为(触发器、移除器、允许延迟、将迟到的数据放入侧输出流)

Wechat web developers, how to learn web development

Acwing50+acwing51 weeks +acwing3493 Maximum sum (open)

Secret derrière le seau splunk

When I saw the sudden death of a 28 year old employee, I wanted to moisten

Yarn switch ResourceManager (failed to connect to server:8032 retries get failed due to exceeded maximum)

9. Talk about ThreadLocal

(推荐)splunk 多少数量search head 才合适

SQLServer连接数据库(中文表)部分数据乱码问题解决

Deep learning and CV tutorial (14) | image segmentation (FCN, segnet, u-net, pspnet, deeplab, refinenet)
随机推荐
Generate statement is not synthesized
Linux忘记MySQL密码后修改密码
The secret behind the Splunk bucket
InputStream read file OutputStream create file
Acwing50+Acwing51周赛+Acwing3493.最大的和(未完结)
纯数据业务的机器打电话进来时回落到了2G/3G
Installation and use of saltstack
8. 18 arhat enhancements for atomic operations
Shut down THP of Splunk health check
Use of RadioButton in QT
flink GROUPING SETS多维度聚合、设置Table state 到期时间
Flick grouping sets multidimensional aggregation and setting table state expiration time
SQLServer连接数据库(中文表)部分数据乱码问题解决
Splunk健康检查orphaned searches
CMD of Jerry's AI protocol_ SET_ BLE_ Visibility [chapter]
【LeetCode】494. Objective and (2 wrong questions)
.net core 抛异常对性能影响的求证之路
flink 数据流图、并行度、算子链、JobGraph与ExecutionGraph、任务和任务槽
Problems encountered recently when using nodejs Pinyin package
带你了解直接插入排序(C语言)