From f3e1c59c920a38533290fd5f4ac52cd5252f90bb Mon Sep 17 00:00:00 2001 From: GabeNedden Date: Thu, 14 Oct 2021 10:28:03 -0400 Subject: [PATCH] fix(curriculum): Add Privacy Consideration note (#43779) * Add Privacy Consideration note to Stock Price Checker challenge * remove link to external GDPR site * Improve wording * Update curriculum/challenges/english/09-information-security/information-security-projects/stock-price-checker.md Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com> Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com> --- .../information-security-projects/stock-price-checker.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/curriculum/challenges/english/09-information-security/information-security-projects/stock-price-checker.md b/curriculum/challenges/english/09-information-security/information-security-projects/stock-price-checker.md index 2a0a1ea2fd..860aaa78fc 100644 --- a/curriculum/challenges/english/09-information-security/information-security-projects/stock-price-checker.md +++ b/curriculum/challenges/english/09-information-security/information-security-projects/stock-price-checker.md @@ -27,6 +27,8 @@ When you are done, make sure a working demo of your project is hosted somewhere 3. You will add any security features to `server.js` 4. You will create all of the functional tests in `tests/2_functional-tests.js` +**Note** Privacy Considerations: Due to the requirement that only 1 like per IP should be accepted, you will have to save IP addresses. It is important to remain compliant with data privacy laws such as the General Data Protection Regulation. One option is to get permission to save the user's data, but it is much simpler to anonymize it. For this challenge, remember to anonymize IP addresses before saving them to the database. If you need ideas on how to do this, you may choose to hash the data, truncate it, or set part of the IP address to 0. + Write the following tests in `tests/2_functional-tests.js`: - Viewing one stock: GET request to `/api/stock-prices/`