可HTML5的sessionStorage被写入到磁盘? [英] Can HTML5 sessionStorage be written to disk?

查看:505
本文介绍了可HTML5的sessionStorage被写入到磁盘?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(以相关有一个安全的浏览器缓存):

做任何HTML5会话存储写的实现磁盘永远不会消失?

Do any of the implementations of HTML5 session storage write to disk ever?

例如。我可以依靠有一个安全/私有缓存,我知道不能坚持超越浏览器会话是否

e.g. can I rely on having a "secure"/"private" cache that I know will not be able to persist beyond the browser session whether it


  • 超时

  • 结束/注销

  • 浏览器关闭计算机/死机/电源键

请参阅

  • HTML5 Browser Application Cache
  • HTML5 sessionStorage

推荐答案

Safari使用SQLite和其他可能将遵循一套与解决方案。至于标准它说:

Safari uses SQLite, and probably other will follow suite with that solution. As for the standard it says:

引用:浏览器上下文的使用期限可以是无关的实际用户代理过程本身的寿命,为用户代理可以支持重新启动后恢复会话

Quote: The lifetime of a browsing context can be unrelated to the lifetime of the actual user agent process itself, as the user agent may support resuming sessions after a restart.

这意味着它可能获得存储在磁盘上,这意味着如果有人真的想窥探他们可以检查被删除的文件,并恢复它,因为你在做恢复软件。

This means that it is likely to get stored on disk, which means if someone really wanted to snoop they could check the deleted file and restore it, as you do when with recovery software.

不过我个人而言,希望他们也支持内存只是暂时的存储,但是这不是在规格,现在,所以它可能会被排除在外。

However I, personally, hope they also support in memory-only temporary storage, but that's not in the specs right now, so it might get left out.

编辑:我说希望在我的最后一句话那里,但希望与我发送到有关这一问题的财团电子邮件一起去,所以我的希望,他们把我的建议考虑。过后,我们在确定标准有发言权,所以请让你的声音被听到,没有人或团队,是完美的,所有这些标准的财团正在积极寻找反馈。

I said "hope" in my last sentence there, but that "hope" goes along with an email I sent to the consortium concerning this issue, so I "hope" they take my suggestion into account. After we all have a say in determining standards, so please make your voice be heard, no one, or team, is perfect and all these standard consortiums are actively looking for feedback.

这篇关于可HTML5的sessionStorage被写入到磁盘?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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