Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 24, 2012 12:09 AM by BrockAllen
Nov 23, 2012 10:50 PM|LINK
I am planning to write a windows form application as client and a MVC4 WebAPI application as server. I need to know the best option to secure my WebAPI. Ideally I would want the user to provide credentials when they start the winform client, then WebAPI
should check if the user is authorised/authenticated before serving the request. Is it possible to maintain a session on the server exactly as if the request was from a browser? If not then what other options I have? Kindly provide links to any tutorials about
Nov 24, 2012 12:09 AM|LINK
Sounds like you need basic authentication. Search for basic auth -- it's easy to implement both client and server side.