shayan
shayan

Reputation: 143

Flash Player can not access files out of www folder

I have a flash player which play mp3 files from xml. at now mp3 files are downloadable with software like internet download manager. if i move mp3 files to out of www and change xml location attribute to '../mp3filename.mp3' player can not play mp3. my question are

1) flash file can access files out of root folder

2) what is best way to protect files from download?

Upvotes: 0

Views: 85

Answers (2)

The_asMan
The_asMan

Reputation: 6402

Flash player has to download the mp3 to play it.
If you make it available for a player to play it then by default it can be downloaded.
The only option you would have is to encrypt it somehow and use a foreign key.
Flash player security is weak at best. But security is all about how many layers you add anyway.

Upvotes: 2

Adam Harte
Adam Harte

Reputation: 10510

Flash is client side, so it only has access to whatever the client has access to.

Upvotes: 1

Related Questions