That’s not true, several years ago the Discourse site did the use of Site and Category access control under the title “Private Spaces” hence this topic.
Private Spaces
Make your entire site private, or just certain categories. Approve all new users, or make your site invite-only.