开发者

How to [AllowHtml] but deny any scripts?

In asp.net mvc to post any html i need to set [AllowHtml] on property and Validate(input) on controller, but how allowing post开发者_运维百科 html deny to post any scripts?


You could look at using Microsoft Anti-Cross Site Scripting Library V4.0 to sanitize the input

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜