redux商店在哪里保存?

编程入门 行业动态 更新时间:2024-10-09 18:16:08
本文介绍了redux商店在哪里保存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在调查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/docs/FAQ.html#performance-state-memory )我推断它存储在内存中,所以它不是持久性的。

From this part of documentation (redux.js/docs/FAQ.html#performance-state-memory) I deduce it's stored in memory, so it is not persistent.

更多推荐

redux商店在哪里保存?

本文发布于:2023-11-26 07:48:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1633250.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:商店   redux

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!