使用chrome.storage.local.set存储数据的安全性如何

时间:2016-12-08 12:13:11

标签: google-chrome-extension

我使用chrome.storage.local.set在Chrome扩展程序中存储选项数据

该数据有多安全?

任何有权访问存储文件的人都可以轻松阅读吗?

1 个答案:

答案 0 :(得分:3)

它不安全,per the official chrome.storage docs未加密存储在Chrome数据目录下的用户个人资料文件夹中。如果使用这些API存储更多敏感数据,则需要使用一些额外的加密。

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

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