# Enabling and Application on for a Database Connection vs Enabling a Database Connection for an Application

**URL:** <https://community.auth0.com/t/enabling-and-application-on-for-a-database-connection-vs-enabling-a-database-connection-for-an-application/84519>\
**Category:** Get Help\
**Tags:** applications, database-connections\
**Created:** [June 3, 2022, 2:08am UTC](https://community.auth0.com/t/enabling-and-application-on-for-a-database-connection-vs-enabling-a-database-connection-for-an-application/84519 "2022-06-03T02:08:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhysa](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rhysa/32/35147_2.png) [@rhysa](https://community.auth0.com/u/rhysa)\
**Post date:** [June 3, 2022, 2:08am UTC](https://community.auth0.com/t/enabling-and-application-on-for-a-database-connection-vs-enabling-a-database-connection-for-an-application/84519/1 "2022-06-03T02:08:25Z")

</div>

When editing an application you can enable/disable databases on the Connections tab, and when editing a database connection you can enable/disable applications on the Applications tab. As far as can tell these are separate settings. What’s the difference between setting each of them?

---

<div class="post-metadata">

**Author:** ![mj.phong](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mj.phong/32/37722_2.png) [@mj.phong](https://community.auth0.com/u/mj.phong)\
**Post date:** [June 3, 2022, 7:26am UTC](https://community.auth0.com/t/enabling-and-application-on-for-a-database-connection-vs-enabling-a-database-connection-for-an-application/84519/2 "2022-06-03T07:26:31Z")

</div>

Hi @rhysa  
In my opinion, it is totally the same to allow which user database can be accessed by which Application.  
However, a small note is that on the Application configuration, you will be able to delegate permissions to specify what the application can do on the database.  
If you use the API then you will see this clearly. API does not interact directly with the data, it goes through Application, so you can design Application A to read only data, Application B can modify data.

Hope this helps.  
Mj.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 21, 2024, 10:51pm UTC](https://community.auth0.com/t/enabling-and-application-on-for-a-database-connection-vs-enabling-a-database-connection-for-an-application/84519/3 "2024-11-21T22:51:40Z")

</div>

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