Ask a Question related to ASP.NET Security, Design and Development.
-
StanD #1
FormsAuthentication + Protection + Recycling
When a client enters the site I check for a persistent cookie of short
duration, and if present decrypt it to obtain identification data, that is
restored to the session state if necessary. the Protection parameter in the
web config file is set to "All". The host server is running W2003 os, which
is recycling every 10 minutes. When recycling occurs, and a client's cookie
checked thereafter, the decryption causes an exception with the message "bad
data". Someone suggested setting the Protection parameter to "None", which
works fine, and decryption is successful. What bothers me is concern over
security. What is the price? The cookie appears to be encrypted. I would
like to know if decryption can be made to work across recycling with optimum
security.
Appreciate your thoughts.
--
Thanks,
StanD
StanD Guest
-
Can't empty the recycling bin because of ai files
Hello World, I am using windows XP and Illustrator 9.0. I am able to delete items but am not able to open the recycling bin. I've tried going... -
[BUG] Fatal recycling of SystemStackErrors
Moin! In Ruby 1.8.0 old SystemStackErrors seem to be reused when there should have been raised a new one instead: irb(main):001:0> y = proc {... -
ASP shutting off, needs recycling often
http://www.aspfaq.com/5005 Ray at work "NewbieSupreme" <newbiesupreme@yahoo.com> wrote in message... -
Recycling aspnet_wp.exe a pain in the !@#$%
I've been spending some time recently writing some ASP.NET authentication code that relies on CAS to minimize the threat posed by luring attacks.... -
Flash with Nikon N65: Recycling and Shutter Release Lock
I have a Nikon N65. As I've said many times before--almost as if I'm apologizing for choosing a N65, and I'm not (just acknowledging how great the... -
Daniel Fisher\(lennybacon\) #2
Re: FormsAuthentication + Protection + Recycling
>> Protection parameter to "None", which works fine, and decryption is
sure?>> successful.
[...]
None:
Specifies that both encryption and validation are disabled for sites that
are using cookies only for personalization and have weaker security
requirements. Using cookies in this manner is not recommended; however, it
is the least resource-intensive way to enable personalization using the .NET
Framework.
[...
from
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfForms.asp[/url]
]
By default IIS 6.0 is configured to recycle its worker process every 29
hours. If You have problems with recycling it every 10 minutes try to
recycle it after a defined amount of requests or memory usage...
([url]http://www.asp.net/faq/AspNetAndIIS6.aspx[/url])
Daniel
--
Daniel Fisher(lennybacon)
MCP C# ASP.NET
Blog: [url]http://www.lennybacon.com/[/url]
Daniel Fisher\(lennybacon\) Guest



Reply With Quote

