Skip to content

Update security.md#2083

Merged
nearestnabors merged 1 commit into
react:masterfrom
Billydubb:patch-1
Jul 29, 2020
Merged

Update security.md#2083
nearestnabors merged 1 commit into
react:masterfrom
Billydubb:patch-1

Conversation

@Billydubb

Copy link
Copy Markdown
Contributor

I feel like the word "memory" in this context is confusing, as most people do understand memory to be non-persistent.

I feel like the word "memory" in this context is confusing, as most people do understand memory to be non-persistent.
@react-native-bot

Copy link
Copy Markdown

Deploy preview for react-native ready!

Built with commit 9d4956c

https://deploy-preview-2083--react-native.netlify.app

Changes to docs/ are reflected in the next "master" version.

Thank you for your contributions.

How to ContributeDocumentation Sources

Comment thread docs/security.md
**For persisted user data, choose the right type of storage based on its sensitivity.** As your app is used, you’ll often find the need to save data on the device, whether to support your app being used offline, cut down on network requests or save your user’s access token between sessions so they wouldn’t have to re-authenticate each time they use the app.

> **Persisted vs unpersisted** — persisted data is written to the device’s memory, which lets the data be read by your app across application launches without having to do another network request to fetch it or asking the user to re-enter it. But this also can make that data more vulnerable to being accessed by attackers. Unpersisted data is never written to memory—so there's no data to access!
> **Persisted vs unpersisted** — persisted data is written to the device’s disk, which lets the data be read by your app across application launches without having to do another network request to fetch it or asking the user to re-enter it. But this also can make that data more vulnerable to being accessed by attackers. Unpersisted data is never written to disk—so there's no data to access!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

written to the disk

@nearestnabors nearestnabors left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sm_thanks

Thank you for correcting this!

@nearestnabors nearestnabors merged commit d30c6c1 into react:master Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants