Do ASP.NET forms authentication cookies provide any protection against replay attacks? Do they, for example, include the client's IP address or anything else that would distinguish the real client from an attacker?
Answer / surendra singh
No. If an authentication cookie is stolen, it can be used by an attacker. It's up to you to prevent this from happening by using an encrypted communications channel (HTTPS). Authentication cookies issued as session cookies, do, however,include a time-out valid that limits their lifetime. So a stolen session cookie can only be used in replay attacks as long as the ticket inside the cookie is valid. The default time-out interval is 30 minutes.You can change that by modifying the timeout attribute accompanying the <forms> element in Machine.config or a local Web.config file. Persistent authentication cookies do not time-out and therefore are a more serious security threat if stolen.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is session handling in a webfarm, how it can work with its limits?
What is postback in asp net?
What is a url string?
What is protected configuration?
What is view state and how it works in asp net?
What are the new features implemented in ASP.NET?
What is Difference between Callbacks and Postback in ASP.NET?
how can u display multi language (i.e english,spanish...) web site?
AJAX - explain the concept and some controls like update panel, tabcontrol etc
please give a brief knowledge about these events ? page_render() page_prerender() page_unload page_loadcomplete page_preinit
how to use web services with code?(with example code)
What is viewstate in asp net with example?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)