How-To: Allow website to be included in mobile apps or iFrames

How-To: Allow website to be included in mobile apps or iFrames

Hotelwize websites have strengthen security, by default not allowing the inclusion in iFrames or Mobile Apps. This is achieved by including the Content Security Policy (CSP) for all websites and utilizing the X-Frame-Options http header.

QuoteContent Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross-Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft, to site defacement, to malware distribution.

To allow certain websites to by pass CSP, you should use the Advanced Hosting Configuration Plugin. Activate the plugin for the website and then type in the domains you want in the X-Frame-Options Allowed Parent Hosts field.

    • Related Articles

    • Best practices for Hotelwize Users

      As your web presence solution, Hotelwize holds confidential data like organization details, important guest information, and more that is integral to your day-to-day operations and business continuity. At Hotelwize, we follow industry-standard best ...
    • How-To: Add a video on my website

      For optimal website performance and user experience, it is recommended to host videos on a streaming platform such as Vimeo (paid option) or YouTube. You can then integrate these videos into your website in two ways: Option 1: Embedding a Video ...
    • How-To: Add analytics tracking to website

      Hotelwize supports analytics tracking to different vendors such as Google Analytics (GA4), Google Ads, Facebook, Microsoft, Matomo Tracking Events Page views & Click events Tracking is implemented in each theme using the page_view and click events. ...
    • Create a new Website

      To create a new website you must be a member of the tenant administrators. Navigate to tenant Admin area and then select Websites from the menu Click on Add Website button Select the website owner's Company from the drop down list. If you don't find ...
    • How-To: Add a new photo to your website

      To add a new photo to your website, please follow the steps below: Go to the specific page where you want to insert the photo. Identify the section within the page where you wish the photo to appear. Click on the "Set Media" button. Click "Browse", ...