Browse Source

New chapter: user privacy

master
Julio Biason 5 years ago
parent
commit
1d431256bb
  1. 1
      content/books/things-i-learnt/_index.md
  2. 2
      content/books/things-i-learnt/debuggers/index.md
  3. 2
      content/books/things-i-learnt/integration-tests/index.md
  4. 35
      content/books/things-i-learnt/users/index.md

1
content/books/things-i-learnt/_index.md

@ -19,6 +19,7 @@ template = "section-contentless.html"
* [Learn The Basics of Functional Programming](functional-programming) * [Learn The Basics of Functional Programming](functional-programming)
* [Shortcuts Are Nice, But Only In The Short Run](understand-shortcuts) * [Shortcuts Are Nice, But Only In The Short Run](understand-shortcuts)
* [Debuggers Are Overrated](debuggers) * [Debuggers Are Overrated](debuggers)
* [Think About The Users](users)
* Testing Software * Testing Software
* [Unit Tests Are Good, Integration Tests Are Gooder](integration-tests) * [Unit Tests Are Good, Integration Tests Are Gooder](integration-tests)
* [Testing Every Function Creates Dead Code](tests-dead-code) * [Testing Every Function Creates Dead Code](tests-dead-code)

2
content/books/things-i-learnt/debuggers/index.md

@ -37,4 +37,4 @@ Again, I'm not taking the merits of debuggers, but in the long run, they are
mostly useless and actually point missing surrounding support to actually mostly useless and actually point missing surrounding support to actually
understand what's going on. understand what's going on.
{{ chapters(prev_chapter_link="/books/things-i-learnt/understand-shortcuts", prev_chapter_title="Shortcuts Are Nice, But Only In The Short Run", next_chapter_link="/books/things-i-learnt/integration-tests", next_chapter_title="Unit Tests Are Good, Integration Tests Are Gooder") }} {{ chapters(prev_chapter_link="/books/things-i-learnt/understand-shortcuts", prev_chapter_title="Shortcuts Are Nice, But Only In The Short Run", next_chapter_link="/books/things-i-learnt/users", next_chapter_title="Think About The Users") }}

2
content/books/things-i-learnt/integration-tests/index.md

@ -72,4 +72,4 @@ of moving parts.
[^2]: Again, it's pure feeling from my experience. I have no data to back that [^2]: Again, it's pure feeling from my experience. I have no data to back that
affirmation up, so take it with a grain of salt. affirmation up, so take it with a grain of salt.
{{ chapters(prev_chapter_link="/books/things-i-learnt/debuggers", prev_chapter_title="Debuggers Are Overrated", next_chapter_title="Testing Every Function Creates Dead Code", next_chapter_link="/books/things-i-learnt/tests-dead-code") }} {{ chapters(prev_chapter_link="/books/things-i-learnt/users", prev_chapter_title="Think About The Users", next_chapter_title="Testing Every Function Creates Dead Code", next_chapter_link="/books/things-i-learnt/tests-dead-code") }}

35
content/books/things-i-learnt/users/index.md

@ -0,0 +1,35 @@
+++
title = "Things I Learnt The Hard Way - Think About The Users"
date = 2019-07-17
[taxonomies]
tags = ["en-au", "books", "things i learnt", "privacy"]
+++
Think how the data you're collecting from your users will be used -- this is
more prevalent on these days, where "privacy" is a premium.
<!-- more -->
I once had a discussion with a CTO about collecting the user IMEI on our
mobile app. Basically, there was no use case for capturing that information
yet but, as he put at the time, "We may want to know if one user uses two
phones, or if two users use the same phone". I raised the fact that we didn't
need this information and, besides that, it felt like we were invading the
users privacy. He still decided to go ahead. My answer: "I'll do it, but I
want to point that I'm not happy with it."
In the end, the store blocked the app... because we were capturing the IMEI.
But there are cases and cases. If you really _really_ need to capture user
information, be sure to protect it against unauthorized use, be it by external
forces (someone found a way to attack your data) or internal (some disgruntled
colleague decided to take the data from your users with them).
And be sure, there _will_ be a leak at some point, it's just a matter of time.
If you can, the best way to protect your users data is to never capture it.
When a flaw on your system is found or when some colleague leaves the company
in bad terms, there will be no data to expose to the world, anyway. You can't
be more secure than this.
{{ chapters(prev_chapter_link="/books/things-i-learnt/debuggers", prev_chapter_title="Debuggers Are Overrated", next_chapter_link="/books/things-i-learnt/integration-tests", next_chapter_title="Unit Tests Are Good, Integration Tests Are Gooder") }}
Loading…
Cancel
Save