Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For the Thinkbot problem mentioned in the article, it's less maintenance work to simply block on the User Agent string.


jep, good tip! for ppl that do this be sure to make it case insensitive and only capture few distinct parts, not too specific. especially if u only expect browsers this can mitigate a lot.

u can also filter for allowing but this gives a risk of allowing the wrong thing as headers are easy to set, so its better to do it via blocking (sadly)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: