Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
sir , i m doveloping windows application and database Made in sql server2008 R2 but Client Required Data base in Ms Access... i made data table in ms Access 2010 and with the help of Internet because i m use ms access data base first time .. so ..
save and publish database ... problem is how to protect client only save and use database does not modify it so how to do that task , how to prevent change open database file in ms access and modified it ... and also one more question is:: i want to back up of ms Access database in Client machine for long time to use Data ...
Posted
Updated 13-Nov-13 23:10pm
v2

1 solution

protect your database file using password with the help of [This]link

and use this connection string for password protected db file

C#
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccessFile.accdb;
Jet OLEDB:Database Password=MyDbPassword;
 
Share this answer
 
Comments
Member 10315500 14-Nov-13 5:23am    
how to made this password= MyDbPassword any changes in my Ms Access Database
in making time of publish data base time
sir i m using ms access 2010 and save&publish database in ms access2003

give me path for this 2010 ms access

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