snippet-library icon indicating copy to clipboard operation
snippet-library copied to clipboard

`gppa-encrypt-fileupload-field-links.php`: Added a snippet that encrypts file upload field links with GPPA.

Open saifsultanc opened this issue 2 years ago • 1 comments
trafficstars

Context

⛑️ Ticket(s): https://secure.helpscout.net/conversation/2326751274/53373?folderId=3808239

Summary

When using GPPA to get the URL of uploaded files in another form entry. GPPA returns the direct link to the file. This update adds the ability to get encrypted links with GPPA.

Snippet in action (~150 seconds) with Before and After: https://www.loom.com/share/699da443af204e93b886c2d72e93d702

saifsultanc avatar Aug 22 '23 13:08 saifsultanc

I'm a bit weary of this approach as changing the actual saved value is likely going to cause issues.

Can we just use this logic to generate a secure URL using GPPA-specific filters?

@claygriffiths Which GPPA specific filter would be the right one for this scenario?

saifsultanc avatar Aug 30 '23 13:08 saifsultanc