473,325 Members | 2,860 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,325 software developers and data experts.

Hiding a table contents using security

Hi all,
Is it possible to have the table view hidden, but allow a user to view the
table contents through a query or linked form ?

Thanks in advance.

Gerry Abbott

Nov 18 '05 #1
5 1575
Gerry,

You can force your table to become hidden from the database window by
prepending its name with "MSys". Access hides all tables that have the
"MSys" prefix, as they are considered system tables and hold some great
stuff, like all the objects in your database.

Nov 18 '05 #2
HI Steve,
Thanks for the quick reply .

But can the user not just select unhide system tables, from the options
menu?

Gerry

"Steve" <th*********@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Gerry,

You can force your table to become hidden from the database window by
prepending its name with "MSys". Access hides all tables that have the
"MSys" prefix, as they are considered system tables and hold some great
stuff, like all the objects in your database.

Nov 18 '05 #3
Definitely. If you want table security, use Access' built-in security
system (it has table-level security, I believe) or write your own.
Incidentally, it would be pretty tough to write custom security that
would prevent users from accessing a system table. What I usually do
with all my programs is set a startup form, hide the database window,
disable design view, etc. Then the user can't get to the point where he
can look at tables or any other objects unless you let him. Note that
users will still be able to get into design view, etc. if you don't
disable using the Shift key while opening the database.

Nov 18 '05 #4
Yeah Steve,
think you've confirmed my suspicions, that I cannot directly prevent a user
from looking at the table, if a form based on the table needs to display the
data.
Your suggestion about the shift key disable, with a hidden database object,
is the way to go, along with access security. ((I have some code for
disabling the shift key, and it works fine) .

Cheers.
Gerry
"Steve" <th*********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Definitely. If you want table security, use Access' built-in security
system (it has table-level security, I believe) or write your own.
Incidentally, it would be pretty tough to write custom security that
would prevent users from accessing a system table. What I usually do
with all my programs is set a startup form, hide the database window,
disable design view, etc. Then the user can't get to the point where he
can look at tables or any other objects unless you let him. Note that
users will still be able to get into design view, etc. if you don't
disable using the Shift key while opening the database.

Nov 19 '05 #5

"Gerry Abbott" <pl****@ask.ie> wrote in message
news:D3****************@news.indigo.ie...
Yeah Steve,
think you've confirmed my suspicions, that I cannot directly prevent a user
from looking at the table, if a form based on the table needs to display the
data.
Your suggestion about the shift key disable, with a hidden database object, is
the way to go, along with access security. ((I have some code for disabling
the shift key, and it works fine) .


You can deny permission to the table and use a RWOP query in the Form's
RecordSource. That should result in a form that will show the records in the
table but no ability to open the table directly.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: F. Da Costa | last post by:
Following is a snippet of html in which I hide a whole table and try to hide a single row. Here is my question (plz don't chew my head off if its css related instead): Why does the divTable...
8
by: Fabian | last post by:
Is there a way to hiode the horizontal (but NOT the vertical) scrollbar? -- -- Fabian Visit my website often and for long periods! http://www.lajzar.co.uk
2
by: coolwarrior | last post by:
Hi, 1_I want to know the difference between "data hiding" , "steganography" ,"watermarking" ,"capsulation" related to DSP. 2_There r plenty of informaion about data hiding for images on the web...
1
by: luvdairish | last post by:
Can someone please look at my code and see why tables are not hiding properly? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Untitled Document</TITLE> <META...
38
by: | last post by:
I have a script... ----- <SCRIPT language="JavaScript" type="text/javascript"> <!-- function makeArray() { for (i = 0; i<makeArray.arguments.length; i++) this = makeArray.arguments; } ...
3
by: Chris | last post by:
I have a lookup table which contains authorisation codes for a particular operation. When a user makes a booking a random reference number is generated. The user obtains the code from his/her...
22
by: Mr Newbie | last post by:
I was thinking about developing a workflow application yesterday and was musing over the different approaches than one could take in restricting specific actions on a ticket( Form ) at any said...
1
by: TG | last post by:
Hi! I have an application in which I have some checkboxes and depending which ones are checked those columns will show in the datagridview from sql server or no. After that I have 2 buttons:...
7
by: TG | last post by:
hi! I am trying to create a sql server table from an excel sheet. Here is the code I have: 'This procedure the xlsx file and dumps it to a table in SQL Server
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.