can not share a SQLite database between two shiny applications in RStudio server.

I have two shiny application app1 and app2. Both app1 and app2 need to use a common SQLite database 'dbLogin'. app1 use 'dbLogin' for login access while app2 use 'dbLogin' for update and manipulation of login information. In local computer, I put dbLogin in a local directory and use the directory path in app1 and app2 for accessing the databases successfully. How can I do it in RStudio server?.