To verify your second answer, i made two applications with same folder structure (package structure viz 'com.al.db'). Both applications can access the database named "books" that i have created. I dont want this. If anyone created the database, no any other application should be able to access the database. Can i achieve that?
I also have one more query.
If some one moved database file from my folder structure and kept it in his folder structure, he also can make use of it. How can we avoid that?