?
Solved

Microsoft Access Security with SQL Server Server and Windows Authentication Groups problem

Posted on 2007-11-21
3
Medium Priority
?
668 Views
Last Modified: 2013-11-28
I have an Access 2003 front end linked to SQL Server 2005 tables.

Two groups of people are allowed access to the database, one group allowed to see certain tables/forms and the other group different tables/forms.

I am using Windows Authentication because these people have Windows groups already and have set up SQL Server Logins for them following the method in this question (http://www.experts-exchange.com/Microsoft/Development/MS_Access/Access_Coding-Macros/Q_22971000.html?sfQueryTermInfo=1+permiss+secur)
ie Use windows authentication
Use windows groups
Assign windows accounts to windows groups
Use group logins on SQL Server that correspond to the windows groups
Grant permissions to group logins


So my two Logins have select, update, delete, insert permissions on one of two different schemas and are denied these rights on the opposite one.

PROBLEM - it has made no difference!! as when they open the Access database they can still see all the linked tables and open them up etc. Does anyone know what I have done wrong - is there some VBA code I could use to see how the person is logging in and what permissions they have

Thanks
0
Comment
Question by:stuntwoman
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
nmcdermaid earned 1200 total points
ID: 20337252
Change your ODBC connention to use windows authenticatoi nand relink all of your tables.

It sounds like its still using the old authentication method (usually a hard coded user and password)
0
 

Author Comment

by:stuntwoman
ID: 20337973
thanks I will try this. I hadn't thought to re-link my tables so perhaps this is the problem
0
 
LVL 30

Expert Comment

by:nmcdermaid
ID: 20341370
You definitely need to relink to refresh the connection method.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
A Case Study of using the Windows API to provide RS232 communications capability in Access without the use of Active-X controls.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question