PRESENTATION ON HTTP Session Management and Secure Session Overview
1
By – Prasanna Deshpande Sagar Sanjay Sane Ameya Kulkarni Akshay Navgire
CONTENTS Overview of HTTP Concept of a HTTP Session Session Management and its methods Attacks on Session Management Good Session Management Overview of SSL TLS HTTPS Conclusion References
2
WHAT IS HTTP? Hyper Text Transfer Protocol Works on the Application layer of the Internet model. Protocol used for the service known as World Wide Web(WWW). Used for transferring the web documents from server to the client. Uses the well known port number 80.
3
HOW DOES HTTP WORK? Interaction between client and the server. It’s a dialog between two hosts using HTTP Request and Response mechanism.
Request
Client
Response
Serve r
4
STATELESSNESS OF HTTP HTTP is termed as Stateless protocol. The server does not remember the previous request made by the client. The advantage of a stateless protocol is that hosts do not need to retain information about users between requests. But in case of complex interaction between servers and clients, a previous history of requests should be known to the server.
5
A HTTP SESSION Sessions are used to compensate with the stateless condition of the HTTP protocol. A session allows storage of information that is associated with the client for the duration of the client's visit. There is a unique identification string for each session called as Session ID(SID). Used to make the HTTP stateful.
6
STATELESS SERVER
7
STATEFUL SERVER
8
SESSION MANAGEMENT. Session management is the technique used by the web developer to make the stateless HTTP protocol support session state. Thus session management is a mechanism to make a session ‘stateful’. Session information is in the form of SID. SID is generated as a result of the first request from the end user running a web browser.
9
METHODS FOR SESSION MANAGEMENT
URL rewriting.
Hidden form fields
Cookies.
10
URL BASED SESSION ID TRACKING Also called as URL rewriting. Session ID information embedded in the URL. Makes use of HTTP GET method. Example
http://somesite.com/Admin.php?SessionID=12 34567
11
HIDDEN POST FIELDS Session ID information stored within the fields of a form and submitted to the application. Makes use of the HTTP POST method. Session ID information would be embedded within the form as a hidden field and submitted with the POST command.
12
CONTD.. Example: Embedded within the HTML of a page