You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
localStorageやsessionStorage、あるいはindexedDBのようなブラウザ上でのデータの保存が可能になったことで、これらを取り扱ううえでもセキュリティ上の注意点が必要である。 これらのストレージは、localStorageやindexedDBは永続的に、sessionStorageはブラウザやタブを閉じるまでの間データが保持され続けるので、例えばWebアプリケーションがログイン機構を持っている場合にログイン中にこれらのストレージに書き込まれたデータは、ログアウト後も当然参照および書き換えが可能である。Webアプリケーション上のアカウントに紐づいたデータをこれらのストレージに書き込んでいる場合、ログアウト後もアクセス可能なことが問題を引き起こす可能性がある。 例えばTwitterのようなサービスがあったとして、(navigator.onLineプロパティなどを利用して
HTML5 の IndexedDB を使用した簡単な TODO リスト 最終更新日時を見る限り、今はフレッシュな情報だと思います。 このページの下部にはコードをコピー&ペーストで取得できる領域があるので取得して試してみると良い。 特に厄介な indexedDBの初期化処理は、html5rocks.indexedDB.open にまとめられていて、この方法は indexedDB 版のJSInst.js (自作インストーラ)でも使ってた手順。 重要なことを書くと、 仕様でも indexedDB.open() で得られるDBrequestオブジェクトのsuccess イベントでしかできない処理がある。 setVersion() がそう。さらに、オブジェクトストアの作成 createObjectStore() は、バージョン文字列の変更処理 db.setVersion() のRequestオブジェ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く