Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I create an simple c# application using Microsoft access database.But the database can open anyone using MS access. how can i stop opening my mdb file. please help me!!!!!
Posted

See the Following Links to Make Your Access DataBase Password Protected :

http://databases.about.com/od/tutorials/ss/passwordprotect.htm[^]
http://office.microsoft.com/en-us/access-help/create-change-or-remove-passwords-mdb-HP005188275.aspx[^]
http://voices.yahoo.com/microsoft-access-tutorial-password-protect-2350424.html[^]
http://www.databasedev.co.uk/database_password.html[^]

Please Note that if your Database is Password Protected then you have to Pass these credentials in Connection String While Connecting to DataBase from application.
I hope it will help you. :)
 
Share this answer
 
I don't know why you are asking this instead of searching in google. Password Protecting an Access 2010 Database[^] may solve your problem.

May be this[^] can add a plugin in my answer.

You should also know How to Set Database Password and Unset Database Password[^] in MS Access.


--Amit
 
Share this answer
 
Yes, this can be done very easily!

prior to 2003:
Make mde
see:
http://www.databasedev.co.uk/microsoft-access-mde.html
http://www.databasedev.co.uk/convert...ess-files.html

2007:
make accde
see:
http://www.databasedev.co.uk/convert...de_format.html

In all cases, make sure you keep your original file safe for futur changes!!!
--
Hope this helps you,

Regard
Sham
:)
 
Share this answer
 
Did you try Hiding the database window? In the Tools menu of the MS Access database, click on Startup. On the right side of the dialog box, uncheck the Display Database Window checkbox. That will prevent the database from being viewed. Most users don't know how to UnHide the window.
 
Share this answer
 
how can i stop, creating .ldb file on same directory. I locked this method using lot of programmes..
 
Share this answer
 
any one know about "Could not lock file" Error message in Microsoft acssess
 
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