r/Android • • Jan 16 '23

[deleted by user]

[removed]

1.3k Upvotes

182 comments sorted by

View all comments

Show parent comment

-10

u/[deleted] Jan 17 '23 edited Jan 17 '23

[removed] — view removed comment

5

u/Mirrormn Jan 17 '23

Edit: I swear this sub doesn't understand how APIs work.

Any client, including the official app/website, must communicate with the server using some form of persistent authentication, usually in the form of auth tokens attached to RESTful HTTP requests. When a platform "allows" bots, what it's doing is providing a separate interface for bots to register and request authentication, in the hopes that providing an easy path to a system where bots can operate within a set of rules will make it easier to detect and ban people operating outside the rules. However, if you don't allow bots, then people can still write bots that operate off of a basic user's authentication and token request flow. In other words, you just spoof yourself to look like a 1st-party user. There are DRM-esque efforts a platform can undertake to make this more onerous (the prototypical example would be adding a Captcha to the login screen), but it's essentially always possible. If you allow a 1st-party client to interact with your server, then there's always a possibility that a bot could be running that 1st-party client.

As a result, if you block third-party authentication, then you are blocking bots that follow the rules, while doing nothing to block bots that are not following the rules.

11

u/Plastefuchs Jan 17 '23

What, no. Why would it?

3

u/[deleted] Jan 17 '23

[removed] — view removed comment

0

u/Plastefuchs Jan 17 '23

or just use a browser? How does blocking third party apps reduce the number of bots?

5

u/[deleted] Jan 17 '23

[removed] — view removed comment

1

u/StanleyOpar Device, Software !! Jan 17 '23

Because it’s not about bots. It’s about ads.

6

u/solaceinsleep Nexus 5 --> Samsung S8 Jan 17 '23

No, not even close