namespace Umbraco.Cms.Core.Security; public interface IFileStreamSecurityValidator { /// /// Analyzes wether the file content is considered safe with registered IFileStreamSecurityAnalyzers /// /// Needs to be a Read seekable stream /// Whether the file is considered safe after running the necessary analyzers bool IsConsideredSafe(Stream fileStream); }