On January 4, 2011 22:32 , Carlos S <neubyr@xxxxxxxxx> wrote:
Recently I was trying to download a package using wget, but the website prevented access to it. I tried --user-agent option but it didn't work either. So I was curious to know what strategy this web admin must have implemented.
Without an example URL, I can only speculate, but the ideas that come to mind first are denying the download unless a cookie is set (you could get quite complex with this, such as setting the cookie via JavaScript, which wget won't execute), checking the referrer header, or other JavaScript based checks.
-- Mark Montague mark@xxxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx