I have to solve how to disable importing tables and queries from my
database to some other database. Do you have any solution for that ?
Hum, no, not really. You could setup security, but at the end of the day, it
is should not be a big deal that someone can import the quires and table
defs.
At the end of the day, if you need the data to be secure, then move the data
to true database server, and require rights and logons to that database. The
fact that some users can import the queries and table defs form your mde
file is really moot. This in no way gives away your application, or allows
them to modify the forms and the valuable code logic that you write.
You certainly could setup a logon prompt and then use this logon stuff to
setup the links in tables so they connect to sql server. I mean, if you
give a password and logon to your sql server, then what stops the uses from
grabbing that data with Excel?
If you need to hide your code and forms, then use a mde. If you need to
secure the data, then put the data on sql server, or the server of your
choice. However, it is going to be up to you how much rights you give each
user to that server. In most cases, if your uses edit that data on the
server, then the users can copy it.
It is not clear if you are trying to protect the data on the server, or your
appliation?