Author Topic: Content-security-policy broken  (Read 5911 times)

Offline digitalhuman

  • Newbie
  • *
  • Posts: 1
Content-security-policy broken
« on: July 27, 2015, 09:06:45 AM »
Hi,

While installing Roundcube my servers policy is broken and web-mail is not working anymore. Can you please look into this?. The response:

Content Security Policy: The page's settings blocked the loading of a resource at https://mail.mailbase.io/skins/larry/watermark.html ("frame-src https://assets.zendesk.com https://www.facebook.com https://s-static.ak.facebook.com https://tautt.zendesk.com").

add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://ssl.google-analytics.com https://assets.zendesk.com https://connect.facebook.net; img-src 'self' https://ssl.google-analytics.com https://s-static.ak.facebook.com https://assets.zendesk.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://assets.zendesk.com; font-src 'self' https://themes.googleusercontent.com; frame-src https://assets.zendesk.com https://www.facebook.com https://s-static.ak.facebook.com https://tautt.zendesk.com; object-src 'none'";


I don't see any legit reason why I should ignore this since it is a security issue. Please handle as such.

Cheers,

Digital Human


Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Content-security-policy broken
« Reply #1 on: July 27, 2015, 09:37:46 AM »
Contact your email provider, this isn't a Roundcube problem.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Content-security-policy broken
« Reply #2 on: July 28, 2015, 06:18:01 AM »
Roundcube uses frames, so you need to modify your CSP.