问题描述
我正在研究 redux 应用程序的安全性,我将某些值存储在 redux 存储中,即用户令牌等.并尝试查看其他人是否可以通过 xss 攻击访问它们,例如,我检查了sessionStorage、localStorage、cookies,它不存在,也不在我的 app.js 文件(我的包文件)中,因此是我的问题.
I was looking into how secure a redux application can be, I am storing certain values in redux store i.e. user token etc.. and tried to see if someone else could gain access to them via an xss attack for example, I checked sessionStorage, localStorage, cookies and it is not there, as well as it is not inside my app.js file (my bundle file), hence my question.
推荐答案
来自这部分文档 (http://redux.js.org/docs/FAQ.html#performance-state-memory) 我推断它存储在内存中,所以它不是持久的.
From this part of documentation (http://redux.js.org/docs/FAQ.html#performance-state-memory) I deduce it's stored in memory, so it is not persistent.
这篇关于redux store 保存在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!