Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020年7月.
allow は HTMLIFrameElement インターフェイスのプロパティで、この <iframe> 要素に対して指定された権限ポリシーを示します。このポリシーは、リクエストのオリジンに基づいて、この <iframe> 要素で利用できる機能(例えば、 microphone、camera、battery、web-share などへのアクセス)を定義します。
allow 属性で指定する権限ポリシーは、Permissions-Policy ヘッダーで指定するポリシーの上位にさらに制限を実装します。 置き換えるものではありません。
詳しくは <iframe> の権限ポリシーの構文を参照してください。
これは <iframe> 要素の allow 属性を反映します。
A string indicates the 権限ポリシー specified for this <iframe> element, each policy must be separated by space.
See Permissions Policy in <iframe> element for more available examples.
| HTML # dom-iframe-allow |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025年3月21日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.