You are here: Reference > HTML > attributes > security (frame, iframe)

security attribute (frame, iframe)

Browser support:
Applies the user's Restricted Sites Internet Explorer security zone settings to an individual frame or iframe.
By default, the restricted sites zone is assigned to the High security level. If you set the security level to restricted for an frame or iframe element, it will be allowed to perform only minimal, very safe operations. Use it for sites that you do not trust. Pages assigned to the higher security zone might not function or be displayed properly, because Internet Explorer disables active scripting and Java applets.

Possible values:

String that sets the security zone to apply.
Only the following value is available:
Applies security settings to frame source files.
Default: false.

Example HTML code 1:

This example illustrates the use of the SECURITY attribute:
<iframe security="restricted" src="frame.htm"></iframe>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content