Results 1 to 4 of 4
  1. #1
    wil is offline Novice
    Windows XP Access 2007
    Join Date
    Jul 2010
    Posts
    7

    security on linked tables

    I have an Access 2003 DB which uses a series SQL linked tables for its data source. The connection between the DB and SQL is via a view-only user on SQL Server (2005), making the tables view only in Access.

    When I started, users had to enter the password for the viewer connection when they opened the DB and that login was good for the whole session.

    Now users are being asked for the PW every time a linked table is hit - this can be 6-10 times on start up, then at least twice every time a form is opened/updated.

    Any idea what governs the security between the two linked DBs?

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    well, when linking the tables, there's an option for "save password". when that is checked, the user won't be asked for the password again. once that is set up, then all you need to do is maintain the security privileges of the user on the Access DB and not worry about the connection to the SQL (SQL Server I take it) DB.

  3. #3
    wil is offline Novice
    Windows XP Access 2007
    Join Date
    Jul 2010
    Posts
    7
    Right you are, sir. I wish it were always that simple.
    Thanks!!

  4. #4
    pkstormy's Avatar
    pkstormy is offline Access/SQL Server Expert
    Windows XP Access 2003
    Join Date
    Mar 2010
    Location
    Madison
    Posts
    682

    Odbc

    Here's some code also which might make things easier. It basically will automatically create the ODBC DSN on the user's computer when they open the application (providing they have permissions to do this).

    This will prevent problems via manually creating each ODBC on the users computer should you accidently name an ODBC DSN slightly different on 1 users computer versus another.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Help with Linked Tables
    By softspoken in forum Forms
    Replies: 22
    Last Post: 03-25-2010, 09:35 AM
  2. Linked tables and copy
    By TimG in forum Access
    Replies: 2
    Last Post: 10-08-2009, 07:54 AM
  3. help with linked tables
    By davidoakley in forum Access
    Replies: 9
    Last Post: 06-17-2009, 05:23 PM
  4. Replies: 0
    Last Post: 03-26-2008, 08:46 PM
  5. Security and Linked Tables
    By bab133 in forum Security
    Replies: 0
    Last Post: 03-13-2008, 02:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums