3

Does anyone know of any best practices or 'standard' techniques for implementing authentication between a silverlight client and WCF services WITHOUT using either RIA Services or ASP.Net authentication & cookies.

My current best option seems to be to add additional message headers to each call and authenticate the user with each call. Any other ideas?

1
  • nope, that's the best way to do it. Web service calls are by design state-less and artificially introducing something session-like usually causes more grief than it solves.... Commented Aug 27, 2009 at 13:02

3 Answers 3

2

You can use the username/credential over HTTPS from SL3: http://msdn.microsoft.com/en-us/library/dd833059(VS.95).aspx

Sign up to request clarification or add additional context in comments.

Comments

1

Authenticating with each call is a good technique for scalable solutions. One method you could look into is, one which many including some amazon web services and the likes of Ebay I think which is HMAC (Hash Message Authentication Code)

Andrew

Comments

0

You need to send information with each call.

You must however make sure that the information cannot be read for example by using SSL.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.