- Local time
- Yesterday, 22:24
- Joined
- Oct 29, 2018
- Messages
- 22,449
Hi. As I said earlier, since you're using a file-based security, you cannot prevent anyone from stealing the file and breaking your security. However, I would say the above quoted statement is not entirely true. If you put an Access database in a non-Trusted Location, VBA is disabled, but macros are not. So, when you say "they have disabled macros," I would like to know how exactly "they" are doing this. In any case, I told you what you could do to avoid giving away what you don't want them to steal, which was, don't include anything in the file unless the code can run. In other words, if the user improperly opens your db, it's empty. Otherwise, it's full of stuff. Also, telling us exactly what you're trying to protect would help in giving you more specific advise. For example, if you're trying to protect your VBA code from being modified or copied, then you can convert/compile your application into a ACCDE.The whole thing is out the window if they have disabled macros or copied the database to un-trusted location, in which case the 'Autoexec' (verify user function) is not performed. Now they have access to everything.