How to prevent users from connecting to the DB server?

herrJones
Member Posts: 8
Hello,
I wonder if it is possible to prevent users from connecting directly to the DB server (eg: in a program - or worse - via the SQL server management studio itself).
They must be able to connect via Navision though
Only special roles / logins should be able to execute / select on the DB server itself
All other users should have only 1 option: their Navision client...
Thanks,
Jan
I wonder if it is possible to prevent users from connecting directly to the DB server (eg: in a program - or worse - via the SQL server management studio itself).
They must be able to connect via Navision though

Only special roles / logins should be able to execute / select on the DB server itself
All other users should have only 1 option: their Navision client...
Thanks,
Jan
0
Comments
-
In NAV, use the standard security model.
In SQL, you just need to give them public rights to the DB.
If you have a user that needs to import objects (tables!!!), that user needs to have dbowner in that DB.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
As kriki said: as long as the NAV users just have the normal "public" rights the system is waterproof - users could connect to the SQL Server, but they won't see any tables (except for few system-tables).
If that is not sufficient enough you might create a SQL Server site Trigger for LOGON, e.g. checking on the Application Name or something. But take care: if you are nor familiar with such SQL programming DON'T DO IT, else you might screw up your system!Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0
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