473,698 Members | 2,360 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3055
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****@steffsw orld.ch> wrote in message
news:eE******** ******@TK2MSFTN GP11.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****@games4d otnet.com> wrote in message
news:uh******** ******@TK2MSFTN GP12.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****@steffsw orld.ch> wrote in message
news:eE******** ******@TK2MSFTN GP11.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_auth or_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_autho r_plug>
----------------------------------------------

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

"Justin Rogers" <Ju****@games4d otnet.com> wrote in message
news:uh******** ******@TK2MSFTN GP12.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****@steffsw orld.ch> wrote in message
news:eE******** ******@TK2MSFTN GP11.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*****@despam med.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.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_auth or_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_autho r_plug>
----------------------------------------------

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

"Justin Rogers" <Ju****@games4d otnet.com> wrote in message
news:uh******** ******@TK2MSFTN GP12.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****@steffsw orld.ch> wrote in message
news:eE******** ******@TK2MSFTN GP11.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
3538
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 of .NET memory allocations. This means that these objects will be allocated in a special managed heap for large objects. This makes sense since this would require some work for the garbage collector to move and compact these objects during a GC...
31
6994
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 using Session variables for three years now and i'm entering a project with my new boss who has never quite come around that session variables are ok. What's the concensus here. How can i convince him that they are ok in ASP.NET. OR
5
5690
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 store the validated users DataRow into Session which is in SQLServer. I have listed the error below for you to
4
1753
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 better GUI and faster development) and we will be using that ASPX page along with our ASP application...how can I pass that Session variable (which holds COM instance) to ASPX page so that I will be working on same instance and will not consume...
2
2129
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 for each session, so that three users can connect to three different databases. But I get crazy because: -With interop all users share one instance - pure chaos (the instance is
5
3802
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 had found so far, has had the user generate one through .Net, but I have to be able to load my own. Thank you, Susan
1
15932
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 modulus of 128 bytes."} code: // Read public key into a string
4
5693
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 problem I was facing is that sometimes I find the session and sometimes not. I beleive this is happenning because of multiple servers. Because session is created on a worker process on one server and the second time it must be hitting the other server...
5
3690
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
8678
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8609
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6525
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4621
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.