dbTalk Databases Forums  

Hidden Tables

comp.databases.ms-access comp.databases.ms-access


Discuss Hidden Tables in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Charles Hottel
 
Posts: n/a

Default Hidden Tables - 03-05-2011 , 10:25 AM






I am an experienced programmer, but I am relatively inexperienced in using
VBA. I am working on a project developed by others who no longer work
here, so I have to figure things out on my own. The people on this
newsgroup have been very helpful and I thank you.

Here is my scenario:

I was reading some code and it contained a 'DoCmd.TransferDatabase", an SQL
'INSERT INTO' and a 'DoCmd.RunSQL'. Together they seemed to create a new
table, linked to a table in another database on our server, and loaded with
data from the server database table.

However when I examined the server database I did not see the table that was
being used. I thought that perhaps I was not reading the code correctly.
So I set some breakpoints and started using the VBA debugging facilities.
This was my first time using the debugger and I found it to meet all my
needs quite well. Anyway I confirmed to my satisfaction that I was reading
the code correctly. In the course of learning to use the debugger I printed
out a help page on 'Object Properties" and down at the bottom of the page it
mentioned hidden objects and how to make them visible. This was serendipity.
I followed the instructions and sure enough the table became visible and I
could examine it to obtain the information I needed to understand the code
more fully.

Now this table does not contain highly sensitive information. It simply
contains a list of Switchboard like options to be displayed on a form, from
which the user can select. I think different users have different
authorizations and this controls which options they are presented with. Of
course there is no written documentation on the application and one of my
tasks is to create documentation.

When the table I was looking for appeared I felt both relieved and a little
pissed off. I do see any real reason why this table should be hidden in
this particular way. My question is this: Is it common to hide tables like
this, and if so what do you consider legitimate reasons for doing so.

Reply With Quote
  #2  
Old   
imb
 
Posts: n/a

Default Re: Hidden Tables - 03-05-2011 , 04:27 PM






On Mar 5, 5:25*pm, "Charles Hottel" <chot... (AT) earthlink (DOT) net> wrote:
Quote:
I am an experienced programmer, but I am relatively inexperienced in using
VBA. *I *am working on a project developed by others who no longer work
here, so I have to figure things out on my own. *The people on this
newsgroup have been very helpful and I thank you.

Here is my scenario:

I was reading some code and it contained a 'DoCmd.TransferDatabase", an SQL
'INSERT INTO' *and a 'DoCmd.RunSQL'. Together they seemed to create a new
table, linked to a table in another database on our server, and loaded with
data from the server database table.

However when I examined the server database I did not see the table that was
being used. *I thought that perhaps I was not reading the code correctly.
So I set some breakpoints and started using the VBA debugging facilities.
This was my first time using the debugger and I found it to meet all my
needs quite well. *Anyway I confirmed to my satisfaction that I was reading
the code correctly. *In the course of learning to use the debugger I printed
out a help page on 'Object Properties" and down at the bottom of the pageit
mentioned hidden objects and how to make them visible. This was serendipity.
I followed the instructions and sure enough the table became visible and I
could examine it to obtain the information I needed to understand the code
more fully.

Now this table does not contain highly sensitive information. *It simply
contains a list of Switchboard like options to be displayed on a form, from
which the user can select. *I think different users have different
authorizations and this controls which options they are presented with. Of
course there is no written documentation on the application and one of my
tasks is to create documentation.

When the table I was looking for appeared I felt both relieved and a little
pissed off. *I do see any real reason why this table should be hidden in
this particular way. *My question is this: Is it common to hide tables like
this, and if so what do you consider legitimate reasons for doing so.

Hi Charles,

The most important reason for me to hide objects, is that users
“without knowledge” at least have a threshold not to damage the
object.

Imb.

Reply With Quote
  #3  
Old   
John Spencer
 
Posts: n/a

Default Re: Hidden Tables - 03-06-2011 , 02:43 PM



I suspect that the designer did not want the users to see what is basically an
application table and if changes were made to the table then the application
might fail.

I've also seen all (or almost all) tables hidden in a delivered application to
inhibit the users ability to directly access the tables and thereby "go
around" logic built in the entry forms.


John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

On 3/5/2011 5:27 PM, imb wrote:
Quote:
On Mar 5, 5:25 pm, "Charles Hottel"<chot... (AT) earthlink (DOT) net> wrote:
I am an experienced programmer, but I am relatively inexperienced in using
VBA. I am working on a project developed by others who no longer work
here, so I have to figure things out on my own. The people on this
newsgroup have been very helpful and I thank you.

Here is my scenario:

I was reading some code and it contained a 'DoCmd.TransferDatabase", an SQL
'INSERT INTO' and a 'DoCmd.RunSQL'. Together they seemed to create a new
table, linked to a table in another database on our server, and loaded with
data from the server database table.

However when I examined the server database I did not see the table that was
being used. I thought that perhaps I was not reading the code correctly.
So I set some breakpoints and started using the VBA debugging facilities.
This was my first time using the debugger and I found it to meet all my
needs quite well. Anyway I confirmed to my satisfaction that I was reading
the code correctly. In the course of learning to use the debugger I printed
out a help page on 'Object Properties" and down at the bottom of the page it
mentioned hidden objects and how to make them visible. This was serendipity.
I followed the instructions and sure enough the table became visible and I
could examine it to obtain the information I needed to understand the code
more fully.

Now this table does not contain highly sensitive information. It simply
contains a list of Switchboard like options to be displayed on a form, from
which the user can select. I think different users have different
authorizations and this controls which options they are presented with. Of
course there is no written documentation on the application and one of my
tasks is to create documentation.

When the table I was looking for appeared I felt both relieved and a little
pissed off. I do see any real reason why this table should be hidden in
this particular way. My question is this: Is it common to hide tables like
this, and if so what do you consider legitimate reasons for doing so.


Hi Charles,

The most important reason for me to hide objects, is that users
“without knowledge” at least have a threshold not to damage the
object.

Imb.

Reply With Quote
  #4  
Old   
Charles Hottel
 
Posts: n/a

Default Re: Hidden Tables - 03-06-2011 , 06:49 PM



"John Spencer" <JSPENCER (AT) Hilltop (DOT) umbc> wrote

Quote:
I suspect that the designer did not want the users to see what is basically
an application table and if changes were made to the table then the
application might fail.

I've also seen all (or almost all) tables hidden in a delivered
application to inhibit the users ability to directly access the tables and
thereby "go around" logic built in the entry forms.

snip

What makes this a better solution than usinga .mde database?

Reply With Quote
  #5  
Old   
Bob Barrows
 
Posts: n/a

Default Re: Hidden Tables - 03-07-2011 , 12:37 AM



Charles Hottel wrote:
Quote:
"John Spencer" <JSPENCER (AT) Hilltop (DOT) umbc> wrote in message
news:il0rma$qf1$1 (AT) news (DOT) eternal-september.org...
I suspect that the designer did not want the users to see what is
basically an application table and if changes were made to the table
then the application might fail.

I've also seen all (or almost all) tables hidden in a delivered
application to inhibit the users ability to directly access the
tables and thereby "go around" logic built in the entry forms.

snip

What makes this a better solution than usinga .mde database?
The question really does not seem to follow. Using an mde database would
prevent users from modifying the design of the objects in the database, not
the data. Hiding the tables is an attempt to protect the data. And as you
discovered, hiding the tables is not really an effective way of protecting
the data in the tables except from non-knowledgeable users. Security by
obscurity only protects data from honest users.

Reply With Quote
  #6  
Old   
Charles Hottel
 
Posts: n/a

Default Re: Hidden Tables - 03-07-2011 , 11:14 PM



"Bob Barrows" <reb01501 (AT) NOSPAMyahoo (DOT) com> wrote

Quote:
Charles Hottel wrote:
"John Spencer" <JSPENCER (AT) Hilltop (DOT) umbc> wrote in message
news:il0rma$qf1$1 (AT) news (DOT) eternal-september.org...
I suspect that the designer did not want the users to see what is
basically an application table and if changes were made to the table
then the application might fail.

I've also seen all (or almost all) tables hidden in a delivered
application to inhibit the users ability to directly access the
tables and thereby "go around" logic built in the entry forms.

snip

What makes this a better solution than usinga .mde database?

The question really does not seem to follow. Using an mde database would
prevent users from modifying the design of the objects in the database,
not the data. Hiding the tables is an attempt to protect the data. And as
you discovered, hiding the tables is not really an effective way of
protecting the data in the tables except from non-knowledgeable users.
Security by obscurity only protects data from honest users.

Thanks, I don't know what I was thinking when I posted that.

Reply With Quote
  #7  
Old   
Charles Hottel
 
Posts: n/a

Default Re: Hidden Tables - 03-08-2011 , 12:02 PM



"Charles Hottel" <chottel (AT) earthlink (DOT) net> wrote

Quote:
"Bob Barrows" <reb01501 (AT) NOSPAMyahoo (DOT) com> wrote in message
news:il1ug8$o7h$1 (AT) news (DOT) eternal-september.org...
Charles Hottel wrote:
"John Spencer" <JSPENCER (AT) Hilltop (DOT) umbc> wrote in message
news:il0rma$qf1$1 (AT) news (DOT) eternal-september.org...
I suspect that the designer did not want the users to see what is
basically an application table and if changes were made to the table
then the application might fail.

I've also seen all (or almost all) tables hidden in a delivered
application to inhibit the users ability to directly access the
tables and thereby "go around" logic built in the entry forms.

snip

What makes this a better solution than usinga .mde database?

The question really does not seem to follow. Using an mde database would
prevent users from modifying the design of the objects in the database,
not the data. Hiding the tables is an attempt to protect the data. And as
you discovered, hiding the tables is not really an effective way of
protecting the data in the tables except from non-knowledgeable users.
Security by obscurity only protects data from honest users.

Thanks, I don't know what I was thinking when I posted that.

I guess I was thinking that with a .mde the user would not see the source
code and would not know that data from the server was being used. Hoever
you are right, if they see the table they could change the data.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.