Click here to Skip to main content
15,938,122 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi !! I am novice to web-services and I have already existing system with WCF Restful web service which are called by external applications and returns xml. I want to implement custom basic authentication for all of them. The requirement is that on every request there will be authentication header in HTTP request that contains Base64 bit encoded username and password. I have to intercept the request, check whether it is authenticated user or not and then response. I have checked many of project and search a lot on internet but not found any single example which contains whole this scenario. Can anyone help me please? I want a step-by-step tutorial..

Thank you,

1 solution

Dear Friend,

You should have done some google search on it.

When i searched the google i got the following listing of searchable links on your problem:-

Basic Authentication on a WCF REST Service[^]

This link provides you the solution. I hope this will help you out

ThanksBasic Authentication Search[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900