We welcome everyone and thank you for your time. I just wanted to say that although I am not a noobie in php, I still don’t know, and I still do not have enough knowledge to deal with some of these problems.
My current dilemma:
I have a database of user songs in which there is all kinds of information, including the location of these songs. The way I work, I have a php script that echos contains an xspf playlist file for a flash player to read for those who are watching songs. (the best part is that the player doesn't care that he is a php file if he gets the correct XML format).
The problem is that anyone can look at the source (for example, find that the player is using xspf.php? = Song_id = 10), and the php file displays everything in plain text. How can I hide or encrypt the mp3 location from users, but can the player still work correctly?
In the future, I will also be able to download tracks, but I want to find a way to hide the location, or maybe if it does not generate a temporary URL too much? Share what you think is the best solution to this problem.
And again in advance for any answers!
php
Tek
source share