ms access - How to secure VBA code and Connection strings in MDB database -
i have mdb database plenty of vba code, there connection strings database. need have both connection strings hidden, , vba code unavailable. in general need disable functionality granted through shift-clicking database file.
i tried making mde seemed have no actual impact though no errors thrown, mde accessible.
thanks!
in addition creating mde, can:
- disable shift-clicking
- hide database window
(this link shows how manually in options - it's possible vba, can't find example right now. can tomorrow if you're interested)
at work, have "publish" process create mde and things linked above.
edit:
creating mde is realistic way prevent access vba code - mdes contain no code , can't edit forms , reports.
thing can in mde opening database window , view/edit tables. can kind of prevent disabling shift-clicking , hiding database window (see links above).
note it's still possible link tables in ms access database , view/edit them. there's no 100% proof way secure put table.
when put connection strings vba code , remove code creating mde, it's not possible connection string out of mde.
Comments
Post a Comment