Jump to content

File downloadable only once?


daperson

Recommended Posts

Is this possible? I've got a php script that handles encrypted data. When a file is requested for download, another script will decrypt the file, and then in theory serve it to the user, so they can download an unencrypted copy. Obviously i don't want these unencrypted versions hanging around, so is there a way of making each unencrypted copy not downloadable more than once? So it gets deleted right after the user has finished downloading it, and preferably is done in such a way as to prevent multiple people downloading it at once.

Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/91517-file-downloadable-only-once/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.