Re: Authenticating in SQL Server via MS Access 2002



This is a feature of JET and can be disabled by a registry setting (I don't
remember which setting).

However, you can use this feature in your case by creating new user accounts
for your second Access database. Users will open this database using their
account and this account will be used by Access to authenticate with
SQL-Server.

--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC


"Dazza" <Post2Group@xxxxxxxx> wrote in message
news:O$VxxAFQFHA.688@xxxxxxxxxxxxxxxxxxxxxxx
> Here is the scenario:
>
> 1.Database is on SQL Server 2000
> 2.Client is MS Access 2002
> 3.SQL Server using mixed mode authentication
> 4.Normal user access is via the forms in Access that connects via ODBC and
> SQL using Windows authentication.
> 5.Certain users, as well as normal access, also need to create ad-hoc
> queries thus use another Access client with tables only (ODBC connection
> using SQL Server authentication)
>
> Here is the issue I need to get round. As I do not want users to be able
> to add or change data directly in the tables, the authentication in point
> 5 adds the logins to a restricted role (read only). However, whenever the
> database launches, it initially tries to authenticate with the default
> Access account "Admin". The login failure is not flagged to the users but
> does appear in the SQL Server logs. Only when the user opens the table,
> it is then that they are asked for their SQL Server login.
>
> What I want to do is, when Access is first launched, the user is asked
> immediately for their SQL Server login name and password thus the user
> "Admin" does not even attempt to connect. How can this be achieved?
>
> Regards
>
> Dazza
>
>


.



Relevant Pages

  • Re: Subscriber Security Settings for Distributor and Publisher log
    ... Looking for a book on SQL Server replication? ... >> It is done through SQL Server authentication or NT Authentication. ... > using Authentication it authenticates using the account that your SQL ...
    (microsoft.public.sqlserver.replication)
  • Re: SQL Server registration failed because of the connection failure displayed below
    ... Authentication: SQL Server and Windows ... Start and run SQL Server in the following account: ...
    (microsoft.public.sqlserver.security)
  • Re: Kerberos from XP to IIS hosting ASP.NET 2.0 Web Service help
    ... If your MS SQL Server is running under a custom /local/ account, ... not sure how Kerberos authentication is supposed to work. ... If SQL Server is running under a domain account, ... you are not authenticating to IIS as anonymous. ...
    (microsoft.public.inetserver.iis.security)
  • Re: sqlserver connection - need help desperately!
    ... > You are connecting to a remote SQL Server ... > The SQL Server accepts both Windows and SQL Server authentication. ... > SQL Server login that's authorized to use your database. ... > the ASP.NET account in the SQL Server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: deleting the service account
    ... fails because of further authentication while SQL code still ... no data corruption is possible. ... > Jasper Smith (SQL Server MVP) ... >> suppose that my SQL Server Service runs under the domain account ...
    (microsoft.public.sqlserver.security)