Ask a silly question: upload on the PHP page

Source: Internet
Author: User
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?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.