yii2-secure-headers | Secure headers extension for your Yii2 application
kandi X-RAY | yii2-secure-headers Summary
kandi X-RAY | yii2-secure-headers Summary
yii2-secure-headers is a PHP library. yii2-secure-headers has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
Wildcard, allows any URL except data: blob: filesystem: schemes. Prevents loading resources from any source. Allows loading resources from the same origin (same scheme, host and port). Allows loading resources via the data scheme (eg Base64 encoded images). Allows loading resources from the specified domain name. Allows loading resources from any subdomain under example.com. Allows loading resources only over HTTPS matching the given domain. Allows loading resources only over HTTPS on any domain. Allows use of inline source elements such as style attribute, onclick, or script tag bodies (depends on the context of the source it is applied to). Allows unsafe dynamic code evaluation such as JavaScript eval(). Each header has a reference link in config file, you should read it if you do not know the header. If you want to disable a string type header, just set to null or empty string. We use paragonie/csp-builder to help us support csp header. If you want to disable csp header, set custom-csp to empty string. If you want to require subresource integrity for style and script sources set requireSriForStyle and requireSriForScript to true. Deprecated. Use Permissions Policy instead. Feature Policy is being created to allow site owners to enable and disable certain web platform features on their own pages and those they embed. Use same directives as for CSP. Permissions Policy is new policy which will replace Feature Policy.
Wildcard, allows any URL except data: blob: filesystem: schemes. Prevents loading resources from any source. Allows loading resources from the same origin (same scheme, host and port). Allows loading resources via the data scheme (eg Base64 encoded images). Allows loading resources from the specified domain name. Allows loading resources from any subdomain under example.com. Allows loading resources only over HTTPS matching the given domain. Allows loading resources only over HTTPS on any domain. Allows use of inline source elements such as style attribute, onclick, or script tag bodies (depends on the context of the source it is applied to). Allows unsafe dynamic code evaluation such as JavaScript eval(). Each header has a reference link in config file, you should read it if you do not know the header. If you want to disable a string type header, just set to null or empty string. We use paragonie/csp-builder to help us support csp header. If you want to disable csp header, set custom-csp to empty string. If you want to require subresource integrity for style and script sources set requireSriForStyle and requireSriForScript to true. Deprecated. Use Permissions Policy instead. Feature Policy is being created to allow site owners to enable and disable certain web platform features on their own pages and those they embed. Use same directives as for CSP. Permissions Policy is new policy which will replace Feature Policy.
Support
Quality
Security
License
Reuse
Support
yii2-secure-headers has a low active ecosystem.
It has 17 star(s) with 7 fork(s). There are 2 watchers for this library.
It had no major release in the last 12 months.
There are 2 open issues and 7 have been closed. On average issues are closed in 17 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of yii2-secure-headers is 2.2
Quality
yii2-secure-headers has 0 bugs and 12 code smells.
Security
yii2-secure-headers has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
yii2-secure-headers code analysis shows 0 unresolved vulnerabilities.
There are 1 security hotspots that need review.
License
yii2-secure-headers is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
yii2-secure-headers releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
It has 874 lines of code, 98 functions and 26 files.
It has low code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed yii2-secure-headers and discovered the below as its top functions. This is intended to give you an instant insight into yii2-secure-headers implemented functionality, and help decide if they suit your requirements.
- Bootstrap application .
- Get CSP Subresource integrity
- Get CSP report URI
- Returns XSS protection report part .
- Get value .
- Get the security name .
- Returns true if the value is valid
Get all kandi verified functions for this library.
yii2-secure-headers Key Features
No Key Features are available at this moment for yii2-secure-headers.
yii2-secure-headers Examples and Code Snippets
No Code Snippets are available at this moment for yii2-secure-headers.
Community Discussions
No Community Discussions are available at this moment for yii2-secure-headers.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install yii2-secure-headers
The preferred way to install this extension is through composer. to the require section of your composer.json.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page