Reputation: 4862
I like to secure a wcf service, without passing username password every single call from javascript. I think i can realize it with cookies ? I'm not sure where to start. I like to see code to understand, its says more than words. There are many examples how to make a authentication with .NET, but i'm not sure how the work with relation to javscript.
Upvotes: 1
Views: 128
Reputation: 24403
What you can do
Step 1 and 2 will ensure that anonymous access is not granted to WCF service. Step 3 will ensure that with javascript requests any authentication cookies are automatically passed
Upvotes: 1