Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2007-11-21
3
Medium Priority
?
665 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
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.

885 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