File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
articles/authentication-and-authorization Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 11---
2+ ---
23layout: post
34title: Authentication and Authorization
45prev:
@@ -44,6 +45,20 @@ your development time up with unreasonable security constraints. If a user tries
4445in the process destroys their own user account data, that's not a problem. It's only when actions
4546might affect, compromise, or destroy the data of other users that you need to worry.
4647
48+ That said, think twice about who should own which data.
49+ In lots of websites there's data ** about** a user that affects how the
50+ site owners, their servers and their customer service agents will act:
51+
52+ * Email addresses.
53+ * Payment history.
54+ * Premium subscription level and expiration date.
55+ * Confirmed orders' shipping addresses.
56+ * You can probably think of more.
57+
58+ So even though this data is ** about** a user, it shouldn't be considered
59+ ** theirs** in authorization context.
60+
61+
4762### Temporary Revocable Access Credentials
4863
4964Unless you are building an offline-only application designed to store data only in the local browser,
You can’t perform that action at this time.
0 commit comments