Solved

.NET Authentication & Authorizarion

Posted on 2004-04-29
2
303 Views
Last Modified: 2010-04-15
Hi All,

I'm in the process of designing a web application for the Internet (ie: non secure) I have to decide on the best authentication/authorization method for my scenario.

The scenario is as follows:

I have an arbitrary number of users using my application. Every user has to be authenticated. Each authenticated user belongs to a user group and each group has it's own database and sub-application permissions. Each group will have access to some reports and other data outputs.

The main authentication methods are:

Windows - can not use as all internet users will require windows accounts
Passport - it's a 3rd party and pay service
Certificate - Not feasible here
Forms(cookies) - This will be a problem as cookies can be hacked and the user can gain full access.

The last one would be session variables.

1) What are the big pros and cons with this method?
2) Can a user just somehow hack his own session variables and destroy my authentication method?
3) Are there major restrictions on the session variables?

Thanks
Peter



0
Comment
Question by:Pete2003
2 Comments
 
LVL 9

Accepted Solution

by:
msdixon earned 200 total points
ID: 10950510
i think you're confusing authentication schemes with user information storage

i would suggest using forms authentication, and storing session information in a session variable(s), and the database. you may use sql server for your session information storage (it's a minor web.config modification), and store other neccesary info in the database. typically, i like to store as little information in sessions as possible (like a guid of the user id), and look up the information when i need it.
0
 

Author Comment

by:Pete2003
ID: 10953367
Thanks for the reply ...

I'm using Oracle as my database ... and I do not want to save the login information on the database since if I have a lot of simultaneous users it will cause congestion ... I would like to use Session variables ... I am however not very well versed there ... could you provide some links or some information on how to use the session variables with some examples if possible ...

Also are session variables more safe & secure (relatively speaking) then other methods ?

Thanks
Peter
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

830 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