Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Security / October 2004

Tip: Looking for answers? Try searching our database.

guidance using Forms authentication

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob Millman - 12 Oct 2004 04:17 GMT
There is lots of discussion of security issues and authentication techniques,
pros/cons of different technologies and patterns, etc.

I'm looking for "Best Guidance" for a web site that will be available to the
public, with a login using username/password.  FormsAuthentication seems like
a straight forward solution.  However, most discussions urge SSL for the
login form.  What about sending the authentication cookie back and forth with
every request?  Is this vulnerable to replay attacks?  Even using passport,
if someone sniffs the line and catches the cookie, can't it be used to
impersonate that specific logged in user?  Isn't the ASP.NET session cookie
also vulnerable to this type of problem?

What am I missing?  or should all traffic go SSL to avoid all of this?

Any guidance is much appreciated.

Robert Millman
Joe Kaplan \(MVP - ADSI\) - 12 Oct 2004 05:18 GMT
SSL is important for the password page because you want to make sure the
user's password isn't sent over the wire in clear text.

It is definitely possible for the session cookie or auth cookie to get
stolen and allow the user to be hijacked.  This is one good reason to use
SSL for everything if you can afford the loss of scalability.  There was
also a good article in MSDN Magazine by Jeff Prosise recently discussing
session hijacking and things you could do to prevent it:

http://msdn.microsoft.com/msdnmag/issues/04/08/WickedCode/

In the end, it will come down to how critical your security needs are, but
it is definitely a good idea to understand your risks as well as possible
and that article will certainly help.

Joe K.

> There is lots of discussion of security issues and authentication
> techniques,
[quoted text clipped - 19 lines]
>
> Robert Millman

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.