-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#00000 Improving Score of CSP for VAPT Issue
- Loading branch information
1 parent
55d4685
commit 71b7745
Showing
3 changed files
with
33 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,20 +27,21 @@ | |
<title>EkStep</title> | ||
|
||
<!-- Content Security Policy --> | ||
<meta http-equiv="Content-Security-Policy" content=" | ||
default-src 'self'; | ||
script-src 'self' https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js 'unsafe-eval'; | ||
style-src 'self' https://fonts.googleapis.com https://fonts.cdnfonts.com 'unsafe-inline'; | ||
object-src 'none'; | ||
base-uri 'self'; | ||
connect-src 'self' *.theall.ai https://all-prod-content-service.s3.ap-south-1.amazonaws.com blob:; | ||
font-src 'self' https://fonts.googleapis.com https://fonts.cdnfonts.com https://fonts.gstatic.com; | ||
frame-src 'self'; | ||
img-src 'self' https://images.squarespace-cdn.com https://all-prod-content-service.s3.ap-south-1.amazonaws.com https://s3.ap-south-1.amazonaws.com data: blob: https://raw.githubusercontent.com; | ||
manifest-src 'self'; | ||
media-src 'self' blob: https://all-prod-content-service.s3.ap-south-1.amazonaws.com; | ||
worker-src 'self' blob: https://d114esnbvw5tst.cloudfront.net; | ||
" /> | ||
<meta http-equiv="Content-Security-Policy" content=" | ||
default-src 'self'; | ||
script-src 'self' https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js 'unsafe-eval'; | ||
style-src 'self' https://fonts.googleapis.com https://fonts.cdnfonts.com 'unsafe-inline'; | ||
object-src 'none'; | ||
base-uri 'self'; | ||
connect-src 'self' *.theall.ai https://all-prod-content-service.s3.ap-south-1.amazonaws.com blob:; | ||
font-src 'self' https://fonts.googleapis.com https://fonts.cdnfonts.com https://fonts.gstatic.com; | ||
frame-src 'self'; | ||
img-src 'self' https://images.squarespace-cdn.com https://all-prod-content-service.s3.ap-south-1.amazonaws.com https://s3.ap-south-1.amazonaws.com data: blob: https://raw.githubusercontent.com/; | ||
manifest-src 'self'; | ||
media-src 'self' blob: https://all-prod-content-service.s3.ap-south-1.amazonaws.com; | ||
worker-src 'self' blob: https://d114esnbvw5tst.cloudfront.net; | ||
" /> | ||
|
||
|
||
</head> | ||
<body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters