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