angellombana Posted July 14, 2022 Share Posted July 14, 2022 Hello, does anyone know how to remove this lock? It happens to me in the Elementor module, the developer told me to tell the server to remove that lock from the iframe, but the server intern doesn't even know what's happening because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'" Link to comment Share on other sites More sharing options...
sim3883 Posted July 26, 2023 Share Posted July 26, 2023 Hello Did you find a solution to this problem ? I'm having the same issue, and cannot find where this setting is done Thanks Link to comment Share on other sites More sharing options...
musicmaster Posted August 2, 2023 Share Posted August 2, 2023 frame-ancestors is a http setting. So you set it in the header commands before you output the html of a webpage. In the early days of the internet hackers sometimes invited you to open sensitive pages like bank accounts into iframes so that they had some level of access to what you did on those pages. To prevent that such sensitive pages now are sent with this http setting that blocks them from being opened in an iframe. Search the internet for "frame-ancestors" and you will learn more. Link to comment Share on other sites More sharing options...
sim3883 Posted August 2, 2023 Share Posted August 2, 2023 Hi , thanks for your answer. I finally solved the issue, it was the Official UPS module that had a setting to add those headers to every http commands, i've been able to disable it in the module config thanks Link to comment Share on other sites More sharing options...
Chpaquito Posted December 13, 2023 Share Posted December 13, 2023 Hi @sim3883 happy to know the positive outcome, could you share the change you made ? thanks ! Link to comment Share on other sites More sharing options...
sim3883 Posted December 13, 2023 Share Posted December 13, 2023 (edited) Hi My UPS module is in french but I'll try to translate the labels . In the module config, go to the last part "Security improvements". Then , the fourth setting is something like " Use Content-Security-Policy header", You have to check the options "Do not use" or "self frame ancestors", if you enable the option "none frame ancestors" then the lock will be enabled and many things won't work (product popups for instance) Edited December 13, 2023 by sim3883 (see edit history) Link to comment Share on other sites More sharing options...
Chpaquito Posted December 13, 2023 Share Posted December 13, 2023 merci beaucoup 😀 ! effectivement tout bon maintenant Link to comment Share on other sites More sharing options...
sim3883 Posted December 13, 2023 Share Posted December 13, 2023 Content d'avoir aidé alors Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now