Re: Access link table security

From: Mary Chipman (mchip@nomail.please)
Date: 11/30/02


From: Mary Chipman <mchip@nomail.please>
Date: Sat, 30 Nov 2002 12:14:03 -0500


Since you're using Jet as a front-end and linking based on user
credentials, the best place to do this is to use VBA code on the
client. Create a form that prompts for user name and password if using
SQL logins, and use DAO to set the links (see the Connect property).
When the app closes, delete the links. This gets you around the
onerous chore of creating DSN's on each client. See
ConnectionStrings.com for dsn-less connection string styntax.

-- Mary
Microsoft Access Developer's Guide to SQL Server
http://www.amazon.com/exec/obidos/ASIN/0672319446

On Tue, 26 Nov 2002 03:59:11 GMT, "joe f. haydn"
<JosephHaydn@earthlink.net> wrote:

>hello all. I've recently upsized an Access mdb with link tables going to the
>SQL Server 2000.
>
>I am now testing the security part for the Access frontend. All the Access
>users are to be readonly. The testing environment is such that both Access
>and SQL Server is on the same machine. (with SQL server in mixed mode) Of
>course the Access apps will later be deployed at the client machines.
>
>How and where do I set at the Access frontend so that I can choose the login
>(and user) that holds a readonly permission? In other words where are the
>places to configure the login name at the Access app?
>
>Is it configured only at where ODBC DSN is defined? If so, when I wish to
>change the login name for the Access frontend, do I need to play with ODBC
>Manager?
>
>
>
>Strange thing is that, while I know the link tables are connected to the SQL
>server via ODBC (and thus DSN), when I remove the DSN entry in the ODBC
>Manager, the connection still works...
>
>
>
>I appreciate for any suggestion or comments.
>
>



Relevant Pages

  • Re: SQL Server 2005 Express OLEDB Connection from VB6
    ... Thanks for getting me to read this again and realizing they meant the client ... I think we'll stick with ODBC, since there is less to install on the client ... Microsoft SQL Server Native Client ...
    (microsoft.public.sqlserver.connect)
  • Re: SA Login
    ... Boris, ... Suppose that the client wants to apply the latest security patch to the ... SQL Server instance. ... Without any way to login as a member of the SysAdmin ...
    (microsoft.public.sqlserver.security)
  • no prompt on linked table
    ... I am hoping that someone might know a way to turn off the SQL Server Login ... request on how to first get the user id and password from the user. ... I can then pass the error information back to the client ...
    (microsoft.public.access.security)
  • no prompt on linked table
    ... am hoping that someone might know a way to turn off the SQL Server Login ... This will bring up a SQL Login dialog because dbo_JTEST is a linked table ... request on how to first get the user id and password from the user. ... I can then pass the error information back to the client ...
    (microsoft.public.access.security)
  • Re: error setting up ODBC for remote sqlexpress database
    ... We were able to get it to work with the ODBC native client driver. ... Server could be stopped in the client. ... is to install Management Studio for SQL Server 2005 Express ...
    (microsoft.public.sqlserver.odbc)