# Help with locking down forum

**URL:** https://meta.discourse.org/t/help-with-locking-down-forum/382916
**Category:** Support
**Created:** [September 17, 2025, 7:00am UTC](https://meta.discourse.org/t/help-with-locking-down-forum/382916 "2025-09-17T07:00:57Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Isla](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/isla/32/521525_2.png) [@Isla](https://meta.discourse.org/u/Isla)
#### Post date: [September 17, 2025, 7:00am UTC](https://meta.discourse.org/t/help-with-locking-down-forum/382916/1 "2025-09-17T07:00:57Z")

</div>

> 

I need to lock down my space as a matter of urgency, so that nobody can view anything. How do I do this? Is this possible?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [September 17, 2025, 7:07am UTC](https://meta.discourse.org/t/help-with-locking-down-forum/382916/2 "2025-09-17T07:07:35Z")

</div>

You may have to go into more detail I suspect to describe exactly what you need.

To hide the forum from anonymous users check `login required` in site settings. However, note this will ruin SEO as search engines will have nothing to link to.

Beyond that start removing groups from read rights in Category Security settings which will individually hide Categories.

---

<div class="post-metadata">

### Author: ![Isla](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/isla/32/521525_2.png) [@Isla](https://meta.discourse.org/u/Isla)
#### Post date: [September 17, 2025, 8:12am UTC](https://meta.discourse.org/t/help-with-locking-down-forum/382916/3 "2025-09-17T08:12:11Z")

</div>

I’ll come back to this asap, thank you!

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 17, 2025, 11:48pm UTC](https://meta.discourse.org/t/help-with-locking-down-forum/382916/4 "2025-09-17T23:48:04Z")

</div>

You can log out all users and put the site in read only mode.

But you can also just do a

```
  ./launcher stop app

```

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [September 18, 2025, 7:59am UTC](https://meta.discourse.org/t/help-with-locking-down-forum/382916/5 "2025-09-18T07:59:57Z")

</div>

> [@pfaffman](#):
>
> You can log out all users

Probably worth adding how you can do that?

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [September 18, 2025, 8:26am UTC](https://meta.discourse.org/t/help-with-locking-down-forum/382916/6 "2025-09-18T08:26:09Z")

</div>

> [@pfaffman](#):
>
> log out all users

i believe it’s

```plaintext
./launcher enter app
rails r 'UserAuthToken.destroy_all'

```

You may want to consider posting a banner or global notice before running the command to inform your users.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [September 18, 2025, 8:36am UTC](https://meta.discourse.org/t/help-with-locking-down-forum/382916/7 "2025-09-18T08:36:35Z")

</div>

also this topic may help, depending on what your concerns are

> [@What to do if your Discourse is compromised](https://meta.discourse.org/t/what-to-do-if-your-discourse-is-compromised/40129):
>
> We’ve recently had two reports of Discourse sites that were compromised, likely due to weak admin account passwords. So we’d like to document: what to do when compromise happens what we can do to better prevent this in the future The Database Please note that Discourse, for several years now, has the following protections in place around the site database: Full database backup download links will only be sent via valid email of a site administrator, so you can’t just log in (via shoulder …

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 18, 2025, 10:29am UTC](https://meta.discourse.org/t/help-with-locking-down-forum/382916/8 "2025-09-18T10:29:04Z")

</div>

> [@merefield](#):
>
> > [@pfaffman](#):
> >
> > You can log out all users
> 
> Probably worth adding how you can do that?

Well, yeah, if I knew how! 🤣 Thanks, @Lilly!

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [October 6, 2025, 3:00pm UTC](https://meta.discourse.org/t/help-with-locking-down-forum/382916/9 "2025-10-06T15:00:00Z")

</div>

This topic was automatically closed after 9 days. New replies are no longer allowed.
