I have a project which needs to expose WCF restful service to iphone/ipad Client. The WCF worked, now i need to secure it with username and password.
For some reason i am a little reluctant to go with CustomBasicAuth
Oauth is also not ideal in WCF world for now, you have to create wrapper to do work around it. please DO correct me if i am wrong.
Now, I am looking at the Windows Identification Foundation. To be honest, that looks like a smart way but lacking of documentation.
there are 2 things have to put into consideration:
implementation have to be iPhone friendly.(not just used in .net world)
implementation need to be easily deployed to cloud (azure)
I would like to know which option will you choose, and what is the reason of choosing it. any links or reference will be greatly appreciated.
You might want to try this basic authentication implementation for WCF REST, http://weblogs.asp.net/cibrax/archive/2009/03/20/custom-basic-authentication-for-restful-services.aspx
Based on your requirements, basic authentication should be enough for what you need. WIF will only add some noise in the mix.
Thanks Pablo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With