<element security="" ... >
A String that specifies the following value.
Value Meaning restricted
There are no standards that apply here.
The sSecure value must specify
restricted. Because security is an attribute only, it must be defined in the frame element declaration.
If a frame is restricted by the security attribute, all nested frames share the same restrictions.
The security attribute applies the user security setting Restricted Sites to the source file of a frame or iframe. (Zone settings are found on the Security tab of the Internet Options dialog box.) By default, scripting is not enabled in the Restricted Sites zone. By changing the security settings of the zone, various negative results can occur, including, but are not limited to, allowing script to run.
- Hyperlinks and forms open in a new window. This happens even when the target attribute specifies
"_self"for a frame nested in the restricted frame. In the following example, when you click a hyperlink in the iframe, a new window opens with the requested document.
<iframe security="restricted" src="http://www.microsoft.com"></iframe>
Security Warning: If the restricted document contains script, the script can be executed when the page is opened in a new window, depending on the security settings of the zone. This is not a problem if the restricted iframe contains inline content, for example, there is no src attribute; or if the content comes from a another more restricted domain, for example, "contoso.com" hosts a page from "untrusted.com". However, when content from the same domain is hosted in a restricted frame, care should be taken to limit the action of hyperlinks and forms. Refer to the following example.
Minimum supported client
Minimum supported server
Windows 2000 Server