Security in Navision SQL server option

Henry@columbus
Member Posts: 24
What is the recommended SQL security setting for normal users when accessing the SQL server option with Navision.
To get it working my user role membership settings are:
public and db_owner. (Is this wise to use db_owner?)
And what is the recommended server role. Is this "System Administrator"?
Thanks,
Henry
To get it working my user role membership settings are:
public and db_owner. (Is this wise to use db_owner?)
And what is the recommended server role. Is this "System Administrator"?
Thanks,
Henry
0
Comments
-
What I do is assign "Public" for all users in MSSQL, then assign different roles in Navision. It seems that Navision uses the informatin in MSSQL only for validation, i.e. to validate that this user exists in MSSQL, and not to assign roles and permissions. (So, for example, "public" user in MSSQL can have "super" user in Navision).0
-
Navision is using "Application role" - it means, that user need only public permission to login into database. After that, the Navision use the role "$ndo$shadow" for permissions on SQL DB. Permissions for user are then driven with Navision itself based on Navision roles and permissions (and licence). BUT... for importing objects and licence, you need additional rights on MS SQL - commonly the db_owner rights or administrator rights (for uploading licence file into server).
Why Navision is using application role? Because it means, that if user have only public rights, they cannot connect to database with another tool (for example query analyzer, excel etc.) and work with datas. They can only work with datas through Navision. But if you set some permissions on DB directly through MS SQL for some user account, it is used too... if you permit reading something to some user, he is not able to read it through Navision too...0 -
Thanks for your answer, it's been very helpfull.
Henry0
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