Home › Forums › Quform WordPress › File Uploads/Attachments – Securing Sensitive Files
- This topic has 4 replies, 2 voices, and was last updated 1 year, 3 months ago by outboxed.
- February 21, 2022 at 12:23 pm #34019
We’ve been using QuForm for years now, and very happy with the product.
We’ve recently been requested to create a website where people will be able to upload their verification documentation (ID, Proof of residence, etc) to a website via a simple form. Of course, we immediately purchased another QuForm licence.
Thing is, as these documents are really rather sensitive, we don’t want fraudsters to be able to guess the filenames all too easily.
As an example, when you upload a file via the form, it saves the file in this format:
Is there a way for the filename to be change upon upload, so it’s something like random text being added:
I know this hardly counts as encryption (what would be the correct terminology for the above anyway?)
Is there any setting, suggestion or plugin that could help secure the uploaded files?
JC from Outboxed.February 22, 2022 at 10:24 am #34022AllySupport Staff
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.February 22, 2022 at 10:55 am #34029
Thank you very much for this! It worked like a charm.
If I want to add multiple field IDs, do I just add it like the below, or do I need to repeat the entire code block every time, each with their unique field ID?
add_filter('quform_upload_filename_4_25', 'quform_upload_filename_4_27', function ($filename)February 23, 2022 at 8:22 am #34032AllySupport Staff
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.February 23, 2022 at 8:31 am #34034
Thank you, you’re the best!!
- You must be logged in to reply to this topic.