javascript - Ways to check if the browser is authentic? -


I was thinking of installing a mechanism to avoid wget / cURL / etc to download Wget / curl put a fake user agent, so my question is more if someone can make sure that it will work

For example, if the user wants to download a file, I would like to send javascript to the content Dispos URL I can check (silly stuff, as if something hash is js

If there is anything bad in it, it would be better to know other methods

You will have a hard time with it (if this is possible, which I do not believe)

At the end of the day, the browser has to interpret your URL and download the file. At this time, this is a standard HTTP request, which can repeat anything like wget / curl.

Comments