[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Non-standard User Identification for web application

Posted on 2011-10-14
Medium Priority
Last Modified: 2012-05-12
I am building a mobile web CRM appication that will require users to login to our server.  We maintain an extensive user database/definition for these users who are logining in, what database they have access to, their access rights to individual tables, etc., and I need a different approach than the default methodology to track user access.

All communication after login will be via Ajax and Json, and I need to know how I can verify that each request coming from the user is coming from the original mobile device (whether it's an iPhone, iPad, Droid, etc.)

Since I'm pretty new to this, I was wondering what the IIS server, via Asp.MVC  has in the way of information that can confirm that the same user that logged in, is the same one now that is making additional requests.  Thanks for any infromation, links etc. that can guide me in the right direction!!

Question by:marketware
  • 2

Accepted Solution

gery128 earned 2000 total points
ID: 37004945
Each request that comes from authenticated user comes with Session Id for that user. So IIS will know that this user has valid session and checks for if the session is still active.

Author Comment

ID: 37005867
OK, so once I have "authenticated" the user, I can then rely on the session ID. Can I also use it in combination with the IP address that is available, or is that overkill?  I don't want to have to check too many things on each request or it will slow down my responses.  BTW, all interaction with our server will be via SSL.

Also, I want to use my own authentication method (We store username, password and other preferences, etc. in our SQL database), so how do I manually signal to IIS that this user is now "authenticated"?  Thanks!!

Author Closing Comment

ID: 37931259
Thanks.  I thought I already rewarded points to this solution, but maybe my submit didn't go through.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

872 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