Skip to content

Commit ad5352e

Browse files
committed
Auth: Remind that some data _about_ users shouldn't be _theirs_.
1 parent 71ba8ee commit ad5352e

File tree

1 file changed

+15
-0
lines changed
  • articles/authentication-and-authorization

1 file changed

+15
-0
lines changed

articles/authentication-and-authorization/index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
---
23
layout: post
34
title: Authentication and Authorization
45
prev:
@@ -44,6 +45,20 @@ your development time up with unreasonable security constraints. If a user tries
4445
in the process destroys their own user account data, that's not a problem. It's only when actions
4546
might 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

4964
Unless you are building an offline-only application designed to store data only in the local browser,

0 commit comments

Comments
 (0)