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:

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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -