Need to use a single logon user with Web Services.

RBrown
Member Posts: 8
Hello,
I'm setting up a website for internal use. Currently we have our NAV web services functioning with the logged in user's account information being passed through to NAV. NAV then exposes information based on that user's NAV permissions.
I need to change this functionality so that all users coming from the website access NAV using one account with god rights. The security of what they can access will then be handled by an ASP.NET handler accessing Active Directory roles.
How do I switch NAV from using the logged in user's account to using the account that is running the web service services?
Thanks,
Ryan Brown
I'm setting up a website for internal use. Currently we have our NAV web services functioning with the logged in user's account information being passed through to NAV. NAV then exposes information based on that user's NAV permissions.
I need to change this functionality so that all users coming from the website access NAV using one account with god rights. The security of what they can access will then be handled by an ASP.NET handler accessing Active Directory roles.
How do I switch NAV from using the logged in user's account to using the account that is running the web service services?
Thanks,
Ryan Brown
0
Comments
-
0
-
Setting user credentials as you've outlined isn't an option with a Service Reference (this is running in Silverlight 4 under .NET 4.0). That would also leave an admin accounts credentials available in plain text to anyone who pulled down the Silverlight and decompiled the .dll files which is not ideal. Is there a setting in NAV or on the servers to specify what user account it's validating against?0
-
May be the application can use the account under which it is running on IIS? (use some domain account on the app pool...)0
-
That would be ideal, but I'm not sure how to specify that the application should use that account rather than the users'. Would that be an IIS setting, something in NAV, or something in the hosting ASP.NET project?0
-
Try to enable "anonymous" access on the website and disable all other...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