{"id":571,"date":"2025-05-29T04:26:40","date_gmt":"2025-05-29T02:26:40","guid":{"rendered":"https:\/\/hostup.se\/en\/support\/?p=571"},"modified":"2025-06-16T00:25:51","modified_gmt":"2025-06-15T22:25:51","slug":"forbattra-webbplatsens-sakerhet","status":"publish","type":"post","link":"https:\/\/hostup.se\/en\/support\/forbattra-webbplatsens-sakerhet\/","title":{"rendered":"Cloudflare &#8211; Website Security &#038; Cache"},"content":{"rendered":"\n<p>First, you need to log in to your cPanel account. You can do this by entering <code>cpanel.yourdomain.se<\/code> in your browser and providing your login credentials.<\/p>\n\n\n\n<p>You can find the username and password in the email with the subject <em>Get Started with Your Web Hosting<\/em>. You received it when you purchased your web hosting.<\/p>\n\n\n\n<p>As a Cloudflare Partner, we have had the opportunity to build <a href=\"https:\/\/hostup.se\/blogg\/nya-mojligheter-med-var-cloudflare-integration\/\">an amazing integration (swedish)<\/a>. Protecting your website from threats is truly something we are passionate about. In cPanel, under <em><em>HostUp Features<\/em> > Cloudflare<\/em>, you can manage this setting.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"169\" src=\"https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-cloudflare-1024x169.png\" alt=\"\" class=\"wp-image-585\" srcset=\"https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-cloudflare-1024x169.png 1024w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-cloudflare-300x49.png 300w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-cloudflare-768x127.png 768w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-cloudflare-1536x253.png 1536w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-cloudflare.png 1758w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>By default, we implement many great security features such as blocking known bad automated traffic, setting up DDoS protection, redirecting from http to https, and much more in the background. However, not everything we recommend is enabled.<\/p>\n\n\n\n<p>As a default setting, we try not to be too aggressive in what we do. We don&#8217;t want it to affect anyone negatively, even if only 1 in 10 were to experience problems.<\/p>\n\n\n\n<p>We recommend that you take a few minutes to read through the description below and activate the security features you think would suit your website well!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Description_of_Features\"><\/span>Description of Features<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Below is a description of all the security features you can configure as shown in the image above. We recommend checking all the boxes, but if you encounter issues with something not working as it should, we suggest unchecking the &#8220;bot protection&#8221; rule and also allowing foreign traffic if you choose not to permit this.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"268\" src=\"https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-cloudflare-settings-menu-1024x268.png\" alt=\"\" class=\"wp-image-572\" srcset=\"https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-cloudflare-settings-menu-1024x268.png 1024w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-cloudflare-settings-menu-300x78.png 300w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-cloudflare-settings-menu-768x201.png 768w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-cloudflare-settings-menu-1536x402.png 1536w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-cloudflare-settings-menu-2048x535.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"margin-bottom:20px; padding:15px; background:#fffbea; border:1px solid #ffc107; border-radius:5px;\">\n  <h3><span class=\"ez-toc-section\" id=\"Proxy\"><\/span>Proxy<span class=\"ez-toc-section-end\"><\/span><\/h3>\n  Controls whether your website\u2019s traffic is routed through Cloudflare. We recommend keeping this enabled. With this option you get a basic WAF that protects your site against known vulnerabilities, DDoS protection, and a CDN that speeds up your site for global traffic.<br>\n<\/div>\n\n<div style=\"margin-bottom:20px; padding:15px; background:#eef9ff; border:1px solid #cceeff; border-radius:5px;\">\n  <h3><span class=\"ez-toc-section\" id=\"Bot_protection\"><\/span>Bot protection<span class=\"ez-toc-section-end\"><\/span><\/h3>\n  Bot protection blocks known automated traffic except verified and trusted bots. Trusted bots belonging to search engines, such as Google, or certain WordPress plugins like Jetpack, are allowed.<br><br>\n  We recommend enabling this to block automated traffic that, for example, harvests email addresses (for spam), runs scrapers that can burden your website, launches overload attacks from unknown botnets, and other automated traffic that poses a threat.<br><br>\n  List of all trusted bots: <a href=\"https:\/\/radar.cloudflare.com\/traffic\/verified-bots\" target=\"_blank\" rel=\"noopener\">Cloudflare Verified Bots<\/a>.\n<\/div>\n\n<div style=\"margin-bottom:20px; padding:15px; background:#fffbea; border:1px solid #ffc107; border-radius:5px;\">\n  <h3><span class=\"ez-toc-section\" id=\"Block_or_challenge_non-Swedish_traffic\"><\/span>Block or challenge non-Swedish traffic<span class=\"ez-toc-section-end\"><\/span><\/h3>\n  Here you can choose how to handle visitors who <em>do not<\/em> come from Sweden.\n  You can disable the feature (<em>off<\/em>), have them meet a so-called\n  <em>Challenge<\/em> (a captcha-like test to verify they are not a malicious bot),\n  or completely <em>block<\/em> them.<br><br>\n  <strong>Note:<\/strong> Search engines such as Google and certain other verified bots (Stripe Webhooks, Klarna and others)\n  are allowed through based on their <em>verified bot category<\/em>.\n  All other foreign traffic is either challenged or blocked, depending on your choice. By default this applies for Swedish traffic but if your core audience is for example Norwegian, just reach out to our support and we&#8217;ll modify this for you!<br><br>\n  Setting this option to Challenge is recommended for most websites. Read more about <a href=\"https:\/\/hostup.se\/blogg\/att-skydda-sin-hemsida-pa-internet-mot-attacker-ar-enkelt\/\" target=\"_blank\">why we recommend this setting<\/a>.\n<\/div>\n\r\n\t\t\t<div id=\"daexthefu-container\"\r\n\t\t\t\tclass=\"daexthefu-container daexthefu-layout-side-by-side daexthefu-alignment-left\"\r\n\t\t\t\tdata-post-id=\"571\">\r\n\r\n\t\t\t\t<div class=\"daexthefu-feedback\">\r\n\t\t\t\t\t<div class=\"daexthefu-text\">\r\n\t\t\t\t\t\t<h3 class=\"daexthefu-title\">Was this article helpful?<\/h3>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"daexthefu-buttons-container\">\r\n\t\t\t\t\t\t<div class=\"daexthefu-buttons\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefu-yes daexthefu-button daexthefu-button-type-icon\" data-value=\"1\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.happy-face-cls-1{fill:#c9c9c9;}.happy-face-cls-2{fill:#e1e1e1;}.happy-face-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"happy_face\">\r\n                        <circle class=\"happy-face-cls-1 daexthefu-icon-primary-color\" cx=\"24\" cy=\"24\" r=\"17\" \/>\r\n                        <path class=\"happy-face-cls-2 daexthefu-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <circle class=\"happy-face-cls-3 daexthefu-icon-secondary-color\" cx=\"18\" cy=\"22\" r=\"2\" \/>\r\n                        <circle class=\"happy-face-cls-3 daexthefu-icon-secondary-color\" cx=\"30\" cy=\"22\" r=\"2\" \/>\r\n                        <path class=\"happy-face-cls-3 daexthefu-icon-secondary-color\" d=\"m16.79,29c-1.19,0-1.89,1.31-1.25,2.32,1.77,2.81,4.9,4.68,8.47,4.68s6.7-1.87,8.47-4.68c.63-1.01-.06-2.32-1.25-2.32-3.67,0-10.76,0-14.43,0Z\" \/>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefu-no daexthefu-button daexthefu-button-type-icon\" data-value=\"0\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>\r\n                            .sad-face-cls-1{fill:#c9c9c9;}.sad-face-cls-2{fill:#676767;}.sad-face-cls-3{fill:#e1e1e1;}.sad-face-cls-4{fill:#676767;}\r\n                        <\/style>\r\n                    <\/defs>\r\n                    <g id=\"sad_face\">\r\n                        <circle class=\"sad-face-cls-1 daexthefu-icon-primary-color\" cx=\"24\" cy=\"24\" r=\"17\" \/>\r\n                        <path class=\"sad-face-cls-3 daexthefu-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <circle class=\"sad-face-cls-4 daexthefu-icon-secondary-color\" cx=\"18\" cy=\"22\" r=\"2\" \/>\r\n                        <circle class=\"sad-face-cls-4 daexthefu-icon-secondary-color\" cx=\"30\" cy=\"22\" r=\"2\" \/>\r\n                        <path class=\"sad-face-cls-2 daexthefu-icon-secondary-color\" d=\"M16.9,34.5c-0.4,0-0.8-0.1-1.1-0.4c-0.6-0.6-0.6-1.5,0-2.1c2.2-2.2,5.1-3.4,8.1-3.4c3.1,0,6,1.2,8.1,3.4\r\n                        c0.6,0.6,0.6,1.5,0,2.1s-1.5,0.6-2.1,0c-1.6-1.6-3.7-2.5-6-2.5s-4.4,0.9-6,2.5C17.7,34.4,17.3,34.5,16.9,34.5z\" \/>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefu-comment\">\r\n\t\t\t\t\t<div class=\"daexthefu-comment-top-container\">\r\n\t\t\t\t\t\t<label id=\"daexthefu-comment-label\" class=\"daexthefu-comment-label\"><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"daexthefu-comment-character-counter-container\">\r\n\t\t\t\t\t\t\t\t<div id=\"daexthefu-comment-character-counter-number\"\r\n\t\t\t\t\t\t\t\t\tclass=\"daexthefu-comment-character-counter-number\"><\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"daexthefu-comment-character-counter-text\"><\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<textarea id=\"daexthefu-comment-textarea\" class=\"daexthefu-comment-textarea\"\r\n\t\t\t\t\t\t\t\tplaceholder=\"Skriv ditt meddelande\"\r\n\t\t\t\t\t\t\t\tmaxlength=\"\r\n\t\t\t\t\t\t\t\t400\t\t\t\t\t\t\t\t\t\"><\/textarea>\r\n\t\t\t\t\t<div class=\"daexthefu-comment-buttons-container\">\r\n\t\t\t\t\t\t<button class=\"daexthefu-comment-submit daexthefu-button\">Skicka in<\/button>\r\n\t\t\t\t\t\t<button class=\"daexthefu-comment-cancel daexthefu-button\">Avbryt<\/button>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefu-successful-submission-text\">Tack f\u00f6r din feedback!<\/div>\r\n\r\n\t\t\t<\/div>\r\n\r\n\t\t\t","protected":false},"excerpt":{"rendered":"<p>First, you need to log in to your cPanel account. You can do this by entering cpanel.yourdomain.se in your browser and providing your login credentials. You can find the username and password in the email with the subject Get Started with Your Web Hosting. You received it when you purchased your web hosting. As a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_helpful_status":1,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-571","post","type-post","status-publish","format-standard","hentry","category-webbhotell"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/posts\/571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/comments?post=571"}],"version-history":[{"count":3,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/posts\/571\/revisions"}],"predecessor-version":[{"id":586,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/posts\/571\/revisions\/586"}],"wp:attachment":[{"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/media?parent=571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/categories?post=571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/tags?post=571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}