Difference between revisions of "How to Secure"

From Phoenix Cart User Guide
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="btn-grey"><historylink type="back">&#129032; Back</historylink></span>
+
<div class="btn btn-grey btn-back">{{#fas:arrow-left}} Back</div> <div class="btn btn-grey btn-download">{{#fas:download}} Download & Install</div>
<span class="btn-grey" style="color:#0088dd;">'''[[DOWNLOAD & INSTALL|&#x1F809; DOWNLOAD & INSTALL]]'''</span>
 
 
<hr>
 
<hr>
  
 +
==='''Secure the Website'''===
  
<BIG>'''Secure the Website'''</BIG>
+
When you have logged into Admin you will see the Admin Dashboard, see - <big>'''[[Admin Dashboard]]'''</big> for a complete guide.
  
When you have logged into Admin, warnings as shown below are given as reminders on the admin dashboard.
+
Security warnings are given as reminders on the Admin Dashboard (highlighted in the screenshot).
  
 
<div class="mainpage_box">
 
<div class="mainpage_box">
Line 14: Line 14:
 
These warnings are also shown on the '''Security Checks''' page.
 
These warnings are also shown on the '''Security Checks''' page.
  
From admin go to '''Tools &rarr; Security Checks''' to see this:
+
So, clicking the <span style="color:blue">'''It has been over 30 days...'''</span> link goes to '''Security Checks''' (also found from admin go to [[File:adminnavbartools.png|link=]] '''Tools &rarr; Security Checks''')
 +
 
 +
This will be seen:
 +
 
 
<div class="mainpage_box">
 
<div class="mainpage_box">
 
[[File:securitychecks1.png|link=]]
 
[[File:securitychecks1.png|link=]]
 
</div>
 
</div>
*This shows a new installation with security messages that require attention.
+
*This shows a new installation with security messages that require attention (highlighted in the screenshot).
 +
 
 +
Deal with each one in sequence.
  
 
----
 
----
  
 
+
==='''Admin HTTP Authentication'''===
<big>'''Admin HTTP Authentication'''</big>
 
 
 
[[File:securitychecks3.png|link=]]
 
  
 
*Add a second level of password protection to the '''youradmin''' folder/directory on the server.
 
*Add a second level of password protection to the '''youradmin''' folder/directory on the server.
**From the admin dashboard go to '''Configuration &rarr; Administrators''' to see this:
+
**From the admin dashboard go to [[File:adminnavbarconfig.png|link=]] '''Configuration &rarr; Administrators''' to see this:
 
<div class="mainpage_box">
 
<div class="mainpage_box">
[[File:administrators1.png|link=|1500px]]
+
[[File:securitychecks3.png|link=]]
 
</div>
 
</div>
  
  
*Click <span class="btn-blue">Edit</span> to see this:
+
*Click <span class="btn-yellow">Edit</span> to see this:
 
<div class="mainpage_box">
 
<div class="mainpage_box">
 
[[File:administrators3.png|link=|1500px]]
 
[[File:administrators3.png|link=|1500px]]
Line 40: Line 42:
  
  
*Enter a different '''Username:''' and '''New Password:'''
+
*Enter '''Username:''' and '''New Password:'''
 
*Tick the '''Protect With htaccess/htpasswd''' box.
 
*Tick the '''Protect With htaccess/htpasswd''' box.
*Click <span class="btn-blue">Save</span> to see this:
+
*Click <span class="btn-green">Save</span> to see this:
 
<div class="mainpage_box">
 
<div class="mainpage_box">
 
[[File:administrators2.png|link=|1500px]]
 
[[File:administrators2.png|link=|1500px]]
 
</div>
 
</div>
 +
 +
 +
When you next access the admin you will see something like this to sign in:
 +
 +
[[File:signin.png]]
  
  
 
<div class="mainpage_box">
 
<div class="mainpage_box">
 
<big>'''TIP:'''</big>
 
<big>'''TIP:'''</big>
*It is advisable to password protect the whole website to prevent visitors or internet search engines finding the website before it is ready - go to <BIG>[[How to Create a Test Shop#password protect|'''PASSWORD PROTECT''']]</BIG> - this can also be done on the cpanel in some host server accounts.
+
*It is advisable to password protect the whole website to prevent visitors or internet search engines finding the website before it is ready - go to <BIG>[[How to Create a Test Shop#password protect|'''PASSWORD PROTECT''']]</BIG> - this can alternatively be done on the control panel in some host server accounts.
 
</div>
 
</div>
  
  
 
----
 
----
 
+
<!--
  
 
<big>'''config_file_catalog'''</big>
 
<big>'''config_file_catalog'''</big>
Line 62: Line 69:
  
 
*Ensure both '''configure.php''' files have their file permissions set so only owner can read and write - set file permissions to 644 or 444 or 400 dependent on server host. This can be done in your server account control panel or using FTP software e.g. using WinSCP select file, click properties.
 
*Ensure both '''configure.php''' files have their file permissions set so only owner can read and write - set file permissions to 644 or 444 or 400 dependent on server host. This can be done in your server account control panel or using FTP software e.g. using WinSCP select file, click properties.
**Important: Our server does not allow the 644 setting to be changed using the control panel or FTP which causes the error message to remain on admin page - providing the setting is 644 this can be ignored or contact your host server to change it for you.
+
**Important: Our server does not allow the 644 setting to be changed using the control panel or FTP which causes the error message to remain on admin page - in this case contact your server host to change it for you.
  
  
 
----
 
----
 +
-->
  
 
+
==='''Github Directory'''===
<big>'''Github Directory'''</big>
 
 
 
 
[[File:securitychecks5.png|link=]]
 
[[File:securitychecks5.png|link=]]
  
*Delete this folder/directory from the server - right click and delete.
+
*Delete this folder/directory from the server using your FTP software or server host control panel.
  
  
 
----
 
----
 
+
==='''install_directory'''===
 
 
<big>'''install_directory'''</big>
 
  
 
[[File:securitychecks6.png|link=]]
 
[[File:securitychecks6.png|link=]]
  
*Delete this folder/directory from the server.
+
*Delete this folder/directory from the server using your FTP software or server host control panel.
  
  
 
----
 
----
  
 
+
==='''Version Check'''===
<big>'''Version Check'''</big>
 
  
 
[[File:securitychecks7.png|link=]]
 
[[File:securitychecks7.png|link=]]
  
*Click the message - it is linked to '''Tools &rarr; Version Checker''' to see this:
+
*Click the message - it is linked to [[File:adminnavbartools.png|link=]] '''Tools &rarr; Version Checker''' to see this:
 
<div class="mainpage_box">
 
<div class="mainpage_box">
 
[[File:versionchecker.png|link=|1500px]]
 
[[File:versionchecker.png|link=|1500px]]
Line 100: Line 103:
 
----
 
----
  
 
+
==='''README'''===
 
The '''README''' text file is no longer required.
 
The '''README''' text file is no longer required.
 
*Delete this file from the server.
 
*Delete this file from the server.
Line 107: Line 110:
 
----
 
----
  
 +
==='''Make a test purchase'''===
  
When all security warnings have been successfully dealt with, you will see this:
+
Though not an essential part of securing the shop, now is a good time to browse around the shop and make a test purchase to familiarise yourself with how it works. It is good practice to browse the shop through the eyes of a customer and you should do this every time you make any changes to your website to ensure customers can make a purchase.
 
 
 
 
[[File:admin1.png|link=|1500px]]
 
 
 
 
 
----
 
 
 
 
 
<big>'''Make a test purchase'''</big>
 
  
Though not an essential part of securing the shop, now is a good time to browse around the shop and make a test purchase to familiarise yourself with how it works. It is good practice to browse the shop through the eyes of a customer.
+
*From admin click (or maybe right click and Open link in new tab) on the <span style="color:#007bff;"><big>'''Your Shop'''</big></span> link to go to the shop.
  
*From admin click on the '''Shop''' link, as shown below to go to the shop.
 
 
<div class="mainpage_box">
 
<div class="mainpage_box">
[[File:adminlinks.png|link=]]
+
[[File:adminlinks.jpg|link=|]]
 
</div>
 
</div>
  
You will see this.
+
You will see similar to this.
 
<div class="mainpage_box">
 
<div class="mainpage_box">
[[File:shop.png|link=|1500px]]
+
[[File:shop.jpg|link=|]]
 
</div>
 
</div>
  
Line 144: Line 138:
 
</div>
 
</div>
  
 +
<!--
 +
----
  
 +
<BIG>'''[https://www.youtube.com/watch?v=pVssGbpLoCs Watch on YouTube]'''</BIG>
 +
-->
 
<hr>
 
<hr>
 
<span class="btn-grey">[[How_to_Install|&#129032; Previous Step]]</span>
 
<span class="btn-grey">[[How_to_Install|&#129032; Previous Step]]</span>
 
<span class="btn-grey">[[How to Back Up|Next Step &#129034;]]</span>
 
<span class="btn-grey">[[How to Back Up|Next Step &#129034;]]</span>
 
<hr>
 
<hr>
 +
{{Forum}}
 +
{{Pro}}
 
{{Contribute}}
 
{{Contribute}}

Latest revision as of 05:57, 2 September 2024

Back
Download & Install

Secure the Website

When you have logged into Admin you will see the Admin Dashboard, see - Admin Dashboard for a complete guide.

Security warnings are given as reminders on the Admin Dashboard (highlighted in the screenshot).

Admin.png

These warnings are also shown on the Security Checks page.

So, clicking the It has been over 30 days... link goes to Security Checks (also found from admin go to Adminnavbartools.png Tools → Security Checks)

This will be seen:

Securitychecks1.png

  • This shows a new installation with security messages that require attention (highlighted in the screenshot).

Deal with each one in sequence.


Admin HTTP Authentication

  • Add a second level of password protection to the youradmin folder/directory on the server.
    • From the admin dashboard go to Adminnavbarconfig.png Configuration → Administrators to see this:

Securitychecks3.png


  • Click Edit to see this:

Administrators3.png


  • Enter Username: and New Password:
  • Tick the Protect With htaccess/htpasswd box.
  • Click Save to see this:

Administrators2.png


When you next access the admin you will see something like this to sign in:

Signin.png


TIP:

  • It is advisable to password protect the whole website to prevent visitors or internet search engines finding the website before it is ready - go to PASSWORD PROTECT - this can alternatively be done on the control panel in some host server accounts.



Github Directory

Securitychecks5.png

  • Delete this folder/directory from the server using your FTP software or server host control panel.



install_directory

Securitychecks6.png

  • Delete this folder/directory from the server using your FTP software or server host control panel.



Version Check

Securitychecks7.png

  • Click the message - it is linked to Adminnavbartools.png Tools → Version Checker to see this:

Versionchecker.png



README

The README text file is no longer required.

  • Delete this file from the server.



Make a test purchase

Though not an essential part of securing the shop, now is a good time to browse around the shop and make a test purchase to familiarise yourself with how it works. It is good practice to browse the shop through the eyes of a customer and you should do this every time you make any changes to your website to ensure customers can make a purchase.

  • From admin click (or maybe right click and Open link in new tab) on the Your Shop link to go to the shop.

Adminlinks.jpg

You will see similar to this.

Shop.jpg

NOTE: If the Install page still shows instead of your shop, ensure Install folder/directory has been deleted from the host server and ensure your browser cache is cleared. NOTE: Some host servers also have a cache so don't worry if the Install page is still showing. If temporarily frustrated by the link taking you to yoursite/install/index.php simply change the link in your browser address bar to yoursite/index.php - the host server's cache will eventually clear, usually within 24 hours.


TIP:

  • To bypass your browser's cache:
  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.

🠈 Previous Step Next Step 🠊


Many Addons and Extensions available in the CE Phoenix Cart Addons Library

If help is needed, support is available in the CE Phoenix Cart Support Forum

Phoenix Cart User Guide, like CE Phoenix Cart, is free to use but is maintained by unpaid volunteers.

Code references are licensed under a Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.
All other content is the reserved Intellectual Property and Copyright of phoenixcart.org