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 d开发者_开发知识库etect 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.
精彩评论