Actually, if this is a "My database and nobody else's" case, then simple protection via file access permissions would work better than anything else you could do inside the app. If you make the access control list (ACL) on the file correctly, nobody will even be able to open it. Just a note of warning: it is a bit tricky to modify an ACL correctly.
In a domain environment, there is usually a set of default permissions inherited by every file. This usually includes SYSTEM, ADMINISTRATOR, and one or more operator classes (e.g. Backup Operator), and your personal ACL would often be last in the list, or 2nd to last with a ValidatedUser option or something like that.
If you right-click on your database file, then follow Properties >> Security you will see the ACL. To keep everyone else away from it, add one more access control entry (ACE), Everybody Deny Access - but that entry MUST be the last entry because ACLs are processed in order of appearance. If you make that file "Everybody Deny" as the 1st ACE then even the system wouldn't be able to deal with it until a ticked-off IT security staffer got around to working some sys-admin magic on it. (Which usually ends up with a visit from that irate security person, who will hope to rub off some of that irritation onto you.)
If we have misunderstood your intent, then please clarify what you want to happen and when.