Solved

Web Api 2 and Formless Client Login?

Posted on 2014-04-18
2
491 Views
Last Modified: 2014-04-24
Q. How does login security work for a client accessing Web Api 2 service without using a login form every time ?

Q. Which authentication works best with SSL?

Q. Which authentication works best without SSL?

I'm working on a AngularJS client which should:
1. Remember the first login
2. Automatically login to the Web Api 2 service
3. Demand login if the password expires.
0
Comment
Question by:WorknHardr
2 Comments
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 40010485
I personally prefer the "traditional" log in.  I am turned off when I do this and the app is asking for info/events I don't want to share.  

In any case, each social site will have their own way of doing things.  For google plus you can start here http://googleplusplatform.blogspot.com/2013/02/google-plus-sign-in.html.

Your authentication still needs to be done serverside and not client side.  Otherwise, it is easy to bypass and you are exposing data that you shouldn't be.   I wish I could help you more on the .NET side, I don't work with it.  There are libraries for this in each langauge that can make your life easier. http://msdn.microsoft.com/en-us/magazine/dn198238.aspx
0
 

Author Closing Comment

by:WorknHardr
ID: 40021190
Thx
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question