Registration and login can be controlled tighter than http headers, and if the bots cannot get more than the first post of a thread without authentication, the entire business model they've built will collapse.
Will that instantly reduce the waves of bots? No, but will cut their success and make your domain unattractive for future scraping campaigns. And you can reduce server load by caching pages for guests.
Will that impact your site being indexed by google and driving traffic? Hell yeah. By the looks of it, google's role on the internet as the mother of searxh engines has also started to shift some years ago, and now it's only bringing in traffic from the people who skip the AI results block returned by google after every search.
As I have been doing that for quite a while I can serve you with real world numbers what happens, when you limit guest access harshly.
I've started to block spam-registrations, bots and scrapers in autumn 2024 by useragents, IPs and IP-Ranges, at that time via .htaccess, because shared hosting did not leave me many options. It quickly turned out that there are filthy areas on the net, where most of the bad traffic came from. For spammers this was Russia, for vulerability scanning it was Microsoft Azure and for Scraping it was AWS, Huawei Cloud and Alibaba Cloud and generally China. Plus quite a bunch of other hosts and companies, almost all based in data centers. Search engines like Google and Bing had a free ride all the time and most parts of my forum were freely accessible w/o registration.
Over time my .htaccess grew to an amount that became hard to handle and prone to failures, at the same time the scrapers became more and more and it seemed impossible to lock them out. So in February this year I switched the strategy: From now on guests would only see the first post of a thread and some forums, that were free to access before, would be locked or only the thread titles accessible.
This obviously affected the Search Engines, too and some of the threads where now only the title was left to see for a guest were among the best ranking threads with the highest klick rate on Google.
It was obvious, that this change would fire back - the question was only how and when. I did the "first post of a thread" move instead of locking out guests completely in the hope that this would somewhat linder the punishment from Google plus obviously seeing nothing at all would not animate to register while seing a teaser would (hopefully) do the opposite.
This proved to be true: My registrations skyrocketed over the following 4-5 months: Many regular and occasional visitors read w/o registration and were now forced to register - so over the next months I had an immense amount of new registrations. This started to normalize back towards the usual levels from about July on but is to this day still recognizably higher than before the guest barrier.
Also in February I had started to block loads of countries and loads of ASNs - barely any effect for regular users as my users do come from a more or less sharply limited geographic region and once more Google, Bing and others would not be affected. Recently, I started to force challenge guests even from my core region to get rid of the remaining residential proxies for the most part.
Consequence: Genuine guest numbers on my forum have dropped to a minimum: As they can't see much anymore they either register fast or drop out.
Regarding Google: This is what happened to impressions and clicks:
You can see a decrease in both that seemed to start more or less directly after invention of the limitations at the beginning of February and then a constant decrease since May until today. The average position strangely seems to actually have improved and the CTR has gone up quite a bit.
All things combined and the timeframe extended to 16 month it looks like that: While impressions and clicks go down south CTR and position are stable:

On a three-months comparison between now and last year the difference in impressions and clicks in actual numbers is quite depressing: Both down to about a third of what they used to be last year at the same time (and there the downfall had already started):

But then one can see that the decrease started already back in Summer 2025 - a whole six month before I invented the limitations for guests. So it seems that it may not be caused by the limitations but possibly rather by people using AI for search or something else. Google has started their "AI overview" in search in the US in May 2024 and it arrived in Germany, Austria and Switzerland (my core audience) in March 2025. So it seems more plausible that
this is the root cause for the decrease in the numbers I see, taking effect with a four months delay. Until then my forum was
massively on the rise regarding Google search impressions and clicks and I got a new trophy for some new achievement in that area basically every month - until August last year. Since then: nothing.
The number of pages in the search index has not decreased, it is stable and slowly rising - which means: new threads still get indexed. Google do now offer a statistic for the ranking in their generative AI search as well, but it is only limited and goes back only six month. For my forum it looks like that:
I have no idea why my numbers are going down here since mid August - no relevant change on my side at that time.
So overall my best guess is that locking out guests and search engines from everything but the first post clearly changes visitor behavior drastically but barely affects SEO ranking. In opposite: CTR went up and average postion got better, too (but both within a small range).
But: I am somewhat unsure how reliable the GSC data is. A relevant amount of searches are for things like my forum name or other things that can only be found at my forum, so typically will lead to a click as well. When I use Google myself and search for something where my forum should rank high but is not the only possible source I have the impression it has gotten worse.
Numbers are plumetting - but for different reasons. It simply seems that people search less. The cause is probably namely the AI overview (that Google now thinks about getting rid of because it hurts their own revenue) and the use of other AI tools from competitors. What is also obvious: Google Search is loosing relevance massively.