Interface IFileStreamSecurityValidator
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Core.dll
Syntax
public interface IFileStreamSecurityValidator
Methods
View SourceIsConsideredSafe(Stream)
Analyzes wether the file content is considered safe with registered IFileStreamSecurityAnalyzers
Declaration
bool IsConsideredSafe(Stream fileStream)
Parameters
Type | Name | Description |
---|---|---|
Stream | fileStream | Needs to be a Read seekable stream |
Returns
Type | Description |
---|---|
System.Boolean | Whether the file is considered safe after running the necessary analyzers |