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.
webHttpBinding
, which is required for WCF REST, does not support HTTPS hosts. And Basic authentication requires HTTPS in order to be secure. How to get around that? – Deadbeat