V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  sue0917  ›  全部回复第 3 页 / 共 4 页
回复总数  74
1  2  3  4  
GTX960M 是一款低端的显卡???
2021-07-26 18:32:58 +08:00
回复了 callmeliusir 创建的主题 投资 中国平安跌倒 55.2 了 是不是能抄底了
大家都觉得还要跌,看来是时候可以抄底了,炒股就是这样。,
2021-07-08 09:37:03 +08:00
回复了 hidder 创建的主题 Android 三星手机现在去哪找第三方 rom?
极光吧,要不就给钱买 soul,好像 100
2021-06-22 11:48:29 +08:00
回复了 ycy1164656ycy 创建的主题 成都 坐标成都,有没有 cv 老哥可以一起做项目
我以为你要找个 CV 滑水写代码的老哥来着,格局低了啊😄
2021-06-04 10:00:10 +08:00
回复了 kensoz 创建的主题 程序员 上司不允许使用 es6 新特性理由是他看不懂
等你成 Leader,你也会成为你最讨厌的人。。。 如果你考虑不到那些,可能你成不了 Leader
双簧打广告咯
@Blessing1 原来一个用户只可以用一次 100 代金券,。 我来找你续费了
@xz410236056 香港轻量,230 一年
本来想续费的,结果香港轻量 100 代金券才 12.8 一个月,这个 230 一年要 19 一个月,感觉不太值呢
2021-04-29 13:04:00 +08:00
回复了 nightspirit 创建的主题 程序员 jwt 的 token 被获取怎么办
有缘人啊,参考如下

Token Sidejacking¶

Symptom¶
This attack occurs when a token has been intercepted/stolen by an attacker and they use it to gain access to the system using targeted user identity.

How to Prevent¶
A way to prevent it is to add a "user context" in the token. A user context will be composed of the following information:

A random string that will be generated during the authentication phase. It will be sent to the client as an hardened cookie (flags: HttpOnly + Secure + SameSite + cookie prefixes).
A SHA256 hash of the random string will be stored in the token (instead of the raw value) in order to prevent any XSS issues allowing the attacker to read the random string value and setting the expected cookie.
IP addresses should not be used because there are some legitimate situations in which the IP address can change during the same session. For example, when an user accesses an application through their mobile device and the mobile operator changes during the exchange, then the IP address
2021-04-25 09:07:30 +08:00
回复了 rv54ntjwfm3ug8 创建的主题 奇思妙想 想发明一种用声卡挖矿的币
可以像西虹市首富一样,跑步运动挖币😂
当然是微 PE 了,很好用的
http://www.wepe.com.cn/download.html
2021-04-19 20:22:48 +08:00
回复了 10bkill1p 创建的主题 知乎 如何应对孤独感?
要和自己成为朋友
2021-04-15 18:25:48 +08:00
回复了 sue0917 创建的主题 MySQL MSYQL-取两个时间字段中的数据-索引如何建?
@Cy1 查整行数据,回表是必然的,也没有想避免。而且我只查 10 条数据就行。

问题像下面描述的,按照你这种方式建立索引,好像比对次数也有 200 万。。。。感觉不太合适
比如开始结束时间都在今天前的,和开始结束时间都在今天后的,分别有 200 万条数据。
2021-04-15 10:14:29 +08:00
回复了 sue0917 创建的主题 MySQL MSYQL-取两个时间字段中的数据-索引如何建?
@dongtingyue 关键是走不上索引,或者说没有找到合适的索引怎么建。,。
现在就是来问问,索引怎么建才比较好。,。
2021-04-15 10:02:31 +08:00
回复了 sue0917 创建的主题 MySQL MSYQL-取两个时间字段中的数据-索引如何建?
@lxd8023 返回一行全部字段,只拉取 10 条。
但是抱歉我没有理解到你的意思,。
2021-04-14 23:14:29 +08:00
回复了 sue0917 创建的主题 MySQL MSYQL-取两个时间字段中的数据-索引如何建?
@billlee 状态字段定时器是种方式,不过不一定特别及时,万一定时器那一刻压力大了忙不过来,查出的数据就可能有误

另外经常更新的字段做索引,不知道好不好。。想了下也还好,当做删除数据插入新数据了
1  2  3  4  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   975 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 37ms · UTC 20:27 · PVG 04:27 · LAX 13:27 · JFK 16:27
Developed with CodeLauncher
♥ Do have faith in what you're doing.