Solved

Web Api 2 and Formless Client Login?

Posted on 2014-04-18
2
490 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
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…

929 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now