# Backend code

**URL:** https://meta.discourse.org/t/backend-code/257537
**Category:** Development
**Created:** [March 8, 2023, 8:29pm UTC](https://meta.discourse.org/t/backend-code/257537 "2023-03-08T20:29:43Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [March 8, 2023, 11:47pm UTC](https://meta.discourse.org/t/backend-code/257537/10 "2023-03-08T23:47:57Z")

</div>

You could turn the logic in [our geo blocking plugin](https://meta.discourse.org/t/geo-blocking-plugin/227824) around and instead of blocking certain regions, you could block all except certain regions. Shouldn’t be too hard - bonus points for the person that can do it with a one character edit. Hint: line 37 !

> [@Julien\_Bonnier](#):
>
> to do this I would have to use a self-hosted Discourse.

Or you can host with [communiteq](https://www.communiteq.com/) on the Professional plan or up. In that case we’ll even extend the plugin for your use case.

---

_[View the full topic](https://meta.discourse.org/t/backend-code/257537)._
