Read Only ODBC Connection

elsandalos
Member Posts: 4
Hi all,
Is it possible to create a read-only odbc connection to SQL? We often use odbc to pull NAV data from the SQL tables into MS Access, but as this is a r/w connection there is always the possibility of changing or erasing data from the tables.
I have created an SQL login which only has read access to the tables, but i need a way in Access to force this to be used - otherwise a user could just login to the connection using their usual r/w NAV login details.
cheers
El.
Is it possible to create a read-only odbc connection to SQL? We often use odbc to pull NAV data from the SQL tables into MS Access, but as this is a r/w connection there is always the possibility of changing or erasing data from the tables.
I have created an SQL login which only has read access to the tables, but i need a way in Access to force this to be used - otherwise a user could just login to the connection using their usual r/w NAV login details.
cheers
El.
0
Comments
-
The regular users should only have public role on sql.
This role does not allow any select statements to be run.
So they should be able to to do r/w with their usual login.
Creating a new login with just read access is the correct choice.0 -
Or you can create views for just the tables and columns you want to publish and set the permissions to these views. In this case you will make transparent interface for the users and you will not risk access directly to the data. And it will be easier to manage the connection in case of renaming tables or company (you just redefine the views).0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions