this post was submitted on 29 Oct 2023
65 points (95.8% liked)

Privacy

31872 readers
437 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

Hi, I'm building a personal website and I don't want it to be used to train AI. In my robots.txt file I blocked:

  • ChatGPT-User
  • GPTBot
  • Google-Extended
  • FacebookBot

What bots should I also add? Are there any other ways to block AI bots?

IMPORTANT: I don't want to block search engine crawlers, only bots that are used to train AI.

all 17 comments
sorted by: hot top controversial new old
[–] lukecooperatus@lemmy.ml 51 points 1 year ago

FYI, bots and crawlers can simply ignore your robots.txt entirely. This is probably common knowledge around these parts, but I've run into clients at work who thought it was a law or something.

I do like the idea of intentionally polluting the data robots will see, as suggested by this comment. There's no reliable way to block them without also blocking humans, so making the crawled data as useless as possible is a good option.

Just be careful not to also confuse screen readers with that tactic, so that accessibility is maintained for humans. It should be easy enough if you keep your aria attributes filled out appropriately, I imagine.

[–] hperrin@lemmy.world 35 points 1 year ago (4 children)

Pollute your site with nonsense that’s invisible to users. Things like pages that are linked to with invisible links that are just walls and walls of random text.

[–] chevy9294@monero.town 13 points 1 year ago (1 children)

Good idea. I will made a invisible link to "traps for bots". One trap will show random text, one will be redirect loop and one would be random link generator that will link to itself. I will also make every response randomly slow, for example 0,5 to 1,5 seconds.

Good thing is that I can also block search engine crawlers from accessing only the traps.

[–] c24w@lemmy.world 4 points 1 year ago

If you're interested in traps, you can add a honeypot to your robots.txt. It comes with some risk of blocking legitimate users, though.

[–] Pantherina@feddit.de 10 points 1 year ago (1 children)
[–] chevy9294@monero.town 4 points 1 year ago (1 children)

Nice idea, but a lot of random text that user doean't see would slow down the website.

[–] Pantherina@feddit.de 2 points 1 year ago* (last edited 1 year ago)

I dont think thats really a big problem. Like simply make every key word useless, somehow automate the process.

There should be a tool for this damn, there is at least one Unicode character that doesnt even display a blank in a damn Terminal.

Like... modern web crap doesnt even load without Javascript or animations. So dont bother a bit more HTML

[–] folkrav@lemmy.ca 9 points 1 year ago (1 children)

OP still wants search indexing, in which case it's a big no-no - it can be perceived as spam by search engines, and links your pages to tons of unrelated keywords.

[–] chevy9294@monero.town 8 points 1 year ago

I can block search engine crawlers from specific paths so that should be solved.

[–] stewsters@lemmy.world 3 points 1 year ago

As long as you do not rely on SEO to get traffic. This has a good chance of affecting how Google sees your site as well.

[–] inspxtr@lemmy.world 11 points 1 year ago

I’m curious about how to verify that these bots respect the rules. I don’t doubt that they do, since it might be a PR nightmare for these big tech companies if they don’t, but I don’t know how to verify them. Asking because I’m also doing this for my website.

By the way, LLMs are usually also trained by common crawl, (not sure to what extent), but I’m not sure whether you want to block common crawl.

Another thing to consider is whether your website is indexed and crawled by web archive, and whether web archive has some policy on AI bot crawlers and scrapers.

[–] otl@lemmy.sdf.org 5 points 1 year ago

Maybe there's some IP address ranges to try block?

It's difficult because, for example, blocking the addresses OpenAI's crawlers use may inadvertently block addresses from Azure used by Bing or whatever.

[–] Mubelotix@jlai.lu 5 points 1 year ago

Block everyone but the crawlers you like. Blacklists are less reliable than whitelists

[–] ssm@lemmy.sdf.org 2 points 2 months ago* (last edited 2 months ago)
User-agent: *
Disallow: /

tbh

[–] Bldck@beehaw.org 2 points 1 year ago* (last edited 1 year ago)

Easy. Add a section to your robots.txt file.

[–] Xirup@lemmy.dbzer0.com 1 points 1 year ago

Pehaps the user (or in this case the bot) will not go directly to your website, but first to some method of captcha verification or something like that, or like those pages (SteamDB for example) that do not open directly but first open a blank page to verify your network and browser with a captcha.