?
Solved

.NET Authentication & Authorizarion

Posted on 2004-04-29
2
Medium Priority
?
309 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 400 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month15 days, 5 hours left to enroll

839 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