{"id":21262,"date":"2019-04-04T15:49:20","date_gmt":"2019-04-04T13:49:20","guid":{"rendered":"https:\/\/belvg.com\/blog\/?p=21262"},"modified":"2026-06-25T20:03:26","modified_gmt":"2026-06-25T18:03:26","slug":"how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc","status":"publish","type":"post","link":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html","title":{"rendered":"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc."},"content":{"rendered":"\n<p>Over the last couple of years, online retail has gained global popularity, and together with it, a great need for proper security arose. Customers entrust online shops with their payment details and other sensitive personal information, which makes them extremely attractive to criminals and hackers. At the time like this, security must be the primary priority for online shop owners.<\/p>\n<p><!--more--><\/p>\n<p>In this article, we will explore the best security measures for PrestaShop ecommerce platform. Also, we will learn about hacker attacks, that are most commonly used to breach the security of PrestaShop stores, and how to deal with them.<\/p>\n<p><strong>Table of contents:<\/strong><\/p>\n<p><a href=\"#step_1\">Basic PrestaShop security measures from hackers<br>\n<\/a><a href=\"#step_2\">Install SSL certificate at the store<br>\n<\/a><a href=\"#step_3\">Utilize .htacess file to secure backend files<br>\n<\/a><a href=\"#step_4\">Delete the unnecessary files after installation<br>\n<\/a><a href=\"#step_5\">Deny access to your templates<br>\n<\/a><a href=\"#step_6\">Create backup copies of your store<br>\n<\/a><a href=\"#step_7\">Introduce cookies<br>\n<\/a><a href=\"#step_8\">Hacking techniques commonly applied to PrestaShop<\/a><\/p>\n<h2 id=\"step_1\">Basic PrestaShop security measures from hackers<\/h2>\n<h3>Update the PrestaShop version in time<\/h3>\n<p>Each new PrestaShop version has, among all other improvements, upgraded security and fixed vulnerabilities. Therefore, it is crucial that you utilize the latest stable version of the platform.<\/p>\n<h2 id=\"step_2\">Install SSL certificate at the store<\/h2>\n<p>SSL certificate encrypts the data that is sent from the client to the web server and back. SSL certificates are considered one of the most basic and necessary security measures.<\/p>\n<p>SSL can be enabled via PrestaShop admin panel. To do this, log in to the admin, navigate to <strong>Administration<\/strong> -&gt; <strong>Shop Parameters<\/strong> -&gt; <strong>GENERAL<\/strong>. Set <strong>Enable SSL<\/strong> and <strong>Enable SSL on all pages<\/strong> at <strong>Yes<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/prestashop-security.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21263\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/prestashop-security.png\" alt=\"prestashop security\" width=\"1213\" height=\"588\" title=\"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc.\"><\/a><\/p>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/audit.belvg.com\/\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><img src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2024\/07\/Get-an-audit-of-your-store.webp\" width=\"121\" height=\"121\" alt=\"CRO_audit_process\" class=\"module_image\" title=\"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc.\"><div class=\"module_content_part\"><h3 class=\"title\">How Secure Is Your Store?<\/h3><p class=\"module_content_text\">PrestaShop Scanner runs a full security audit in under a minute<\/p><a href=\"https:\/\/audit.belvg.com\/\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Run Free Security Check<\/span><\/a><\/div><\/div><\/div>\n<h2 id=\"step_3\">Utilize .htacess file to secure backend files<\/h2>\n<p>With the help of .htacess you can introduce additional safety measures, for instance, restrict access to the admin panel by creating a white list of IP addresses that will solely have access to it.<\/p>\n<pre class=\"lang:default decode:true \">deny from all\r\nallo from X.X.X.X (IP address)\r\n<\/pre>\n<h3>Rename you backoffice folder<\/h3>\n<p>After you have installed PrestaShop, rename the admin folder for extra security. Ideally, the name should be unique and consist of both letters and numbers, for example, m8y1adm1n.<\/p>\n<h2 id=\"step_4\">Delete the unnecessary files after installation<\/h2>\n<p>For security&rsquo;s sake, it is strongly recommended to <strong>delete \/install<\/strong> folder after you have upgraded or installed a new version of PrestaShop. Also, always delete the extra files from the server: README.md, CONTRIBUTING.md and CONTRIBUTORS.md files, as well as <strong>\/ docs<\/strong> file together with its contents.<\/p>\n<h2 id=\"step_5\">Deny access to your templates<\/h2>\n<p>Block the access to the files and templates of your theme, using the .htaccess file with the following contents:<\/p>\n<pre class=\"lang:default decode:true \">&lt;FilesMatch \"\\.tpl$\"&gt;\r\n\t\torder deny,allow\r\n\t\tdeny from all\r\n\t&lt;\/FilesMatch&gt;\r\n<\/pre>\n<h2 id=\"step_6\">Create backup copies of your store<\/h2>\n<p>Having a backup copy of the webstore will allow you to fully restore it in case it will be hacked or break down. You can create a backup copy yourself or turn to a hosting company.<\/p>\n<h2 id=\"step_7\">Introduce cookies<\/h2>\n<p>Cookies are the text files that contain information about the clients and visitors of your PrestaShop store.<\/p>\n<p>You can turn cookies on and off via the admin panel. First, log in to your admin and navigate to <strong>Administration<\/strong> -&gt; <strong>Shop Parameters<\/strong> -&gt; <strong>GENERAL<\/strong>. Then, enable the Increase front office security to turn on cookie files for your store.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/Introduce-cookies.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21264\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/Introduce-cookies.png\" alt=\"Introduce cookies\" width=\"1021\" height=\"495\" title=\"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc.\"><\/a><\/p>\n<p>In addition to cookies, enabling Increase front end security will check the token data. When a customer will perform certain actions with the shopping cart, his token files will be sent to the server via GET or POST (in addition to COOKIE) to check if his IP and the browser cookies match. This will help to prevent frauds and unauthorized attempts to log into the admin panel.<\/p>\n<p>Bear in mind that according to GDPR law a retailer must inform their customers the store uses cookies.<\/p>\n<p>The main advantage of HTTPS protocol is that it makes the store much more safe for the visitors; in particular, the process of transferring customer data to the webstore. The aspect of such safety is particularly acute for the resources that require to fill in the credit card details or other sensitive personal information.<\/p>\n<p>Data safety is ensured by SSL\/TLS cryptographic protocols that have 3 levels of security:<\/p>\n<ol>\n<li>Data encryption, that prevents data interception.<\/li>\n<li>Data integrity, that documents every change in the information.<\/li>\n<li>Authentification, that keeps the user from the redirect.<\/li>\n<\/ol>\n<p>Differences between HTTP and HTTPS:<\/p>\n<ul>\n<li>HTTPS is not a separate data transfer protocol, but a secure version of an HTTP protocol,<\/li>\n<li>data transferred via HTTP protocol is not secured, while HTTPS encrypts the information, thus securing it,<\/li>\n<li>HTTP uses port 80, HTTPS &ndash; port 443.<\/li>\n<\/ul>\n<p><a href=\"#step_8\">Hacking techniques commonly applied to PrestaShop<\/a><\/p>\n<h3>SQL Injection in Prestashop<\/h3>\n<p>SQL injection &mdash; is one of the common ways of hacking a website. It is carried out by placing into the data, transferred via GET and POST or Cookie, a malicious SQL code.<\/p>\n<p>Here are the examples of the basic SQL injections:<\/p>\n<ul>\n<li>Collapsing the WHERE conditions to the true result despite the parameter values.<\/li>\n<li>Joining to a query the results of another query via UNION operator.<\/li>\n<li>Commenting on the part of a query.<\/li>\n<\/ul>\n<p>The protection from SQL injections is not complicated and, in a nutshell, consists of keeping an eye on all sorts of data, converting numbers into numeric data type and enclosing the lines into backslashes (\\) (this method is called screening). Also, PrestaShop ORM allows to make queries without screening.<\/p>\n<p>Example:<\/p>\n<p>We have a request for information via id<br>\n?id=1<br>\nNormally, this would mean getting an id in the form of a numeral.<\/p>\n<p><strong>SELECT<\/strong> id, name from table where id =1.<\/p>\n<p>But since there is no typecasting, we can transfer via SQL injections the following type of data.<\/p>\n<p>\/?id=1+union+select+0,concat_ws(0x3a,table_name,column_name)+from+information_s chema.columns<\/p>\n<p>In this case, SQL quiery will be the following:<\/p>\n<p><strong>SELECT<\/strong> id, name from table where id =1 union select 0,concat_ws(0x3a,table_name,column_name) from information_schema.columns<\/p>\n<p>Moreover, a store owner must also be aware of Blind SQL Injection that is often implemented to aquire passwords.<\/p>\n<p>\/?id=1+AND+555=if(ord(mid((select+pass+from+users+limit+0,1),1,1))=97,555,777)<\/p>\n<p>SELECT id, name from table where id =1 AND 555=if(ord(mid((select pass from users limit 0,1),1,1))=97,555,777)<\/p>\n<p>In case the users table contains the pass column and the first symbol of the first entry equals 97 (symbol &ldquo;a&rdquo;), then DBMS will return <strong>TRUE<\/strong>; otherwise, it will be <strong>FALSE<\/strong>.<\/p>\n<p>Another example of SQL injections is reading of the files:<\/p>\n<pre class=\"lang:default decode:true \">union select load_file('\/etc\/passwd')<\/pre>\n<h3>Cross-site Scripting in PrestaShop<\/h3>\n<p>One of the most popular types of attacks is javascript cross-site scripting. This is a type of attack that injects malicious code into a web system, forcing it to issue changed data, replace links (visible \/ hidden) or display its own advertising on the affected resource.<\/p>\n<p>With a combination of tags and symbols, a hacker creates such a request that the site understands and executes as a command. Once a security breach is found, they can attach malicious code to the request, which will, for example, steal cookies and send it to the hacker.<\/p>\n<p>Using cross-site scripting, a person can:<\/p>\n<ul>\n<li>Introduce malicious code in the message.<\/li>\n<li>Upload scripts to steal administrator cookies from a malicious domain.<\/li>\n<li>After receiving the cookie, the attacker can log in as an administrator, which gives them a free hand for further attacks. Moreover, an attacker can connect an administrator browser and launch browser exploits.<\/li>\n<\/ul>\n<p>Most of the vulnerabilities are associated with improper processing of data received from the outside, or insufficient data checking.<\/p>\n<p>To secure your PrestaShop store from cross-site scripting, one can take the following actions:<\/p>\n<p>1. The filter must take into account all possible character combinations. One of the simple xss vulnerability checks is the use of open and closed brackets.<\/p>\n<p>For example:<\/p>\n<pre class=\"lang:default decode:true \">&ldquo;\/?, #&rdquo; &gt;&gt;&gt;&gt; &lt;&lt; script {()}<\/pre>\n<p>For security&rsquo;s sake, implement the shielding the input \/ output data. To do this, you can use the built-in functions to clean the code from malicious scripts. These include such functions as <strong>htmlspecialchar ()<\/strong>, <strong>htmlentities ()<\/strong> and <strong>strip_tags ()<\/strong>, <strong>addslashes ()<\/strong>.<\/p>\n<p>2. Set HttpOnly flag. This flag makes client cookies inaccessible through JavaScript. This setting is activated in php.ini:<\/p>\n<pre class=\"lang:default decode:true \">session.cookie_httponly = True<\/pre>\n<p>3. Use Content Security Policy.<\/p>\n<p>This enables you to declare a list of sources from which you can load various data, for example, JS, CSS, images and other files. Even if the hacker manages to inject the script into a web page, it will not be executed if it does not correspond to the allowed list of sources.<\/p>\n<p>4. Specify encoding on each page.<\/p>\n<pre class=\"lang:default decode:true\">header (\"Content-Type: text \/ html; charset = utf-8\");<\/pre>\n<p>5. Setting permissions on folders and files.<\/p>\n<p>6. Closing ports on the server. After installing and configuring the server some ports could be left open, and hackers can make use of them. Therefore, it is recommended to block or filter ports.<\/p>\n<h2>Wrapping it up<\/h2>\n<p>Unfortunately, there is no perfect solution and every new module, a plugin may contain problems. Therefore, always keep an eye on the data you add to the store. Even if the plugin or theme is approved and verified by the platform developers, it is better to check twice.<\/p>\n<p>One thing is clear &ndash; a webstore should be protected against hackers and security accidents. Therefore, it is necessary to establish appropriate security measures and use additional resources to increase security.<\/p>\n\n","protected":false},"excerpt":{"rendered":"Over the last couple of years, online retail has gained global popularity, and together with &#8230;","protected":false},"author":60,"featured_media":21265,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"_acf_changed":false,"footnotes":""},"categories":[15,470,300,522],"tags":[],"class_list":["post-21262","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-prestashop","category-prestashop-tutorial","category-prestashop-guide","category-prestashop-speed-optimization","post_format-post-format-image"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Find out more about basic PrestaShop security measures from hackers: PrestaShop update, SSL certificate at the store, .htacess file to secure backend files, access denial, backup copies, cookies etc.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alexey Homiakov\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#article\",\"name\":\"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc. | BelVG Blog\",\"headline\":\"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc.\",\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alexey-homiakov#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/Target-Audience.png\",\"width\":1111,\"height\":591,\"caption\":\"Get to know the best 7 customer engagement practices for an online store\"},\"datePublished\":\"2019-04-04T15:49:20+02:00\",\"dateModified\":\"2026-06-25T20:03:26+02:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#webpage\"},\"articleSection\":\"Prestashop, Prestashop 1.7 Tutorials, Prestashop Guide, PrestaShop Speed Optimization, Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop#listItem\",\"name\":\"Prestashop\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop#listItem\",\"position\":2,\"name\":\"Prestashop\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop\\\/prestashop-guide#listItem\",\"name\":\"Prestashop Guide\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop\\\/prestashop-guide#listItem\",\"position\":3,\"name\":\"Prestashop Guide\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop\\\/prestashop-guide\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#listItem\",\"name\":\"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc.\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop#listItem\",\"name\":\"Prestashop\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#listItem\",\"position\":4,\"name\":\"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc.\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop\\\/prestashop-guide#listItem\",\"name\":\"Prestashop Guide\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alexey-homiakov#author\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alexey-homiakov\",\"name\":\"Alexey Homiakov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5ba504d9e7289ffde40eab791bf6a50ab2c43985e0313dd5d9ed1adcbe824e95?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Alexey Homiakov\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#webpage\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html\",\"name\":\"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc. | BelVG Blog\",\"description\":\"Find out more about basic PrestaShop security measures from hackers: PrestaShop update, SSL certificate at the store, .htacess file to secure backend files, access denial, backup copies, cookies etc.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alexey-homiakov#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alexey-homiakov#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/Target-Audience.png\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html\\\/#mainImage\",\"width\":1111,\"height\":591,\"caption\":\"Get to know the best 7 customer engagement practices for an online store\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#mainImage\"},\"datePublished\":\"2019-04-04T15:49:20+02:00\",\"dateModified\":\"2026-06-25T20:03:26+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc. | BelVG Blog","description":"Find out more about basic PrestaShop security measures from hackers: PrestaShop update, SSL certificate at the store, .htacess file to secure backend files, access denial, backup copies, cookies etc.","canonical_url":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#article","name":"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc. | BelVG Blog","headline":"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc.","author":{"@id":"https:\/\/belvg.com\/blog\/author\/alexey-homiakov#author"},"publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/Target-Audience.png","width":1111,"height":591,"caption":"Get to know the best 7 customer engagement practices for an online store"},"datePublished":"2019-04-04T15:49:20+02:00","dateModified":"2026-06-25T20:03:26+02:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#webpage"},"isPartOf":{"@id":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#webpage"},"articleSection":"Prestashop, Prestashop 1.7 Tutorials, Prestashop Guide, PrestaShop Speed Optimization, Image"},{"@type":"BreadcrumbList","@id":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/belvg.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop#listItem","name":"Prestashop"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop#listItem","position":2,"name":"Prestashop","item":"https:\/\/belvg.com\/blog\/category\/prestashop","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop\/prestashop-guide#listItem","name":"Prestashop Guide"},"previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop\/prestashop-guide#listItem","position":3,"name":"Prestashop Guide","item":"https:\/\/belvg.com\/blog\/category\/prestashop\/prestashop-guide","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#listItem","name":"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc."},"previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop#listItem","name":"Prestashop"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#listItem","position":4,"name":"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc.","previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop\/prestashop-guide#listItem","name":"Prestashop Guide"}}]},{"@type":"Organization","@id":"https:\/\/belvg.com\/blog\/#organization","name":"BelVG Blog","description":"Magento and Prestashop articles","url":"https:\/\/belvg.com\/blog\/"},{"@type":"Person","@id":"https:\/\/belvg.com\/blog\/author\/alexey-homiakov#author","url":"https:\/\/belvg.com\/blog\/author\/alexey-homiakov","name":"Alexey Homiakov","image":{"@type":"ImageObject","@id":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/5ba504d9e7289ffde40eab791bf6a50ab2c43985e0313dd5d9ed1adcbe824e95?s=96&d=mm&r=g","width":96,"height":96,"caption":"Alexey Homiakov"}},{"@type":"WebPage","@id":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#webpage","url":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html","name":"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc. | BelVG Blog","description":"Find out more about basic PrestaShop security measures from hackers: PrestaShop update, SSL certificate at the store, .htacess file to secure backend files, access denial, backup copies, cookies etc.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/belvg.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#breadcrumblist"},"author":{"@id":"https:\/\/belvg.com\/blog\/author\/alexey-homiakov#author"},"creator":{"@id":"https:\/\/belvg.com\/blog\/author\/alexey-homiakov#author"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/Target-Audience.png","@id":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html\/#mainImage","width":1111,"height":591,"caption":"Get to know the best 7 customer engagement practices for an online store"},"primaryImageOfPage":{"@id":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html#mainImage"},"datePublished":"2019-04-04T15:49:20+02:00","dateModified":"2026-06-25T20:03:26+02:00"},{"@type":"WebSite","@id":"https:\/\/belvg.com\/blog\/#website","url":"https:\/\/belvg.com\/blog\/","name":"BelVG Blog","description":"Magento and Prestashop articles","inLanguage":"en-US","publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"21262","title":"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc. | #site_title","description":"Find out more about basic PrestaShop security measures from hackers: PrestaShop update, SSL certificate at the store, .htacess file to secure backend files, access denial, backup copies, cookies etc.","keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-11-03 18:36:50","updated":"2026-11-03 18:36:50"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/category\/prestashop\" title=\"Prestashop\">Prestashop<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/category\/prestashop\/prestashop-guide\" title=\"Prestashop Guide\">Prestashop Guide<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc.\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/belvg.com\/blog\/"},{"label":"Prestashop","link":"https:\/\/belvg.com\/blog\/category\/prestashop"},{"label":"Prestashop Guide","link":"https:\/\/belvg.com\/blog\/category\/prestashop\/prestashop-guide"},{"label":"How to Secure Prestashop Store from Hackers: Update, SSL, .htacess, etc.","link":"https:\/\/belvg.com\/blog\/how-to-secure-prestashop-store-from-hackers-update-ssl-htacess-etc.html"}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/21262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/users\/60"}],"replies":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/comments?post=21262"}],"version-history":[{"count":2,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/21262\/revisions"}],"predecessor-version":[{"id":30734,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/21262\/revisions\/30734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media\/21265"}],"wp:attachment":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media?parent=21262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/categories?post=21262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/tags?post=21262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}