Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How to override default CSP rule in Codeigniter 4 ?
Post: RE: How to override default CSP rule in Codeignite...

kenjis Wrote: (12-30-2023, 03:23 PM) -- egranty Wrote: (12-30-2023, 09:46 AM) -- The default CSP settings are in the /app/Config/ContentSecurityPolicy.php file,but if you want to change them, don't ...
1,134 Views
5 Replies
12-30-2023, 06:21 PM
egranty
    Thread: How to override default CSP rule in Codeigniter 4 ?
Post: RE: How to override default CSP rule in Codeignite...

postgres Wrote: (10-31-2023, 01:06 AM) -- Dear Friends, I got solution By adding the line Code: -- Header always set Content-Security-Policy "default-src 'self''unsafe-inline' https://www.google...
1,134 Views
5 Replies
12-30-2023, 09:46 AM
egranty
    Thread: Missing favicon.ico is blocked by CSP?
Post: RE: Missing favicon.ico is blocked by CSP?

blaasvaer Wrote: (08-25-2020, 03:52 AM) -- How do I get rid of this error: Code: -- Content Security Policy: The page’s settings blocked the loading of a resource at http://localhost/favicon.ico (ht...
6,385 Views
5 Replies
11-23-2020, 10:16 AM
egranty
    Thread: Save php code in database
Post: RE: Save php code in database

Saving PHP code in database commonly is a bad practice: - after get a record from DB you have to parse all PHP codes and use eval() to execute those. It's a direct way to get XSS/SQL-injection. - yo...
4,377 Views
5 Replies
11-23-2020, 09:59 AM
egranty
    Thread: how to configure CSP correctly
Post: RE: how to configure CSP correctly

ttwist Wrote: (11-25-2019, 11:17 PM) -- frankenestain Wrote: (10-12-2018, 11:52 AM) -- There's no app.php in config ! -- There is it, in CodeIgniter 4, can anybody help with V3? Thanks! -- Yeah...
20,167 Views
8 Replies
11-23-2020, 09:29 AM
egranty

Theme © iAndrew 2016 - Forum software by © MyBB