# Age-restricted category

**URL:** https://meta.discourse.org/t/age-restricted-category/124669
**Category:** Support
**Created:** [August 1, 2019, 9:52pm UTC](https://meta.discourse.org/t/age-restricted-category/124669 "2019-08-01T21:52:06Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![GZhynko](https://avatars.discourse-cdn.com/v4/letter/g/ed8c4c/32.png) [@GZhynko](https://meta.discourse.org/u/GZhynko)
#### Post date: [August 1, 2019, 9:52pm UTC](https://meta.discourse.org/t/age-restricted-category/124669/1 "2019-08-01T21:52:06Z")

</div>

Hello everyone,

Is there a way to make a category age-restricted? For example, only users who are over 18 can read and post topics in this category.

Thanks in advance!

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [August 1, 2019, 9:55pm UTC](https://meta.discourse.org/t/age-restricted-category/124669/2 "2019-08-01T21:55:15Z")

</div>

It’s possible using group memberships, but a better question is how you verify age.

How are you going to check the age of your users?

---

<div class="post-metadata">

### Author: ![GZhynko](https://avatars.discourse-cdn.com/v4/letter/g/ed8c4c/32.png) [@GZhynko](https://meta.discourse.org/u/GZhynko)
#### Post date: [August 1, 2019, 10:09pm UTC](https://meta.discourse.org/t/age-restricted-category/124669/3 "2019-08-01T22:09:46Z")

</div>

Thanks for the answer!

I think a custom user field would be enough to check the age

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [August 1, 2019, 10:11pm UTC](https://meta.discourse.org/t/age-restricted-category/124669/4 "2019-08-01T22:11:11Z")

</div>

So what stops a minor from entering an age which makes them older? And if they can do that, how does that constitute age-restriction?

---

<div class="post-metadata">

### Author: ![GZhynko](https://avatars.discourse-cdn.com/v4/letter/g/ed8c4c/32.png) [@GZhynko](https://meta.discourse.org/u/GZhynko)
#### Post date: [August 1, 2019, 10:42pm UTC](https://meta.discourse.org/t/age-restricted-category/124669/5 "2019-08-01T22:42:54Z")

</div>

If i’m not mistaken, almost all websites / services (even those containing 18+ content) check user’s age the similar way.

Anyway, making a category age-restricted makes accessing the age-restricted content harder for minors, as they would need to register and confirm they are over 18 by entering their birth date.

---

<div class="post-metadata">

### Author: ![Odyssey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/odyssey/32/165354_2.png) [@Odyssey](https://meta.discourse.org/u/Odyssey)
#### Post date: [January 2, 2020, 10:46pm UTC](https://meta.discourse.org/t/age-restricted-category/124669/6 "2020-01-02T22:46:15Z")

</div>

How would you go about setting up the group memberships and a custom user field for birthday? I have this same need but for younger age group. Would the group membership be via a 3rd party membership page or directly through Discourse?

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 14, 2022, 3:35pm UTC](https://meta.discourse.org/t/age-restricted-category/124669/7 "2022-12-14T15:35:23Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
