{"id":4420,"date":"2024-07-23T10:23:16","date_gmt":"2024-07-23T10:23:16","guid":{"rendered":"https:\/\/kb.cloudhostgeek.com\/?p=4420"},"modified":"2025-11-05T10:46:38","modified_gmt":"2025-11-05T10:46:38","slug":"content-security-policy-in-hestia","status":"publish","type":"post","link":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/","title":{"rendered":"Setting content security policy in Hestia CP for a website"},"content":{"rendered":"\n<p class=\"has-black-color has-text-color has-link-color wp-elements-c19783a419e966709afcf3803d64a6cf\">Setting up a Content Security Policy in Hestia Control Panel for a website using the l involves configuring HTTP headers to define which resources can be loaded and executed on your web pages. Here\u2019s a step-by-step guide:<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading has-black-color has-text-color has-link-color wp-elements-057f5f93a072ddfb243ce82c6918c9a1\"><strong>Steps to Setup Content Security Policy in Hestia CP<\/strong><\/h4>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-e7af65308004751ce5a3a179e7f79375\">1)\u00a0 Log in to the <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#7a00df\" class=\"has-inline-color\">Hestia Control Panel<\/mark><\/strong>.<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"940\" height=\"433\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-183.png\" alt=\"Hestia Login Page | BigCloudy KB \" class=\"wp-image-4422\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-183.png 940w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-183-300x138.png 300w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-183-768x354.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/figure>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-9c79d07de9d86c20128f2a42854d9f75\">2) Enter your admin details like<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#7a00df\" class=\"has-inline-color\"> username<\/mark><\/strong> and <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#7a00df\" class=\"has-inline-color\">password<\/mark><\/strong>, then click on the <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#7a00df\" class=\"has-inline-color\">Login<\/mark><\/strong> button.<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"940\" height=\"614\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-185.png\" alt=\"Hestia Username | BigCloudy KB \" class=\"wp-image-4424\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-185.png 940w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-185-300x196.png 300w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-185-768x502.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/figure>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"940\" height=\"596\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-184.png\" alt=\"Hestia Password | BigCloudy KB \" class=\"wp-image-4423\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-184.png 940w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-184-300x190.png 300w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-184-768x487.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/figure>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-8744a374372c0636b7c7f03c0c487bf3\">3. Once logged in, click on the <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#7a00df\" class=\"has-inline-color\">Web tab<\/mark><\/strong> in the top menu.<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"125\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-186.png\" alt=\"Web Tab in Hestia | BigCloudy KB \" class=\"wp-image-4425\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-186.png 940w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-186-300x40.png 300w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-186-768x102.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/figure>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-e002b5aa4496786f85203d368b6c8b7c\">4. Select the <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#7a00df\" class=\"has-inline-color\">domain<\/mark><\/strong> for which you want to set up CSP.<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"130\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-187.png\" alt=\"Add Web Domain in Hestia | BigCloudy KB \" class=\"wp-image-4426\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-187.png 940w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-187-300x41.png 300w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-187-768x106.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/figure>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-5b3e45b0a866b6f9164900842f92e61c\">5. Search for  <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#7a00df\" class=\"has-inline-color\">File Manager<\/mark><\/strong> and click on it for the selected domain.<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"284\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-188.png\" alt=\"File Manager in Hestia | BigCloudy KB \" class=\"wp-image-4427\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-188.png 940w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-188-300x91.png 300w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-188-768x232.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/figure>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-19ac39575cbbdefa17eafe3efef28cf4\">6. Navigate to the web root directory of your website (often located at \u00a0 \u00a0 \/home\/user\/web\/example.com\/public_html).<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"416\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-189.png\" alt=\"Content Security Policy in Hestia | BigCloudy KB \" class=\"wp-image-4428\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-189.png 940w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-189-300x133.png 300w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-189-768x340.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/figure>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-0797e7f5a32a79cef20fd71a07256689\">7. Look for the <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#7a00df\" class=\"has-inline-color\">.htaccess<\/mark><\/strong> file in your website\u2019s root directory. If it doesn&#8217;t exist, create a new file named .htaccess.<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"301\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-190.png\" alt=\".htacess File in Hestia | BigCloudy KB \" class=\"wp-image-4429\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-190.png 940w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-190-300x96.png 300w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-190-768x246.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/figure>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"348\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-191.png\" alt=\"Create .htaccess File in Hestia | BigCloudy KB \" class=\"wp-image-4430\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-191.png 620w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-191-300x168.png 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/figure>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"301\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-192.png\" alt=\"Save .htaccess File | BigCloudy KB \" class=\"wp-image-4431\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-192.png 940w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-192-300x96.png 300w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/07\/image-192-768x246.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/figure>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-24e3684cbacad7f73f36df2f2dcb38ef\">8. <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#7a00df\" class=\"has-inline-color\">Edit<\/mark><\/strong> the .htaccess file to add the CSP( content security policy).<\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-89aace19b18c8c0c134b5e847c1afae7\">9. <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#7a00df\" class=\"has-inline-color\">Save<\/mark><\/strong> the .htaccess file after adding or modifying the CSP directives.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-7df2ececa1fed5f7aa595b5ddc78869d\">10. To ensure the CSP is correctly applied, you can use browser developer tools (like Chrome DevTools) to check the HTTP headers of your website\u2019s responses. Look for the Content-Security-Policy header to verify that your directives are present.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-b3617c29b85f15230dbc41676a6739c2\">Using the above steps, you can set up a Content Security Policy for the Website with Hestia CP.<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Additional Resources<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list has-black-color has-text-color has-link-color wp-elements-38df62bbe622d5bb12b351fc29c07edc\">\n<li><strong><a style=\"color:#7a00df;\" href=\"https:\/\/hestiacp.com\/docs\/introduction\/getting-started.html\">Hestia Documentation<\/a><\/strong><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Setting up a Content Security Policy in Hestia Control Panel for a website using the l involves configuring HTTP headers to define which resources can be loaded and executed on your web pages. Here\u2019s a step-by-step guide: Steps to Setup Content Security Policy in Hestia CP 1)\u00a0 Log in to the Hestia Control Panel. 2) Enter your admin details like username and password, then click on the Login button. 3. Once logged in, click on the Web tab in the top menu. 4. Select the domain for which you want to set up CSP. 5. Search for File Manager and click on it for the selected domain. 6. Navigate to the web root directory of your website (often located at \u00a0 \u00a0 \/home\/user\/web\/example.com\/public_html). 7. Look for the .htaccess file in your website\u2019s root directory. If it doesn&#8217;t exist, create a new file named .htaccess. 8. Edit the .htaccess file to add the CSP( content security policy). 9. Save the .htaccess file after adding or modifying the CSP directives. 10. To ensure the CSP is correctly applied, you can use browser developer tools (like Chrome DevTools) to check the HTTP headers of your website\u2019s responses. Look for the Content-Security-Policy header to verify that your directives are present. Using the above steps, you can set up a Content Security Policy for the Website with Hestia CP. Additional Resources<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"elementor_theme","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":[],"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[221,202],"tags":[222,192],"class_list":["post-4420","post","type-post","status-publish","format-standard","hentry","category-hestia","category-system-management-hestia","tag-hestia","tag-website","no-post-thumbnail"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.7 (Yoast SEO v26.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Setting Content Security Policy in Hestia CP for a Website<\/title>\n<meta name=\"description\" content=\"Learn to set a Content Security Policy in Hestia for website and prevent malicious scripts and resources from harming your site&#039;s content.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting content security policy in Hestia CP for a website\" \/>\n<meta property=\"og:description\" content=\"Learn to set a Content Security Policy in Hestia for website and prevent malicious scripts and resources from harming your site&#039;s content.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudHostGeek Help Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BigCloudyHosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-23T10:23:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-05T10:46:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-183.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bigcloudypvtltd\" \/>\n<meta name=\"twitter:site\" content=\"@bigcloudypvtltd\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Setting Content Security Policy in Hestia CP for a Website","description":"Learn to set a Content Security Policy in Hestia for website and prevent malicious scripts and resources from harming your site's content.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/","og_locale":"en_US","og_type":"article","og_title":"Setting content security policy in Hestia CP for a website","og_description":"Learn to set a Content Security Policy in Hestia for website and prevent malicious scripts and resources from harming your site's content.","og_url":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/","og_site_name":"CloudHostGeek Help Center","article_publisher":"https:\/\/www.facebook.com\/BigCloudyHosting\/","article_published_time":"2024-07-23T10:23:16+00:00","article_modified_time":"2025-11-05T10:46:38+00:00","og_image":[{"url":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-183.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@bigcloudypvtltd","twitter_site":"@bigcloudypvtltd","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/#article","isPartOf":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/"},"author":{"name":"admin","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/person\/378209d3259734d846716786afbc52b0"},"headline":"Setting content security policy in Hestia CP for a website","datePublished":"2024-07-23T10:23:16+00:00","dateModified":"2025-11-05T10:46:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/"},"wordCount":236,"publisher":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#organization"},"image":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/#primaryimage"},"thumbnailUrl":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-183.png","keywords":["Hestia","Website"],"articleSection":["Hestia","System Management Hestia"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/","name":"Setting Content Security Policy in Hestia CP for a Website","isPartOf":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/#primaryimage"},"image":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/#primaryimage"},"thumbnailUrl":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-183.png","datePublished":"2024-07-23T10:23:16+00:00","dateModified":"2025-11-05T10:46:38+00:00","description":"Learn to set a Content Security Policy in Hestia for website and prevent malicious scripts and resources from harming your site's content.","breadcrumb":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/#primaryimage","url":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-183.png","contentUrl":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2024\/07\/image-183.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/content-security-policy-in-hestia\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bigcloudy.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Setting content security policy in Hestia CP for a website"}]},{"@type":"WebSite","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#website","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/","name":"https:\/\/www.bigcloudy.com\/","description":"Your step-by-step guide to hosting, servers &amp; website tools.","publisher":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bigcloudy.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#organization","name":"BigCloudy internt services pvt ltd.","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/09\/cropped-BGC_logo.webp","contentUrl":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/09\/cropped-BGC_logo.webp","width":368,"height":114,"caption":"BigCloudy internt services pvt ltd."},"image":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/BigCloudyHosting\/","https:\/\/x.com\/bigcloudypvtltd","https:\/\/www.instagram.com\/bigcloudypvtltd\/"]},{"@type":"Person","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/person\/378209d3259734d846716786afbc52b0","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/42ea90e921e5926f1db3403e79195ea7c0e898504fd43555e6099a85c9c91443?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/42ea90e921e5926f1db3403e79195ea7c0e898504fd43555e6099a85c9c91443?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/kb.cloudhostgeek.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/4420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=4420"}],"version-history":[{"count":0,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/4420\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=4420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=4420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=4420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}