Walter.Web.FireWall
AddFrameOptionsSameOrigin() Method
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Configurations Namespace > HeaderConfig Class > AddFrameOptionsSameOrigin Method : AddFrameOptionsSameOrigin() Method
Add X-Frame-Options SAMEORIGIN to all requests. The page can only be displayed in a frame on the same origin as the page itself so only your own website.
Syntax
public ISecurityHeadersBuilder AddFrameOptionsSameOrigin()

Return Value

ISecurityHeadersBuilder.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

HeaderConfig Class
HeaderConfig Members
Overload List