Skip to content
Snippets Groups Projects
Commit c12979fb authored by Martin Vogel's avatar Martin Vogel
Browse files

Merge branch '842-untrusted-user-input-warning' into 'main'

chore(docu): Add warning about untrusted user input

See merge request !101
parents 551212f8 9cdc07df
No related branches found
No related tags found
1 merge request!101chore(docu): Add warning about untrusted user input
......@@ -150,9 +150,13 @@ final EncryptedSubmissionPayload frontendEncryptedPayload = EncryptedSubmissionB
.build();
final SentSubmission sentSubmission = senderClient.submit(frontendEncryptedPayload);
```
| **Important** |
| ------------- |
| If destination id (`destinationId`) and service type (`leikaKey`) are provided by a frontend component, they MUST NOT be blindly trusted. Instead, the sender's backend MUST check if sending submissions of this service type to the specified destination is allowed. |
### Hand in a new submission with unencrypted data
If all data, metadata and attachments are encrypted in the sender using the SDK, the client automatically handles the encryption.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment