How to avoid server files being accessed illegally?
I havent tried completely yet, but i suppose i can make a paypal system that when someone buys my product with it, he will be sent to download page to which he will receive unique code and that will keep that download page accessible to him with that code for, say, 3 days as an example.
However, now comes a problem.
Say there is some music.mp3 file that he can download then.
Now okay, after three days he wont be able to access the download page, BUT, if he uses direct link to that music.mp3 file, he will still be able to download it and even share the link with anyone he wishes.
So how do i avoid this from happening?
Can i somehow make it so that this music.mp3 file is accessbile only through that Download page?
There is this options to choose for files in way of 755, that it can be executed by anyone, or only its owner and stuff
So I suppose I can use this somehow to make it accessible to this download page only, but how?
And notice when you answer that im quite noobie when it comes to server side issues.
I mean, i do understnad it would be possible to make it accessbile for its creator only, but then that download page would first need to be the creator of that music.mp3 file, which is obviously isnt, since im just transfering it to there.
Social Bookmarking Software 2012
How to start a blog
This signature intentionally left blank.