Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all
My name is Sarfaraz. I have actually created a project in vb6 and Ms Access. Now I have created a setup of my project and after i installed it on another computer it works fine but i have an issue i.e the database installed by the set up is open to anyone using that computer.
Anyone can open the tables and delete the records or insert new records from backend (Access tables).
I want a method so that no one can access/see the database and tables.
I Have used security for opening the database i,e after opening database it ask for a pasword. Is this the only method or there is some other method to solve this problem.

Thank you in advance.

Sarfaraz
Posted

For your issue, setting password is the only way to protect someone from accessing your database.

Through code you can always use DCL statements such as GRANT, DENY on tables.
 
Share this answer
 
Comments
Maciej Los 17-Sep-12 17:02pm    
Not necessary... ;) Read my answer.
+5!
You can use simple trick to deny users to open your database in MS Access and to see the content of database (tables, queries)...
http://www.access-programmers.co.uk/forums/showthread.php?t=51479[^]
But remeber, first hide DB window on startup (Tools->Options menu).

This will not prevent user to see the objects in the database using another database (users can still connect to your database). So, Trilok Arora has right writing: "setting password is the only way to protect someone from accessing your database" ;)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900