From 1be980f5e9de43a3e51b755482619b727e72f52c Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Tue, 11 Apr 2023 16:30:40 +0100 Subject: [PATCH] Update content for launch --- DOCUMENTATION.md | 34 ++++++---------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index a1101d8..2f1e278 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -219,15 +219,13 @@ To send a file by email, add a placeholder to the template then upload a file. T The links are unique and unguessable. GOV.UK Notify cannot access or decrypt your file. -Your file will be available to download for a default period of 78 weeks (18 months). From 12 April 2023 we will reduce this to 26 weeks (6 months) for all new files. Files sent before 12 April will not be affected. +Your file will be available to download for a default period of 26 weeks (6 months). To help protect your files you can also: * ask recipients to confirm their email address before downloading * choose the length of time that a file is available to download -To turn these features on or off, you will need version 6.4.0 of the Python client library or a more recent version. - #### Add contact details to the file download page 1. [Sign in to GOV.UK Notify](https://www.notifications.service.gov.uk/sign-in). @@ -281,35 +279,13 @@ with open('file.csv', 'rb') as f: #### Ask recipients to confirm their email address before they can download the file -This new security feature is optional. You should use it if you send files that are sensitive - for example, because they contain personal information about your users. - When a recipient clicks the link in the email you’ve sent them, they have to enter their email address. Only someone who knows the recipient’s email address can download the file. -From 12 April 2023, we will turn this feature on by default for every file you send. Files sent before 12 April will not be affected. - -##### Turn on email address check - -To use this feature before 12 April 2023 you will need version 6.4.0 of the Python client library, or a more recent version. - -To make the recipient confirm their email address before downloading the file, set the `confirm_email_before_download` flag to `True`. - -You will not need to do this after 12 April. - -```python -from notifications_python_client import prepare_upload - -with open('file.pdf', 'rb') as f: - ... - personalisation={ - 'first_name': 'Amala', - 'application_date': '2018-01-01', - 'link_to_file': prepare_upload(f, confirm_email_before_download=True), - } -``` +This security feature is turned on by default. ##### Turn off email address check (not recommended) -If you do not want to use this feature after 12 April 2023, you can turn it off on a file-by-file basis. +If you do not want to use this feature, you can turn it off on a file-by-file basis. To do this you will need version 6.4.0 of the Python client library, or a more recent version. @@ -342,7 +318,9 @@ You can choose any value between 1 week and 78 weeks. To use this feature will need version 6.4.0 of the Python client library, or a more recent version. -If you do not choose a value, the file will be available for the default period of 78 weeks (18 months). +If you do not choose a value, the file will be available for the default period of 26 weeks (6 months). + +Files sent before 12 April 2023 had a longer default period of 78 weeks (18 months). ```python from notifications_python_client import prepare_upload