Web Service - Authentication to Web Users
Ravi_Thakkar
Member Posts: 392
Hi all Experts,
Acc. to my knowledge, Web Services provodes windows authentication.
So, on developing the web application whether we need to customize the authentication part or it will be handled automatically by the Web Services' windows authentication?
Please mension the proper method.
Thanks in Advance.
Acc. to my knowledge, Web Services provodes windows authentication.
So, on developing the web application whether we need to customize the authentication part or it will be handled automatically by the Web Services' windows authentication?
Please mension the proper method.
Thanks in Advance.
0
Answers
-
The service have two properties - "Credentials" and "UseDefaultCredentials". Depends on how you set them. If you set UseDefaultCredentials to true, the application will take the account under which is running and use it as credentials for connecting to the WebService.0
-
Hi, Kine,
Thanks for your reply.
I got your point. But, I need some detailed document related to Web Services and Credentials.
Please, suggest me any of the help links or posts or materials.
Thanks in Adv.0 -
Just look into MSDN help about credentials. E.g. http://msdn.microsoft.com/en-us/library/aa374789(VS.85).aspx0
-
This works for me from c# ...
<webservice>.UseDefaultCredentials = false; <webservice>.Credentials = new System.Net.NetworkCredential("<user>", "<password>", "<domain>");
hth0 -
Hi Kine,
Thanks for your reply.
But at your specified link there is no any content. Error is as shown in attachment.kine wrote:Jst look into MSDN help about credentials. E.g. http://msdn.microsoft.com/en-us/library/aa374789(VS.85).aspx
Please, suggest.
Thanks.0 -
Because you entered just part of the URL. The automatic URL detection failed on the parentheses, I repaired the URL manually in my previous post... 8)0
-
-
Hi, NickA
Thanks for Reply.
Whether the method done by you asking to enter the Username and Password or you have done Hard-Code in Coding?
Please, specify.
Thanks.NickA wrote:This works for me from c# ...<webservice>.UseDefaultCredentials = false; <webservice>.Credentials = new System.Net.NetworkCredential("<user>", "<password>", "<domain>");
hth0 -
?? Not sure of your meaning.
It was a very simple c# example. Replace <webservice> with your webservice and <user>, <password>, <domain> with your actual credentials.0 -
Thanks to all.
My problem has been solved.
We can do by both the ways. I wasted so much time for it.
1) We can block the system generated Dialog for the authentication by some settings on IIS.
And then by making our own Login Page.
2) By using System Generated Dialog, created by some settings on IIS.
Thanks.0 -
Hi Ravi,
would you be able to share the screen shots of your findings.
Thanks0 -
If you are looking for website designing service company in Patna then it is better to get from Ewebtonic Services Pvt. Ltd. We actually used to provide services which are provided on time and in budget. If you are looking for such service then it is better to get from such service.
Website Designing Service Company in Bihar0
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
- 322 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

