• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Microsoft.AspNetCore.Builder
    • SecureHeadersMiddlewareExtensions
  • Microsoft.Extensions.DependencyInjection
    • UnitOfWorkServiceCollectionExtensions
  • WaCore.Contracts.Data
    • IWacTransaction
    • IWacUnitOfWork
  • WaCore.Contracts.Data.Repositories.Base
    • IWacRepository<TEntity>
  • WaCore.Crud.Contracts.Data
    • IWacListDataRepository<TEntity, TFilter>
  • WaCore.Crud.Contracts.Dtos
    • IWacFilter
  • WaCore.Crud.Contracts.Services
    • IWacCrudService<TEntity, TFilter, TDto, TNewDto>
    • IWacListDataService<TFilter, TDto>
    • Operation
  • WaCore.Crud.Contracts.Utils
    • IPagedList<T>
  • WaCore.Crud.Data.Ef
    • WacListDataRepository<TEntity, TDbContext, TFilter>
  • WaCore.Crud.Dtos.Filters
    • WacFilter
  • WaCore.Crud.Services
    • WacCrudService<TEntity, TFilter, TDto, TNewDto>
    • WacListDataService<TEntity, TFilter, TDto>
  • WaCore.Crud.UnitTests.Utils
    • SortBySplitterTests
    • SortFieldMappingBuilderTests
    • SortFieldMappingBuilderTests.TestDto
    • SortingValidation
  • WaCore.Crud.Utils
    • LinqExtensions
    • PagedList<T>
  • WaCore.Crud.Utils.Exceptions
    • ResourceNotFoundException
  • WaCore.Crud.Utils.Sorting
    • IFirstSortConfigurable<TEntity>
    • ISecondarySortConfigurable<TEntity>
    • ISortFieldMappingBuilder<TEntity>
    • OrderItem
    • OrderItem.OrderBy
    • SingleSortFieldMap<TEntity>
    • SortBySplitter
    • SortColumnDescriptor<TEntity>
    • SortFieldMapping<TEntity>
    • SortFieldMappingBuilder<TEntity>
  • WaCore.Data.Ef
    • WacDbContextTransactionWrapper
    • WacEfUnitOfWork<TDbContext>
  • WaCore.Data.Ef.DependencyInjection
    • RepositoryConfiguration<TDbContext, TUnitOfWorkService>
  • WaCore.Data.Repositories.Base
    • WacRepository<TEntity, TDbContext>
  • WaCore.Sample.Middlewares
    • Program
    • Startup
  • WaCore.Sample.Middlewares.Controllers
    • HomeController
  • WaCore.Sample.Middlewares.Models
    • ErrorViewModel
  • WaCore.Web.Middleware.SecureHeaders
    • SecureHeadersConstants
    • WacSecureHeadersMiddleware
  • WaCore.Web.Middleware.SecureHeaders.Models
    • ContentSecurityPolicyConfiguration
    • HpkpConfiguration
    • HstsConfiguration
    • IConfigurationBase
    • ISecureHeadersMiddlewareConfiguration
    • ReferrerPolicyConfiguration
    • WacSecureHeadersMiddlewareConfiguration
    • XContentTypeOptionsConfiguration
    • XFrameOptionsConfiguration
    • XFrameOptionsConfiguration.XFrameOptions
    • XssConfiguration
    • XssConfiguration.XssMode

Enum XssConfiguration.XssMode

Namespace: WaCore.Web.Middleware.SecureHeaders.Models
Assembly: WaCore.Web.dll
Syntax
public enum XssMode

Fields

Name Description
one

Enables XSS filtering (usually default in browsers). If a cross-site scripting attack is detected, the browser will sanitize the page (remove the unsafe parts)

oneBlock

Enables XSS filtering. Rather than sanitizing the page, the browser will prevent rendering of the page if an attack is detected

oneReport

Enables XSS filtering. If a cross-site scripting attack is detected, the browser will sanitize the page and report the violation. This uses the functionality of the CSP report-uri directive to send a report

zero

Disables XSS filtering

  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX