Skip to content

Commit

Permalink
CNX-34045 Add outlook domain to Content-Security-Policy (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsrich92 authored Mar 29, 2024
1 parent a30eb35 commit a8a95df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,6 @@ Header edit Set-Cookie ^(.*)$ "$1; SameSite=None;Secure"
Header set X-content-Type-Options "nosniff"
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"

# Apply CSP to all requests to prevent clickjacking
# Apply CSP to all requests to prevent clickjacking. Include exceptions for teams addin and outlook addin
Header unset Content-Security-Policy
Header always set Content-Security-Policy "frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com"
Header always set Content-Security-Policy "frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com .office365.com"

0 comments on commit a8a95df

Please sign in to comment.