Search code examples
antixsslibrary

Whitelist IFrames from e.g. YouTube with AntiXSS


Is it possible to whitelist e.g. IFrames with the source set to YouTube, when retrieving the content with GetSafeHtmlFragment from microsofts AntiXss library?


Solution

  • No - the HtmlSanitizer safe list is not customisable.