473,395 Members | 1,637 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Disable "Import Data" Option ?

Hello Guys.
I would like to know if there is a way [VB Code etc], which can prevent users to import data from an access database to another.

I have a database that I do not want users to be able to copy the data (tables, forms, reports, query, macros, modules etc) of this database to another one (using the import option of MS Access).

Thanks in advanced.
Mar 30 '08 #1
12 6590
noone can help ? Noone knows ?
Apr 13 '08 #2
Mai Le
19
noone can help ? Noone knows ?
I don't think we have this option in Access database, but you can hide tables, forms... then nobody could import your data..
- right click on table, select properties, select hidden then ok.
is that help.

Mai Le
Apr 13 '08 #3
missinglinq
3,532 Expert 2GB
To hide objects you have to do as Mai Le said and you have to go to Options - Views and under Show make sure the Hidden Objects is unchecked.

Whether or not this will help you depends on who you're trying to protect your data from and how savvy they are, Access wise. The visibility of the hidden table depends on how the option I mentioned above is set up in the potential data thief's copy of Access! If he has Show Hidden Objects checked, the table will still be open to being imported.

The sad truth is that Access security is really geared towards preventing non-authorized users from changing the design of the database, not from retrieving data. The built in "security" features has in previous versions of Access has been so poor that Microsoft dropped them altogether with v2007.

As I said, Access security, like all security, really, depends on who you're trying to secure against. If it's someone outside of your organization, they are general, non-Access specific things that can be done to prevent the stealing your data. But if the person you're concerned about has legitimate access to your network and/or Access apps, and has any real working knowledge of Access, security of your data is probably thru Acces is not really possible.

I've never worked with SQL Server or those types of back ends, and there may be something, security-wise, that you could do with one of them. Maybe one of my fellow inmates here can help you with that.

Good luck and welcome to bytes!

Linq ;0)>
Apr 13 '08 #4
PianoMan64
374 Expert 256MB
To hide objects you have to do as Mai Le said and you have to go to Options - Views and under Show make sure the Hidden Objects is unchecked.

Whether or not this will help you depends on who you're trying to protect your data from and how savvy they are, Access wise. The visibility of the hidden table depends on how the option I mentioned above is set up in the potential data thief's copy of Access! If he has Show Hidden Objects checked, the table will still be open to being imported.

The sad truth is that Access security is really geared towards preventing non-authorized users from changing the design of the database, not from retrieving data. The built in "security" features has in previous versions of Access has been so poor that Microsoft dropped them altogether with v2007.

As I said, Access security, like all security, really, depends on who you're trying to secure against. If it's someone outside of your organization, they are general, non-Access specific things that can be done to prevent the stealing your data. But if the person you're concerned about has legitimate access to your network and/or Access apps, and has any real working knowledge of Access, security of your data is probably thru Acces is not really possible.

I've never worked with SQL Server or those types of back ends, and there may be something, security-wise, that you could do with one of them. Maybe one of my fellow inmates here can help you with that.

Good luck and welcome to bytes!

Linq ;0)>
The only way you're going to keep the data from being pulled is to put the data in some other backend besides MS Access. MS Access doesn't have any security that you can employ from securing the data, if someone knows how to access the database and has appropriate access to the MDB file where the data is housed.

You'll need to either go to MS SQL or Oracle as a backend. A great deal more security options available for you.

If you would like details, let me know, I have experince in both.

Joe P.
Apr 14 '08 #5
I don't think we have this option in Access database, but you can hide tables, forms... then nobody could import your data..
- right click on table, select properties, select hidden then ok.
is that help.

Mai Le
I can't find this "hidden" option.
Apr 15 '08 #6
To hide objects you have to do as Mai Le said and you have to go to Options - Views and under Show make sure the Hidden Objects is unchecked.

Whether or not this will help you depends on who you're trying to protect your data from and how savvy they are, Access wise. The visibility of the hidden table depends on how the option I mentioned above is set up in the potential data thief's copy of Access! If he has Show Hidden Objects checked, the table will still be open to being imported.

The sad truth is that Access security is really geared towards preventing non-authorized users from changing the design of the database, not from retrieving data. The built in "security" features has in previous versions of Access has been so poor that Microsoft dropped them altogether with v2007.

As I said, Access security, like all security, really, depends on who you're trying to secure against. If it's someone outside of your organization, they are general, non-Access specific things that can be done to prevent the stealing your data. But if the person you're concerned about has legitimate access to your network and/or Access apps, and has any real working knowledge of Access, security of your data is probably thru Acces is not really possible.

I've never worked with SQL Server or those types of back ends, and there may be something, security-wise, that you could do with one of them. Maybe one of my fellow inmates here can help you with that.

Good luck and welcome to bytes!

Linq ;0)>
I did not really understand how I am going to hide my data and how I will set the options. Can you be more clearly pls ?
Apr 15 '08 #7
The only way you're going to keep the data from being pulled is to put the data in some other backend besides MS Access. MS Access doesn't have any security that you can employ from securing the data, if someone knows how to access the database and has appropriate access to the MDB file where the data is housed.

You'll need to either go to MS SQL or Oracle as a backend. A great deal more security options available for you.

If you would like details, let me know, I have experince in both.

Joe P.

It is very difficult to re-build the whoel database in another database software which I do not actually know how it works.
Apr 15 '08 #8
PianoMan64
374 Expert 256MB
It is very difficult to re-build the whoel database in another database software which I do not actually know how it works.
Without being able to develope in another backend, then you're limited as to your options to secure your data.

MS Access doesn't support any kind of user security except for the User accounts that can be held in the MDW file when you're using the MDB or MDE format. This is not supported in ACCBD or ACCDE format.

I'm not sure how you would like to proceed at this point. I would be willing to help you with any questions you have about mirgating over to either oracle or MS Access.

Joe P.
Apr 16 '08 #9
Without being able to develope in another backend, then you're limited as to your options to secure your data.

MS Access doesn't support any kind of user security except for the User accounts that can be held in the MDW file when you're using the MDB or MDE format. This is not supported in ACCBD or ACCDE format.

I'm not sure how you would like to proceed at this point. I would be willing to help you with any questions you have about mirgating over to either oracle or MS Access.

Joe P.
I agree with you. But It has been mentioned that I can hide the objects so not to be visible. Is this possible and how ?
Apr 17 '08 #10
pod
298 100+
Hello Guys.
I would like to know if there is a way [VB Code etc], which can prevent users to import data from an access database to another.

I have a database that I do not want users to be able to copy the data (tables, forms, reports, query, macros, modules etc) of this database to another one (using the import option of MS Access).

Thanks in advanced.
Not the best way but...
If you really want to secure your data, why don't you encrypt everything that goes into the database... this way anyone trying to retrieve the data will need your permission/key to decrypt it.
Apr 17 '08 #11
Not the best way but...
If you really want to secure your data, why don't you encrypt everything that goes into the database... this way anyone trying to retrieve the data will need your permission/key to decrypt it.

It's no use. This database is given to some persons for use and they know the encryption password. So they can import data into a new database anytime they want.
Apr 24 '08 #12
you can use this cod in hidding tables or unhidden them
Public Sub hide_on()
Dim c As String
Dim obj As AccessObject, dbs As Object
Set dbs = Application.CurrentData
' Search for open AccessObject objects in AllTables collection.
For Each obj In dbs.AllTables
c = obj.Name
If c Like "MSys*" Then

Else

Application.SetHiddenAttribute acTable, c, True
End If
Next obj
MsgBox "hide_on"
End Sub
-------------------------------------------------------------------------------------------------
Public Sub hide_off()
Dim c As String
Dim obj As AccessObject, dbs As Object
Set dbs = Application.CurrentData
' Search for open AccessObject objects in AllTables collection.
For Each obj In dbs.AllTables
c = obj.Name
If c Like "MSys*" Then

Else

Application.SetHiddenAttribute acTable, c, False
End If
Next obj
MsgBox "hide_off"
End Sub
Jul 22 '08 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Vio | last post by:
Hi, I've been trying to embed (statically) wxPy alongside an embedded py interpreter on a linux/gtk box. At one point, for some reason misc.o linking reported "multiple definitions of...
0
by: Bill Davy | last post by:
I am working with MSVC6 on Windows XP. I have created an MSVC project called SHIP I have a file SHIP.i with "%module SHIP" as the first line (file is below). I run SHIP.i through SWIG 1.3.24...
3
by: 21novembre | last post by:
Hi all, I made a question several days before to describe my strange trouble of mysqldump. But I still can't figour it out. Well, I just want to ask another question whether I could just backup...
2
by: VMI | last post by:
In Access, when a user's going to import a fixed-width format ascii file, a window in the "Import Text Wizard" lets the user "mark" where in a string one field will begin and end (with the vertical...
3
by: Mudcat | last post by:
I have a directory structure that contains different modules that run depending on what the user selects. They are identical in name and structure, but what varies is the content of the functions....
0
by: earsypaul | last post by:
Hello, With MS SQL server we can bcp hexadecimal data into varbinary columns quite nicely. We're migrating some data to DB2 and trying to import to a "varchar for bit data" data type column....
3
by: Chris | last post by:
Hi, 1) In file test.aspx, i put: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %> <%@ import namespace="System.Data"%> <%@ import...
1
by: Eric Hanchrow | last post by:
(This is with Python 2.5.2, on Ubuntu Hardy, if it matters.) This seems so basic that I'm surprised that I didn't find anything about it in the FAQ. (Yes, I am fairly new to Python.) Here are...
3
by: J. Cliff Dyer | last post by:
On Thu, 2008-05-08 at 12:00 -0700, Eric Hanchrow wrote: It's the same reason as this: 5 5 6 5 Python "variables" are just names that point at objects. When you
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.