Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

Commit b5ed167

Browse files
Small changes to README
1 parent e4f7f75 commit b5ed167

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,11 @@ This is especially useful when you are using this plugin in combination with ser
232232

233233
### 🔐Obfuscate Local Storage
234234

235-
If you need to use **Local Storage** (or you want to) but want to prevent attackers from easily stealing data, you can [obfuscate it]('https://github.com/softvar/secure-ls').
235+
If you need to use **Local Storage** (or you want to) but want to prevent attackers from easily inspecting the stored data, you can [obfuscate it]('https://github.com/softvar/secure-ls').
236236

237+
**Important ⚠️** Obfuscating the Vuex store means to prevent attackers from easily gaining access to the data. This is not a secure way of storing sensitive data (like passwords, personal information, etc.), and always needs to be used in conjunction with some other authentication method of keeping the data (such as Firebase or your own server).
237238

238-
239-
[![Edit vuex-persistedstate with secure-ls (encrypted data)](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/vuex-persistedstate-with-secure-ls-encrypted-data-7l9wb?fontsize=14)
239+
[![Edit vuex-persistedstate with secure-ls (obfuscated data)](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/vuex-persistedstate-with-secure-ls-encrypted-data-7l9wb?fontsize=14)
240240

241241
```js
242242
import { Store } from "vuex";
@@ -260,9 +260,6 @@ const store = new Store({
260260
});
261261
```
262262

263-
#### 🚧 Important
264-
Obfuscating the Vuex store means to prevent attackers from easily gaining access to the data. This is not a secure way of storing sensitive data (like passwords, personal information etc), and needs to be used in conjunction with some other authentication method of keeping the data (such as Firebase or your own server).
265-
266263
### ⚠️ LocalForage ⚠️
267264

268265
As it maybe seems at first sight, it's not possible to pass a [LocalForage](https://github.com/localForage/localForage) instance as `storage` property. This is due the fact that all getters and setters must be synchronous and [LocalForage's methods](https://github.com/localForage/localForage#callbacks-vs-promises) are asynchronous.

0 commit comments

Comments
 (0)