Click here to Skip to main content
15,919,422 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i added wcf service reference in client side following code was generated in app.config file. my question is if any one know this service link
he ll be able to use all exposed methods. how can i make sure only i can use this service no one else even he know service link ll not be able to use it.?

 <endpoint address="http://localhost:4685/Service1.svc" binding="basicHttpBinding"
               bindingConfiguration="BasicHttpBinding_IServiceServer" contract="StudentService.IServiceServer"
               name="BasicHttpBinding_IServiceServer" />
Updated 30-Oct-11 20:26pm

Following articles contain your complete solution.
1:- WCF Service with custom username password authentication[^]
2:- An easy way to use certificates for WCF security[^]
Implement one of them which sounds easier to you. I think 1st one will be easy for you.
Share this answer
One way is to write a secured web service using HTTPS. Hypertext Transfer Protocol Secure (HTTPS) is a combination of the Hypertext Transfer Protocol (HTTP) with SSL/TLS protocol to provide encrypted communication and secure identification of a network web server.
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