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>
This commit is contained in:
GabeNedden
2021-10-14 10:28:03 -04:00
committed by GitHub
parent b8b86a65b8
commit f3e1c59c92

View File

@@ -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/`