Walter.Web.FireWall
AddFrameOptionsSameOrigin(String) Method
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Configurations Namespace > HeaderConfig Class > AddFrameOptionsSameOrigin Method : AddFrameOptionsSameOrigin(String) Method
The url of the origin in which the page may be displayed in a frame
Add X-Frame-Options ALLOW-FROM {url path} to all requests, where the url is provided The page can only be displayed in a frame on the specified origin.
Syntax
public ISecurityHeadersBuilder AddFrameOptionsSameOrigin( 
   string path
)

Parameters

path
The url of the origin in which the page may be displayed in a frame

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