# Disable Searchbox for unregistered users

**URL:** https://meta.discourse.org/t/disable-searchbox-for-unregistered-users/29763
**Category:** Feature
**Created:** [June 8, 2015, 8:12am UTC](https://meta.discourse.org/t/disable-searchbox-for-unregistered-users/29763 "2015-06-08T08:12:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hoppc](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hoppc](https://meta.discourse.org/u/hoppc)
#### Post date: [June 8, 2015, 8:12am UTC](https://meta.discourse.org/t/disable-searchbox-for-unregistered-users/29763/1 "2015-06-08T08:12:36Z")

</div>

hey all :),

first, discourse is great!!! ☀ 😄  
we use discourse since 6 month for a closed discussion. But now we find a problem for us. Because, unregistered users can use the search box / search api to search for users. Has anybody a idea, to deactivate the search box / search api for unregistered people?

thaaaanks a lot for feedback and help!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 8, 2015, 8:21am UTC](https://meta.discourse.org/t/disable-searchbox-for-unregistered-users/29763/2 "2015-06-08T08:21:52Z")

</div>

Why don’t you move your site to login-required, if it is closed discussion?

As you can see here [http://parley.rubyrogues.com/](http://parley.rubyrogues.com/) a login required site does not allow unregistered users to search.

---

<div class="post-metadata">

### Author: ![hoppc](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hoppc](https://meta.discourse.org/u/hoppc)
#### Post date: [June 8, 2015, 8:52am UTC](https://meta.discourse.org/t/disable-searchbox-for-unregistered-users/29763/3 "2015-06-08T08:52:05Z")

</div>

hi jeff,

yes this could be a solution :). now, we have a open area for unregistered users. but if necessary, we disable that.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [December 4, 2025, 11:35am UTC](https://meta.discourse.org/t/disable-searchbox-for-unregistered-users/29763/4 "2025-12-04T11:35:59Z")

</div>


