Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
1.11/5 (2 votes)
See more:
My Database Application set on F: drive,
so i want to set security feature to know about is that some body copy my database and paste to another PC so those who copy my database is not run in another PC its possible or not or in access VBA i had set MAC address for my PC so anyone copy and paste another PC the database not run so any solution in access VBA that i set mac Address to my application database..
Posted

1 solution

MS Access databse is just a file, which can be moved to any destination. There is no way to protect it from moving/copying to another folder on the VBA level. You can secure this file from opening/editing by doing several things...
10 tips for securing a Microsoft Access database[^]
Description of how to help protect a Microsoft Access database [^]

Personally, when i've been a MS Access database developer, i've been doing most of above recommendations and additionally a client - server model. How?

Client requirements:
- secured by custom authentication form,
- no tables (even linked tables),
- all forms, macros, etc.,
- path to the server database is saved in custom property[^].

Server requirements:
- all tables, queries
- secured by password

User opens a client database and must authenticate by passing login and password. Client reads connection string from custom property and connects required tables on demand...
 
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