简体   繁体   中英

How to make flash file not downloadable?

I want that my flash file on my website, can't be downloaded by anyone.
Is there any way that i can do that?
As Firefox and many browser has many add-ones which easily detect out flash content and after they can download the flash file?

In short: No.

Remember that in order to display the contents of the flash file, it will have to be downloaded to the client in any case, and is usually saved to a temporary file on disk. There's really no way from keeping a browser from saving the files you send it to disk, short of not sending the files in the first place. (In which case, well, the flash cannot be displayed, because the client doesn't have it.)

And what exactly is the use of a Flash file that you can't download? If it can't be downloaded then you won't be able to view it in a browser. So don't put it online, then nobody will be able to download it.

Short answer is no.

But you can make it harder for someone to download and reuse the file.

You should look into serving the flash file via a PHP script so that it can do checks before serving the file. And in the flash file you can do checks like what the page address is before running the code, etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM