Requirement:
Users fill out a form which includes sensitive personal data and need to be able to download the content of this form for a limited time.
Question:
How useful / secure is it to create a hash from
- the data the user entered
- plus a salt
- plus the timestamp
and use this hash as the filename of the file with the stored sensitive data, then returning its URL to the user that just filled out the form, deleting the files after e specified time, e.g. 30 days.
Notes:
I know the situation is not ideal, but how would this 'hash filename' compare security wise to a user / password account situation.
But it should not be possible to guess the URL because of the hash and it would not be feasible to try random URLs to get a set of user data, or am i missing something here?
I have seen this being used when i ask for receipts, google docs, or something from online purchases with links being invalidated after a set amount of time.
Can anyone give me some idea of the effectiveness of such an approach?