# Multi Tenancy

**URL:** <https://forum.canton.network/t/multi-tenancy/871>\
**Category:** App Development\
**Tags:** daml\
**Created:** [July 17, 2020, 1:46pm UTC](https://forum.canton.network/t/multi-tenancy/871 "2020-07-17T13:46:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean\_Safar](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/jean_safar/32/186_2.png) [@Jean\_Safar](https://forum.canton.network/u/Jean_Safar)\
**Post date:** [July 17, 2020, 1:46pm UTC](https://forum.canton.network/t/multi-tenancy/871/1 "2020-07-17T13:46:05Z")

</div>

Hi,

Our first deployment will not be decentralized by running DAML on PostgreSQL for example. What is the best way to have multi tenancy, achieved on one node? Is it to login with one’s token each time?

Best regards-

---

<div class="post-metadata">

**Author:** ![stefanobaghino-da](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stefanobaghino-da/32/7057_2.png) [@stefanobaghino-da](https://forum.canton.network/u/stefanobaghino-da)\
**Post date:** [July 17, 2020, 2:13pm UTC](https://forum.canton.network/t/multi-tenancy/871/2 "2020-07-17T14:13:37Z")

</div>

Indeed, enabling authorization on the Ledger API will ensure that only parties with a valid token will be able to perform operations on the ledger as defined by the contracts loaded onto it. Note that this will not require a full login procedure each time. As long as the token is valid it can be used. The client should make sure to acquire a new token when the previous expires.
