Comments (5)
Hi @bepsvpt, how are you man?, i have troubles by adding the data attribute on:
'font-src' => ['data' => true]
img-src' => ['data' => true]
The 'data' attribute not works!
Can you help me?
Thanks!
from secure-headers.
Found the problem to allow 'data', if some one needs to allow 'data' on each attributes (font-src, img-src, style-src, etc), you can do something like this:
font-src => [ 'allow' => 'data:' ]
img-src => [ 'allow' => 'data:' ]
I hope this will be helpfull
from secure-headers.
Hi @dsingleton47 and @JohanMa4,
I have updated the document. If you have any suggestion, I will deeply appreciate your feedback.
from secure-headers.
Please improve Documents, the CSP part is very bad at understanding.
Could you give better examples of how to use CSP?
from secure-headers.
Hi @agenciatamandua,
If you can provide your requirements, I can include it in examples.
from secure-headers.
Related Issues (20)
- Support for Reporting API and NEL header HOT 2
- X-Powered-By header name
- Rename Feature-Policy header to Permissions-Policy HOT 8
- Incorrect option header name HOT 1
- Error 500 in Laravel HOT 3
- After setup for laravel, Content-Security-Policy header is not generated HOT 6
- X-Powered-By keep showing when I leave it empty in config file HOT 4
- Support SharedArrayBuffer updates in Chrome around May 2021 HOT 1
- undefined index: x-content-type-options HOT 2
- Add CSP Report To HOT 2
- Add route whitelist HOT 1
- Laravel 9 Support HOT 4
- redirected to file's directory while validation Laravel HOT 1
- Unable to set multiple values to the frame-ancestors directive of the content-security-policy header HOT 2
- jquery.min.js HOT 1
- securityheaders.com still show Big red F HOT 6
- Eliminate Laravel dependency for non-Laravel users HOT 2
- Laravel Horizon not loading UI HOT 2
- How can I apply the following in the "Content-Security-Policy" ? HOT 6
- Some value does not appear on the HTTP request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secure-headers.