Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!

We have created wcf service and it is working fine. But authority says that when service is called from website after login, only then it should be called. No one can direct access service by pasting service url in browser.

Please help me to solve this issue....

Thanks in advance.
Posted
Updated 16-Oct-14 20:30pm
v2
Comments
Sergey Alexandrovich Kryukov 16-Oct-14 13:30pm    
Do you mean that you already successfully implemented authentication but don't know how to figure out if your code behind works with authenticated user or not? Or do you need to implement authentication itself?
—SA
Sharma Ravi 17-Oct-14 1:52am    
I have never worked with WCF. I have create a service and I am able to access it.
The issue is that anyone can direct access it from browser url. I need to implement such functionality that without passing username and password authentication shoud be done. Means if user have logged into the website from browser, only then he access service from browser, then he can access service
Sergey Alexandrovich Kryukov 17-Oct-14 11:03am    
But "logged" also assumes username/password. You just need normal authentication.
—SA
Sharma Ravi 20-Oct-14 6:56am    
Any other way to solve this issue?
Sergey Alexandrovich Kryukov 20-Oct-14 10:09am    
What issue?
—SA

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