Skip to content

clelland/feature-policy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Permissions Policy and Document Policy

Permissions Policy (previously named Feature Policy)

A web platform API which gives a website the ability to allow and deny the use of browser features in its own frame, and in iframes that it embeds. Examples of features that could be controlled by permissions policy include:

  • getUserMedia (Camera and Microphone)
  • Fullscreen
  • Geolocation
  • MIDI
  • Payments
  • Synchronous XHR
  • ...

See also: how to integrate a web platform feature with permissions policy.

The Permissions Policy spec is hosted on this repo, at https://w3c.github.io/webappsec-feature-policy/ (the URL reflects the previous name of this API, "Feature Policy".)

For more explanation, use cases, examples, etc., please refer to the explainer document.

Document Policy

Another web platform API which gives a website the ability to allow and deny the use of browser features in its own frame, and in iframes that it embeds!

The spec is hosted on this repo, at https://w3c.github.io/webappsec-feature-policy/document-policy.html

For more explanation, use cases, examples, etc., please refer to the document policy explainer document.

Questions, suggestions? Please open an issue or send a pull request!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%