php - is there a way to know if the link to a file is force downloaded? -


The title completely explains my question: Do I have a link to the PDF file, can I know that this force The download link is using php, c ++, linux wget command etc. (anything I can use on the server) (no Java)

HTTP , it is impossible to fully understand whether using the method to download the file Interpretation is unless the requester not voluntarily recognize a user-agent string or manually through a few things.

If you use the web-server language, then you can protect the file behind an authentication mechanism.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -