A silly question: Many Download websites use PHP pages to download links and link them to a PHP page. this page reads file streams to complete the download process, what are the benefits of doing so? Why can't I direct the object to the downloaded file? ------ Solution ------------------ anti-theft function. Don't want to be seen. ------ solution ------------------ you can hide the real download link and ask a silly question: Use the PHP page to download
Many Download websites link the download link to a PHP page through which the file stream is read to complete the download process,
What are the benefits of doing so? Why can't I direct the object to the downloaded file?
------ Solution --------------------
Anti-theft. Don't want to be seen
------ Solution --------------------
What is the purpose of hiding a real download path? Do you need to provide a "fake" address for people to download?
Since all of them can be downloaded, can the address still be fake?
------ Solution --------------------
Php page. You can do that. For example, if you have logged on. Or is it downloaded from the specified page .. Yes ..
------ Solution --------------------
Anti-Leech
------ Solution --------------------
After uploading to the php page, you should have the permission to verify access and security,
------ Solution --------------------
Some directories are not accessible at will.
------ Solution --------------------
It's mainly anti-Leech protection. Another possibility is credit ..
------ Solution --------------------
Discussion
What is the purpose of hiding a real download path? Do you need to provide a "fake" address for people to download?
Since all of them can be downloaded, can the address still be fake?