# Can I bind an asset canister to a motoko canister?

**URL:** <https://forum.dfinity.org/t/can-i-bind-an-asset-canister-to-a-motoko-canister/28072>\
**Category:** Developers\
**Created:** [March 3, 2024, 7:56am UTC](https://forum.dfinity.org/t/can-i-bind-an-asset-canister-to-a-motoko-canister/28072 "2024-03-03T07:56:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbole](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rbole/32/1334_2.png) [@rbole](https://forum.dfinity.org/u/rbole)\
**Post date:** [March 3, 2024, 7:56am UTC](https://forum.dfinity.org/t/can-i-bind-an-asset-canister-to-a-motoko-canister/28072/1 "2024-03-03T07:56:17Z")

</div>

Is there a way to bind an Asset canister to a dedicated Motoko canister ?

If I have a dfx.json file with two canister, an Asset canister for a frontend application and a backend Motoko canister, which is hosting the data.

How can I make sure, that only the frontend canister can query the public functions from the Motoko canister ?

---

<div class="post-metadata">

**Author:** ![domwoe](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/domwoe/32/5165_2.png) [@domwoe](https://forum.dfinity.org/u/domwoe)\
**Post date:** [March 3, 2024, 9:31am UTC](https://forum.dfinity.org/t/can-i-bind-an-asset-canister-to-a-motoko-canister/28072/2 "2024-03-03T09:31:13Z")

</div>

Hey @rbole,

the asset canister doesn’t call/query your backend canister. The asset canister only holds static assets that your browser will download. It’s the application in your browser that will call/query your backend canister with the Identity you attach to the agent.

---

<div class="post-metadata">

**Author:** ![rbole](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rbole/32/1334_2.png) [@rbole](https://forum.dfinity.org/u/rbole)\
**Post date:** [March 3, 2024, 4:02pm UTC](https://forum.dfinity.org/t/can-i-bind-an-asset-canister-to-a-motoko-canister/28072/3 "2024-03-03T16:02:44Z")

</div>

Hey @domwoe thank you, That’s my observation too, I just wanted to make sure I understood it correctly, thanks.
