Secure Token Plugin with PHP
You might read our old article on how-to-prevent-downloading-and-leeching-media-files…
You can review below code to secure your media files to be downloaded other then media players 😉
Secure Token have time limit after that token expire to get media files.