使用chrome.storage.local.set存储数据的安全性如何 [英] How secure is data stored using chrome.storage.local.set

查看:264
本文介绍了使用chrome.storage.local.set存储数据的安全性如何的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用chrome.storage.local.set将选项数据存储在chrome扩展名中

I'm storing options data in a chrome extension using chrome.storage.local.set

该数据的安全性如何?

有权访问存储在其中的文件的任何人都可以轻松读取它吗?

Can it be read easily by anyone who has access to the file it is stored in?

推荐答案

这是不安全的,并且官方chrome.storage文档未加密地存储在用户的Chrome数据目录下的个人资料文件夹中.如果您要使用这些API存储更敏感的数据,则需要使用一些额外的加密.

It is not secure, and per the official chrome.storage docs is stored unencrypted in the user's profile folder under their Chrome data directory. You will need to use some additional encryption if you are storing more sensitive data using these APIs.

它们存储在 LevelDB 数据库中的以下位置:

They are stored in a LevelDB database in the following location:

C:\Users\<User>\AppData\Local\Google\Chrome\User Data\Default\Local Extension Settings\<Extension id>

这篇关于使用chrome.storage.local.set存储数据的安全性如何的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆