ave a look here http://msdn.microsoft.com/en-us/library/ff649310.aspx
you can put a blanket statement in the web config ValidateRequest = true will check all user input and throw an error if a user inserts something with bad characters.
If you need to allow some html tags then you will need to roll your own.
Jonathan S.
2010-09-02 20:26:14