# Gating only some of the sections with Email + Password

**URL:** https://community.glideapps.com/t/gating-only-some-of-the-sections-with-email-password/9154
**Category:** Ask for Help
**Created:** [May 14, 2020, 6:53pm UTC](https://community.glideapps.com/t/gating-only-some-of-the-sections-with-email-password/9154 "2020-05-14T18:53:25Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![maschera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maschera/32/6730_2.png) [@maschera](https://community.glideapps.com/u/maschera)
#### Post date: [May 14, 2020, 6:53pm UTC](https://community.glideapps.com/t/gating-only-some-of-the-sections-with-email-password/9154/1 "2020-05-14T18:53:25Z")

</div>

I’m working on an app where there is a need to gate only some sections.

Most sections will be publicly accessible (no email required to access the app), however if you want to access a specific component, you will be asked to identify yourself with your email and a password (or, through an email whitelist).

It is a useful use case for those apps that have premium content dedicated only to paid users.

Has anyone achieved anything similar?

---

<div class="post-metadata">

### Author: ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)
#### Post date: [May 14, 2020, 7:28pm UTC](https://community.glideapps.com/t/gating-only-some-of-the-sections-with-email-password/9154/2 "2020-05-14T19:28:31Z")

</div>

Check this article:  
[https://docs.glideapps.com/all/reference/privacy-and-per-user-data/user-specific-columns](https://docs.glideapps.com/all/reference/privacy-and-per-user-data/user-specific-columns)

However, customer journey is a bit different.  
Users log-in with email, and you whitelist certain users to be able to see the premium content.

---

<div class="post-metadata">

### Author: ![maschera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maschera/32/6730_2.png) [@maschera](https://community.glideapps.com/u/maschera)
#### Post date: [May 14, 2020, 7:55pm UTC](https://community.glideapps.com/t/gating-only-some-of-the-sections-with-email-password/9154/3 "2020-05-14T19:55:26Z")

</div>

That’s a different use case though.

I would like only a subset of authenticated users to be able to access specific sections within the app.

---

<div class="post-metadata">

### Author: ![George\_Lewis1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/george_lewis1/32/5517_2.png) [@George\_Lewis1](https://community.glideapps.com/u/George_Lewis1)
#### Post date: [May 14, 2020, 10:02pm UTC](https://community.glideapps.com/t/gating-only-some-of-the-sections-with-email-password/9154/4 "2020-05-14T22:02:37Z")

</div>

Hey,

You should be able do this with component visibility.

- Have a profiles tab/ sheet
- Then set visibility for the component you want hidden in your tab to: if 'user signed in = column user type = premium"
- Then have a text component that’s only visible the other way around, saying to access this section “please sign up to view …”.

Good luck!

---

<div class="post-metadata">

### Author: ![maschera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maschera/32/6730_2.png) [@maschera](https://community.glideapps.com/u/maschera)
#### Post date: [May 21, 2020, 5:01pm UTC](https://community.glideapps.com/t/gating-only-some-of-the-sections-with-email-password/9154/5 "2020-05-21T17:01:36Z")

</div>

Thanks George, will give it a shot.

In case instead you would like to ask for email to access specific TABS instead? No password required, I only want the user to leave an email if he wants to get access to a certain component.

---

<div class="post-metadata">

### Author: ![sardamit](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sardamit/32/263_2.png) [@sardamit](https://community.glideapps.com/u/sardamit)
#### Post date: [May 21, 2020, 5:11pm UTC](https://community.glideapps.com/t/gating-only-some-of-the-sections-with-email-password/9154/7 "2020-05-21T17:11:45Z")

</div>

Visibility will be at the component level.  
You may be looking at the screen features.
