473,657 Members | 2,806 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Linking to certain fields of a table

7 New Member
Greetings,

This seems like it should be a simple problem, but I'm new to Access and my digging hasn't yielded a solution. I would like to create a table in a non-protected database that contains only certain (non-sensitive) fields selected from a table in a password-protected database. I need the fields in the new table to update automatically when changes are made to the original table. I need the unsecured table so that I can query it from MATLAB without having to hard-code the password to the secure database.

I've tried linking to the table from the non-secure database, but could not delete the sensitive fields, and hiding them does not provide the level of security I need.

I don't think a relationship between the two is appropriate, as the second table will be only a subset of the first. I also tried using a sub-datasheet, unsuccessfully.

At present I don't have administrative rights to apply user-level security, though so far this looks like it may be the only long-term solution. Is there something I'm missing? Thanks so much! (Access 2003)
Jul 24 '07 #1
6 2026
FishVal
2,653 Recognized Expert Specialist
Greetings,

This seems like it should be a simple problem, but I'm new to Access and my digging hasn't yielded a solution. I would like to create a table in a non-protected database that contains only certain (non-sensitive) fields selected from a table in a password-protected database. I need the fields in the new table to update automatically when changes are made to the original table. I need the unsecured table so that I can query it from MATLAB without having to hard-code the password to the secure database.

I've tried linking to the table from the non-secure database, but could not delete the sensitive fields, and hiding them does not provide the level of security I need.

I don't think a relationship between the two is appropriate, as the second table will be only a subset of the first. I also tried using a sub-datasheet, unsuccessfully.

At present I don't have administrative rights to apply user-level security, though so far this looks like it may be the only long-term solution. Is there something I'm missing? Thanks so much! (Access 2003)
Hi.

Actually you don't need to link external table to query it. You can query external table using SELECT...FROM.. .IN... syntax.
Example for password protected external db query
Expand|Select|Wrap|Line Numbers
  1. SELECT * 
  2. FROM tblTable IN 'Z:\db1.mdb'[MS Access;PWD=Password;DATABASE=Z:\db1.mdb];
  3.  
Good luck.
Jul 24 '07 #2
bmoore
7 New Member
Thanks for the reply, FishVal,

I did follow your advice and get the query to run, which was more than I knew how to do before. My concern with this is the same as with running the query from MATLAB, however. The password to the protected database is exposed in the un-protected database to anyone who looks at the SQL-view, so it's not an acceptable security situation. When I link to the table, on the other hand, it seems that the password is not stored in a way that can be viewed by other users. This is what I'm after. Any ideas?
Jul 24 '07 #3
FishVal
2,653 Recognized Expert Specialist
Thanks for the reply, FishVal,

I did follow your advice and get the query to run, which was more than I knew how to do before. My concern with this is the same as with running the query from MATLAB, however. The password to the protected database is exposed in the un-protected database to anyone who looks at the SQL-view, so it's not an acceptable security situation. When I link to the table, on the other hand, it seems that the password is not stored in a way that can be viewed by other users. This is what I'm after. Any ideas?
Sorry Bmoore, so far it seems to me that user-level security in intermediate db is the only way.
BTW password could be more or less easily retrieved from linked table.
Expand|Select|Wrap|Line Numbers
  1. ? CurrentDB.TableDefs("LinkedTableName").Connect 
in VBA immediate window.
Jul 24 '07 #4
bmoore
7 New Member
Sorry Bmoore, so far it seems to me that user-level security in intermediate db is the only way.
BTW password could be more or less easily retrieved from linked table.
Expand|Select|Wrap|Line Numbers
  1. ? CurrentDB.TableDefs("LinkedTableName").Connect 
in VBA immediate window.
Thanks - that's what I needed to know. If linking isn't necessarily a secure solution, either, then it looks like user-level security will be the best way for us to go, even if it takes some work to get there. I appreciate your help!
Jul 25 '07 #5
FishVal
2,653 Recognized Expert Specialist
Thanks - that's what I needed to know. If linking isn't necessarily a secure solution, either, then it looks like user-level security will be the best way for us to go, even if it takes some work to get there. I appreciate your help!
Thanks.

I've actually meant this
At present I don't have administrative rights to apply user-level security, though so far this looks like it may be the only long-term solution. Is there something I'm missing? Thanks so much! (Access 2003)
You can apply user-level security on db containing one above mentioned query not dealing with the main db. The only disadvantage is that performance may be lower.
Jul 25 '07 #6
bmoore
7 New Member
Okay, that sounds like a good solution - and faster to implement. I can work on getting the necessary permissions, but setting up security on the intermediate db will be a good start. Thanks...
Jul 25 '07 #7

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

Similar topics

1
8733
by: Larry Peeters | last post by:
Hi, I have created a very simple query to link two tables on 4 fields. However, in certain cases, one of the fields used to link the table may contain nulls (in both tables, so this should still be a match). Access won't return these records. If the fields are filled with actual values, everything is fine. Can somebody help me on this one?
2
4746
by: Phil S | last post by:
I used the Migration Workbench for Oracle 9.2 Client to migrate the tables in an Access 2K back-end database to Oracle. (The Migration Workbench is intended to automate the process of migrating tables from Access to Oracle.) Following the migration, when I try to link the Oracle table to the Access front-end using Oracle ODBC Driver, I have to either select one or more fields in the Oracle table as key fields or not have any key fields. ...
14
2947
by: diskoduro | last post by:
Hi!! Years ago I built a database to control the production of a little factory. The users wanted to work in a Windows Net workgroup so I created an mdb with all the tables and data an after that every user had his own mde linked to the main mdb. Year by year, progressively the number of records has been growing and the speed of the application has decreased strongly, because of the grrrreat number of records stored.
2
1591
by: Olly | last post by:
Find an id number not present in a linking table I have a linking table (tblPayment) that monitors the subscriptions from members. However, I need a query that can compare the ID number fields from both tables, and show the ID numbers only that are not in tblPayment. My current query is like the one bellow: MemberID MemberID Year Term
11
4516
by: dskillingstad | last post by:
I've been struggling with this problem for some time and have tried multiple solutions with no luck. Let me start with, I'm a novice at Access and I'm not looking for someones help to design my database,just help in getting me pointed in the right direction. I have a database with 8 tables, which from what I have read, cannot be linked on a single form, and be updatable. I have created a query which includes all 8 tables, and then...
0
1628
by: Pat Sagaser via .NET 247 | last post by:
I'm using a repeater with a dynamic template. I don't know the fields to display (or how many) until runtime. I have everything working except for linking Button events to the repeaters ItemCommand (see below). I've found plenty of examples for doing it using <ItemTemplate> in the aspx file, but I'm stumped when it comes to doing it dynamically at run time. /////////////////////////// .apsx file: <%@ Page language="c#"...
3
3151
by: ARC | last post by:
I'm having trouble here with Access 2007 and connecting to a different database. The code below works great IF the previous back-end database connection is still present and you are trying to connect to a new location (ie: datapath variable below). However, if you remove or even rename the old database, then launch your program, the code fails on the mytable.refreshlink line with an error 3044. (Description of that error is: 'C:\pc
2
1933
by: occyink | last post by:
I run a website selling cartridges. My stock on the website is in a MySql database. My accounts package and invoicing software runs on an Access database. In my website databse there is a table called products, on my accounts Access database there is a table called items. I am trying to link certain fields in MySql database with certain fields in Access database. The reason for this is so when I update the price in the accounts database (access)...
2
4946
by: mburns | last post by:
Hello all- I was wondering if it is possible to link an Access query or table to a Word document and pull specific information into Word by manually entering a unique identifier, which would then pull all related fields from Access to the Word document. My goal is to develop a Word template that pulls certain fields from an Access query or table. For example, some of the fields I would like to pull from Access are etc..... But I would...
0
8403
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8316
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8833
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8737
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8610
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6174
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5636
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4327
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2735
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.