# Sharing same file between two Apps

**URL:** <https://forum.legato.io/t/sharing-same-file-between-two-apps/3871>\
**Category:** Legato Application Framework\
**Created:** [November 9, 2018, 2:27pm UTC](https://forum.legato.io/t/sharing-same-file-between-two-apps/3871 "2018-11-09T14:27:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asifarshad](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@asifarshad](https://forum.legato.io/u/asifarshad)\
**Post date:** [November 9, 2018, 2:27pm UTC](https://forum.legato.io/t/sharing-same-file-between-two-apps/3871/1 "2018-11-09T14:27:08Z")

</div>

Is there any mechanism to write a file from one app and read from another the same file?

---

<div class="post-metadata">

**Author:** ![riotc](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@riotc](https://forum.legato.io/u/riotc)\
**Post date:** [November 15, 2018, 5:18pm UTC](https://forum.legato.io/t/sharing-same-file-between-two-apps/3871/2 "2018-11-15T17:18:07Z")

</div>

Hello @asifarshad, Could you elaborate on your requirement? File I/O operations can be performed to write to a file from one app and read from another app.

---

<div class="post-metadata">

**Author:** ![asifarshad](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@asifarshad](https://forum.legato.io/u/asifarshad)\
**Post date:** [November 16, 2018, 7:31am UTC](https://forum.legato.io/t/sharing-same-file-between-two-apps/3871/3 "2018-11-16T07:31:49Z")

</div>

Thanks for your reply. I have decided to go with databases rather than files. Any information on that would be appreciated.

---

<div class="post-metadata">

**Author:** ![riotc](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@riotc](https://forum.legato.io/u/riotc)\
**Post date:** [November 19, 2018, 5:04pm UTC](https://forum.legato.io/t/sharing-same-file-between-two-apps/3871/4 "2018-11-19T17:04:41Z")

</div>

Hello @asifarshad, You can use SQLite if you wish to go for databases. [This link](https://forum.mangoh.io/t/database-support/93/13) will help you with the information on SQLite compilation and bundling procedure in an app.
