# Gated Content (access code)

**URL:** <https://community.glideapps.com/t/gated-content-access-code/55711>\
**Category:** Ask for Help\
**Created:** [December 13, 2022, 9:46pm UTC](https://community.glideapps.com/t/gated-content-access-code/55711 "2022-12-13T21:46:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxine\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maxine_murphy/32/51574_2.png) [@Maxine\_Murphy](https://community.glideapps.com/u/Maxine_Murphy)\
**Post date:** [December 13, 2022, 9:46pm UTC](https://community.glideapps.com/t/gated-content-access-code/55711/1 "2022-12-13T21:46:08Z")

</div>

Hello everybody,  
I hope someone can help me with the following problem:

I would like to only grant access to my client’s app when the user enters a valid access code.  
This code needs to be valid for 30 days only and is ideally generated automatically or on demand.  
Does anyone have experience with this kind of build? Also, I am not really familiar with any coding so a no-code solution would be great!

I have looked for different solutions but I couldn’t find any for glide. Memberstack won’t work, unfortunately.

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [December 13, 2022, 11:25pm UTC](https://community.glideapps.com/t/gated-content-access-code/55711/2 "2022-12-13T23:25:07Z")

</div>

You have two options:

1. Make your app public. Allow any user to sign in and request a code…once they enter the code (on some sort of details/edit screen) it unlocks tab visibility to the rest of the app.
2. Make your app private. Only allow users in the users profile sheet to sign into the app. OUTSIDE of your app, you create a request interface/automation that adds their email and timestamp to the app’s whitelist. Use more automations/scripting to delete the row after 30 days if they haven’t verified that they signed in (some other column in the users table that they fill out upon onboarding)

---

<div class="post-metadata">

**Author:** ![Martina\_G](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/martina_g/32/22597_2.png) [@Martina\_G](https://community.glideapps.com/u/Martina_G)\
**Post date:** [April 11, 2023, 7:45pm UTC](https://community.glideapps.com/t/gated-content-access-code/55711/3 "2023-04-11T19:45:50Z")

</div>

Hey @Robert_Petitto. How can I make an app private after having published it public. I cannot see the function in the settings anymore.

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [April 11, 2023, 8:10pm UTC](https://community.glideapps.com/t/gated-content-access-code/55711/4 "2023-04-11T20:10:01Z")

</div>

In the editor navigate to Settings → Privacy → Private

Be sure to have your user profiles configured correctly. You can double check the Source of your User profiles by navigating to Settings → Users & authentication

To check the configuration click on ‘Edit user profiles’

---

<div class="post-metadata">

**Author:** ![Martina\_G](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/martina_g/32/22597_2.png) [@Martina\_G](https://community.glideapps.com/u/Martina_G)\
**Post date:** [April 11, 2023, 8:22pm UTC](https://community.glideapps.com/t/gated-content-access-code/55711/5 "2023-04-11T20:22:49Z")

</div>

Hey @Eric_Penn. How can I define a allowed email list after finishing app development. I already set up and connected the general user list and don´t want switch to another allowed user list now.

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [April 11, 2023, 8:39pm UTC](https://community.glideapps.com/t/gated-content-access-code/55711/6 "2023-04-11T20:39:44Z")

</div>

Well assuming you switched your app to private then by default the User Profiles IS your allowed email list. You could just copy and paste the emails you’d like to have access into your User Profiles table or Delete the one’s you don’t.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [April 12, 2023, 1:12am UTC](https://community.glideapps.com/t/gated-content-access-code/55711/7 "2023-04-12T01:12:03Z")

</div>

@Martina_G
