Microsoft AntiXSS in Medium Trust :Error

Posted by aramugam on Stack Overflow See other posts from Stack Overflow or by aramugam
Published on 2010-04-06T11:04:35Z Indexed on 2010/04/06 13:43 UTC
Read the original article Hit count: 227

I want to include Microsoft AntiXss V1.5 library on my live site running in a medium trust setting.However, I got an error something like:


Required permissions cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.

I tried this in full trust setting on my development machine and everything works good.Looks like this will run only in full trust configuration......Does anybody knows a solution or workaround for this?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about web-development