Forum Discussion
Ahmed_Barakat_2
Nimbostratus
Jan 02, 2009Get rid of ASP.NET_SessionId
I use F5 Cookie persist limit cookie session ID time
but my manager told me that we need to hide cookie session ID name from ASP.NET to another name or hide completely the appearance of cookie from get & Response
Cookie: NAME=168434604.20480.0000; ASP.NET_SessionId=ffopvtqjkuh25q45nvdhfg45
so please anyone help me using iRule to achieve above target
- hoolio
Cirrostratus
Hi Ahmed, - Ahmed_Barakat_2
Nimbostratus
no i didn't use irule to limit sessions based on a cookie,i'm tring to rename/remove ASP.NET_SessionId from get & respond & i didn't use LTM persistence cookie it as a disclose to Website application type & need to not disclose any parameter related to Server or Application - Ahmed_Barakat_2
Nimbostratus
Please any help - hoolio
Cirrostratus
An attacker will probably be able to identify which OS and app architecture you're using irrespective of the cookie names. There are many ways to identify a .net app. Here are a few: object types are .aspx; div, span or parameter names contain "ctl"; application uses the viewstate parameter; the HTTP response Server header contains .net; the HTTP response contains an "X-Powered-By" header; the order of the response headers.when HTTP_RESPONSE { Remove server header HTTP::header remove "Server" Remove Date header HTTP::header remove "Date" Remove any header which starts with "X-" for {set i 0} {$i < [HTTP::header count]} {incr i} { Check if the current header name starts with X- if {[string tolower [HTTP::header at $i]] starts_with "x-"}{ Remove the header HTTP::header remove [HTTP::header at $i] } } }
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects