Authentication for DCO (Dynamics Client fr Office-Web Users)

najja
Member Posts: 67
Hello All,
On a typical setup where windows authentication is used I know we can use the AD user name for authentication even in DCO. Wondering how authentication is handled while using Web Services on a web-site scenario where the users are typically not windows users. I am publishing a web service which will do some updation for me based on a users input on a typical asp.net page. But how will I authenticate and give privileges to that particular user. May be this is simple but I am not able to find any articles on this. Is it like the NAS where the account using which the service runs is used for authentication, in which case I have to give access to the account which runs NAV Business Web Services service on the dynamics NAV server. But in this case how will I differentiate users? NAS is typically used for NEP where every users are Windows users and can be added into the appropriate group for Employee Portal users. But webservices will be used even other scenarios.
Looking for an expert advise
Najja
On a typical setup where windows authentication is used I know we can use the AD user name for authentication even in DCO. Wondering how authentication is handled while using Web Services on a web-site scenario where the users are typically not windows users. I am publishing a web service which will do some updation for me based on a users input on a typical asp.net page. But how will I authenticate and give privileges to that particular user. May be this is simple but I am not able to find any articles on this. Is it like the NAS where the account using which the service runs is used for authentication, in which case I have to give access to the account which runs NAV Business Web Services service on the dynamics NAV server. But in this case how will I differentiate users? NAS is typically used for NEP where every users are Windows users and can be added into the appropriate group for Employee Portal users. But webservices will be used even other scenarios.
Looking for an expert advise
Najja
0
Comments
-
The client who is using the webservice needs to authenticate himself to the webservice.The account must be some windows account which have access to the NAV itself. It means WebService will authenticate the user as if it is RTC running under the account. If the client use the actual user credentials or some other credentials it is on developer.0
-
Thanks Kine.
So did mean to say that every user who needs to access the NAV web service needs to be a domain member? Also can you eloborate on what you said in your reply:If the client use the actual user credentials or some other credentials it is on developer.
In my scenario, the website needs to update the NAV database on various instances. This will be a public website and we have purchase "external connector" license. How do I authenticate the webservice if the web application is being accessed by a non-domain users.
Thanks in Advance
Najja0 -
It depends on how you are using "the client". If it is some app on IIS, it is running under some account and this will be the account used, not account of the Web Browser...0
-
Kine,
Could you please eloborate on your reply.
The webservices are being used in IIS Apps (which most probably will be sitting in a different box). What did you mean by 'the account being used'.
Appreciate your help
Najja0 -
I mean that the IIS app is running under some account, and this account will be used if the code doesn't say something else... all depends on how the app is working and how the security is set up on the application. I am not guru in that thus I cannot describe details...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