
Who can show my pages inside a frame on another website?
Another website can show one of your pages inside a box on its own page. This box is called a frame. It is useful when you mean it, for example to show your booking page inside a partner’s website. It is also a trick: a fake website can show your page underneath a hidden button, so a visitor clicks something they did not mean to. Security scanners call this clickjacking and check that your site stops it.
The prompt
“Who can show my pages inside a frame on another website? I want [my page] to appear inside [the other website’s address].”
Signed in, Get my prompt fills in your site for you. Otherwise press Copy and fill in the [bracketed] parts. First time? Connect your AI to bernard once: Use your own AI (opens in a new tab).
The three choices
Each site has one setting, Who can show your pages inside a frame:
- Nobody (the default). No other website can show your pages inside a frame. This stops the trick, and it is what security scanners look for.
- Only these websites. The websites you name can show your pages, and no others. Use it when a page should appear inside your other website, a partner’s site or a booking page. You can list up to 10 websites.
- Any website. Every website can show your pages inside a frame. Choose it only when a page is made to be shown anywhere. Security scanners will then mark your site down.
bernard’s own preview, workshop and comment mode can always show your pages, whatever you choose, so no choice can break the editor.
How to change it
Open Library, then the Protect your work tab, and choose your site. Pick one of the
three choices under Who can show your pages inside a frame. For Only these
websites, type one address on each line, like https://www.example.com, then save.
You can also ask Bernard: “Let www.example.com show my pages.” Bernard checks the setting with you first. For Any website, he tells you about the scanners before he changes anything.
A change saves at once and needs no publish. bernard is switching this protection on for every site in steps, so your choice is kept and your live site follows it as soon as the protection reaches it. Ask Bernard what your live site sends today, and he will tell you.
What to type
- A whole website that starts with
https, likehttps://www.example.com. - No page name after the address. Every page on that website is allowed.
- No star to mean many websites. List each one.
httpaddresses are refused, because only secure websites can show your pages.
For the other safety settings bernard adds to every site, see My security scanner says my site is missing security headers.
Questions people ask
- Do I need to do anything?
- Usually not. Nobody is the default and the safest choice. Change it only when you want one of your pages to appear inside another website, such as your other site, a partner’s site or a booking page.
- Does a change wait for my approval?
- No. Page changes wait for your approval as usual, but this setting sits around your pages, not in them. It saves at once and needs no publish and no Approve step. You can change it back any time.
- Will this break my preview or the workshop?
- No. bernard’s own preview, workshop and comment mode can always show your pages, whatever you choose.
- Can a website I list change my pages?
- No. A website you list can show your pages inside one of its own. It cannot change them, and it cannot run anything on your site.
- Why is the address I typed refused?
- Each address must be a whole website that starts with https, like https://www.example.com. Leave out any page name after the address, and do not use a star to mean many websites. You can list up to 10 websites.