# How to add a layer of authorization for protected content?

**URL:** <https://forum.algorand.co/t/how-to-add-a-layer-of-authorization-for-protected-content/7206>\
**Category:** General\
**Tags:** docs, community, teal, developer, smart-contracts\
**Created:** [June 19, 2022, 5:36pm UTC](https://forum.algorand.co/t/how-to-add-a-layer-of-authorization-for-protected-content/7206 "2022-06-19T17:36:59Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![subhamx](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@subhamx](https://forum.algorand.co/u/subhamx)\
**Post date:** [June 19, 2022, 5:36pm UTC](https://forum.algorand.co/t/how-to-add-a-layer-of-authorization-for-protected-content/7206/1 "2022-06-19T17:36:59Z")

</div>

Hi everyone 👋. I was building a smart contract and was curious about **how to add a layer of authorization**. Take the following scenario:

1. There are many users on the platform.
2. Users **write** articles, some are free and some are paid.
3. Other users **see** the articles. But to access the paid articles they need to have an **active subscription**.

How do I protect the paid articles, and allow only the members with an active subscription to access them? Thank you. 🙂

---

_[View the full topic](https://forum.algorand.co/t/how-to-add-a-layer-of-authorization-for-protected-content/7206)._
