Home All Groups Group Topic Archive Search About

Is the sessionState cookie a security risk.

Author
1 Jun 2005 2:16 PM
RobAbbott@ElementK
We had an outside security analysis done and they doscoverd the session
cookie set by the session state feature.  Business/Marketing does not want us
to use the cookieless option where the sessionid is moved into the URL. 
   Are we at risk of session hijacking?  The people that performed the
security audit recomend encrypting the session cookie, but I don't think that
is an option. 

   Any advice would be gretaly appreciated

Author
2 Jun 2005 8:05 AM
David Wang [Msft]
IIS does not have a session state feature nor session state cookie.

The concept of a "session" is at the application layer, not HTTP layer where
IIS runs, so IIS does not have a session state feature and hence cannot have
a session state security risk.

Your question completely depends on the application framework you run on top
of IIS. I am guessing that you are talking about an ASP.Net application, and
if so, you should consult the Forums at www.asp.net or
microsoft.public.dotnet.framework.aspnet for better support for your
question.

My understanding is that ASP.Net Sessions are configurable to be as secure
as you define. Security is never an absolute yes/no -- it is a inherently a
tradeoff between risk and cost. You need to first define your own tradeoff
point, and then configure technology to meet your needs.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"RobAbbott@ElementK" <RobAbbott@Eleme***@discussions.microsoft.com> wrote in
message news:FE209C45-559D-4F12-A933-29C3E6BCEF71@microsoft.com...
  We had an outside security analysis done and they doscoverd the session
cookie set by the session state feature.  Business/Marketing does not want
us
to use the cookieless option where the sessionid is moved into the URL.
   Are we at risk of session hijacking?  The people that performed the
security audit recomend encrypting the session cookie, but I don't think
that
is an option.

   Any advice would be gretaly appreciated