473,386 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Decrypt Session objects?

Hi!
I just want to know if it's common to decrypt a Session-Object in a
ASP.NET application.
My collegue says that I have not do this because the information is
stored on the server.
Any suggestions?
Nov 15 '05 #1
4 3042
Session state is stored on the server side, so you don't need to use any
crypto on it. The actual session id is sent down to the client in the form
of a cookie and re-read on return to the site to actually hook up the user's
Session state with the running code (Page instance).

--
Justin Rogers
DigiTec Web Consultants, LLC.

"Stefan" <sh****@steffsworld.ch> wrote in message
news:eE**************@TK2MSFTNGP11.phx.gbl...
Hi!
I just want to know if it's common to decrypt a Session-Object in a
ASP.NET application.
My collegue says that I have not do this because the information is
stored on the server.
Any suggestions?

Nov 15 '05 #2
So Session hijacking isn't an issue?

"Justin Rogers" <Ju****@games4dotnet.com> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
Session state is stored on the server side, so you don't need to use any
crypto on it. The actual session id is sent down to the client in the form of a cookie and re-read on return to the site to actually hook up the user's Session state with the running code (Page instance).

--
Justin Rogers
DigiTec Web Consultants, LLC.

"Stefan" <sh****@steffsworld.ch> wrote in message
news:eE**************@TK2MSFTNGP11.phx.gbl...
Hi!
I just want to know if it's common to decrypt a Session-Object in a
ASP.NET application.
My collegue says that I have not do this because the information is
stored on the server.
Any suggestions?


Nov 15 '05 #3
Session hijacking is always an issue if your network traffic can be
compromised - and on the web it usually can - which is why you have
encrypted viewstate in .NET, and SSL to fall back on should you require it.
However, its not usually something you worry about unless your transactions
are mission critical or financial, then not using enhanced security is a
real foolish thing to do.

Have a read of this, its a very good explanation of your concerns.

http://msdn.microsoft.com/chats/vstu...dio_121201.asp

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"Stefan" <sh****@steffsworld.ch> wrote in message
news:#2**************@tk2msftngp13.phx.gbl...
So Session hijacking isn't an issue?

"Justin Rogers" <Ju****@games4dotnet.com> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
Session state is stored on the server side, so you don't need to use any
crypto on it. The actual session id is sent down to the client in the

form
of a cookie and re-read on return to the site to actually hook up the

user's
Session state with the running code (Page instance).

--
Justin Rogers
DigiTec Web Consultants, LLC.

"Stefan" <sh****@steffsworld.ch> wrote in message
news:eE**************@TK2MSFTNGP11.phx.gbl...
Hi!
I just want to know if it's common to decrypt a Session-Object in a
ASP.NET application.
My collegue says that I have not do this because the information is
stored on the server.
Any suggestions?



Nov 15 '05 #4
many tnx!
"John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Session hijacking is always an issue if your network traffic can be
compromised - and on the web it usually can - which is why you have
encrypted viewstate in .NET, and SSL to fall back on should you require it. However, its not usually something you worry about unless your transactions are mission critical or financial, then not using enhanced security is a
real foolish thing to do.

Have a read of this, its a very good explanation of your concerns.

http://msdn.microsoft.com/chats/vstu...dio_121201.asp

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"Stefan" <sh****@steffsworld.ch> wrote in message
news:#2**************@tk2msftngp13.phx.gbl...
So Session hijacking isn't an issue?

"Justin Rogers" <Ju****@games4dotnet.com> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
Session state is stored on the server side, so you don't need to use any crypto on it. The actual session id is sent down to the client in the

form
of a cookie and re-read on return to the site to actually hook up the

user's
Session state with the running code (Page instance).

--
Justin Rogers
DigiTec Web Consultants, LLC.

"Stefan" <sh****@steffsworld.ch> wrote in message
news:eE**************@TK2MSFTNGP11.phx.gbl...
> Hi!
> I just want to know if it's common to decrypt a Session-Object in a
> ASP.NET application.
> My collegue says that I have not do this because the information is
> stored on the server.
> Any suggestions?
>
>



Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Frank | last post by:
Our system maintains session state using the ASP.NET State Server service. We expect some of our session state objects to be over 85K, which categorizes them to be VLO's (very large objects) in terms...
31
by: Harry Simpson | last post by:
I've come from the old ASP camp where session variables were not used. When i started using ASP.NET in 2001, I started using them again because it was ok from what I'd read. I've been merrily...
5
by: sdettmers | last post by:
Hi, Database: SQL Server Session: SQL Server Language: C# Application: ASP.Net I have created a login page which attempts to retrieve the users record from the database and I...
4
by: abcd | last post by:
I have an ASP application. It instantiaties some COM components and we put those COM components in Session variables...COM components have license restrictions...We have written new ASPX page ( for...
2
by: Markus Prediger | last post by:
Hi NG, I have an asp.net project that uses an vb6 com object for some database-manipulation (I cannot rewrite it in .net, sorry, its not my decision). I want it to be instanciated seperately...
5
by: Susan | last post by:
I'm trying to write a program in C# using .Nets crypto library. I have my private key and know my password, but how do I load it into my program to use for encryption and decryption? Everything I...
1
by: smilly | last post by:
I get this error when I try to decrypt the string that is encrypted: I would like to know what the solution is because this should work :-) {"The data to be decrypted exceeds the maximum for this...
4
by: NAT | last post by:
I was using session mode as "InProc"(entered in web.config). I have deployed my ASP.NET appln. on a server which uses Load Balancer. i.e I have two servers. I am using session across pages.The...
5
by: Logu Krishnan | last post by:
Hi I'm trying to profile my application and do sizing of the app. is there a way to size the session ?? -- Logu Krishnan
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.