Difference between revisions of "How to Secure"
PeterRobert (talk | contribs) |
PeterRobert (talk | contribs) |
||
| (82 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | < | + | <div class="btn btn-grey btn-back">{{#fas:arrow-left}} Back</div> <div class="btn btn-grey btn-download">{{#fas:download}} Download & Install</div> |
| − | |||
<hr> | <hr> | ||
| − | |||
| − | + | ==='''Secure the Website'''=== | |
| − | [[ | + | When you have logged into Admin you will see the Admin Dashboard, see - <big>'''[[Admin Dashboard]]'''</big> for a complete guide. |
| − | + | Security warnings are given as reminders on the Admin Dashboard (highlighted in the screenshot). | |
| − | From the admin dashboard go to ''''' | + | <div class="mainpage_box"> |
| + | [[File:admin.png|link=|1500px]] | ||
| + | </div> | ||
| + | |||
| + | These warnings are also shown on the '''Security Checks''' page. | ||
| + | |||
| + | 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 → Security Checks''') | ||
| + | |||
| + | This will be seen: | ||
| + | |||
| + | <div class="mainpage_box"> | ||
| + | [[File:securitychecks1.png|link=]] | ||
| + | </div> | ||
| + | *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 [[File:adminnavbarconfig.png|link=]] '''Configuration → Administrators''' to see this: | ||
| + | <div class="mainpage_box"> | ||
| + | [[File:securitychecks3.png|link=]] | ||
| + | </div> | ||
| + | |||
| + | |||
| + | *Click <span class="btn-yellow">Edit</span> to see this: | ||
| + | <div class="mainpage_box"> | ||
| + | [[File:administrators3.png|link=|1500px]] | ||
| + | </div> | ||
| + | |||
| + | |||
| + | *Enter '''Username:''' and '''New Password:''' | ||
| + | *Tick the '''Protect With htaccess/htpasswd''' box. | ||
| + | *Click <span class="btn-green">Save</span> to see this: | ||
| + | <div class="mainpage_box"> | ||
| + | [[File:administrators2.png|link=|1500px]] | ||
| + | </div> | ||
| + | |||
| + | |||
| + | When you next access the admin you will see something like this to sign in: | ||
| + | |||
| + | [[File:signin.png]] | ||
| + | |||
| + | |||
| + | <div class="mainpage_box"> | ||
| + | <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 alternatively be done on the control panel in some host server accounts. | ||
| + | </div> | ||
| + | |||
| + | |||
| + | ---- | ||
| + | <!-- | ||
| + | |||
| + | <big>'''config_file_catalog'''</big> | ||
| + | |||
| + | [[File:securitychecks4.png|link=]] | ||
| + | |||
| + | *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 - in this case contact your server host to change it for you. | ||
| + | |||
| + | |||
| + | ---- | ||
| + | --> | ||
| + | |||
| + | ==='''Github Directory'''=== | ||
| + | [[File:securitychecks5.png|link=]] | ||
| + | *Delete this folder/directory from the server using your FTP software or server host control panel. | ||
| + | |||
| + | |||
| + | ---- | ||
| + | ==='''install_directory'''=== | ||
| + | |||
| + | [[File:securitychecks6.png|link=]] | ||
| + | |||
| + | *Delete this folder/directory from the server using your FTP software or server host control panel. | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | ==='''Version Check'''=== | ||
| + | |||
| + | [[File:securitychecks7.png|link=]] | ||
| + | |||
| + | *Click the message - it is linked to [[File:adminnavbartools.png|link=]] '''Tools → Version Checker''' to see this: | ||
<div class="mainpage_box"> | <div class="mainpage_box"> | ||
| − | + | [[File:versionchecker.png|link=|1500px]] | |
| − | |||
</div> | </div> | ||
| − | |||
| − | |||
| − | + | ---- | |
| − | + | ==='''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 <span style="color:#007bff;"><big>'''Your Shop'''</big></span> link to go to the shop. | |
| − | + | <div class="mainpage_box"> | |
| + | [[File:adminlinks.jpg|link=|]] | ||
| + | </div> | ||
| − | + | You will see similar to this. | |
| + | <div class="mainpage_box"> | ||
| + | [[File:shop.jpg|link=|]] | ||
| + | </div> | ||
| + | |||
| + | 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. | ||
| − | |||
| − | |||
<div class="mainpage_box"> | <div class="mainpage_box"> | ||
| − | <BIG>'''TIP'''</BIG> | + | <BIG>'''TIP:'''</BIG> |
| − | To bypass your browser's cache: | + | *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) | *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) | *Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac) | ||
| Line 49: | Line 137: | ||
*Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files. | *Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files. | ||
</div> | </div> | ||
| + | |||
| + | <!-- | ||
| + | ---- | ||
| + | |||
| + | <BIG>'''[https://www.youtube.com/watch?v=pVssGbpLoCs Watch on YouTube]'''</BIG> | ||
| + | --> | ||
<hr> | <hr> | ||
<span class="btn-grey">[[How_to_Install|🠈 Previous Step]]</span> | <span class="btn-grey">[[How_to_Install|🠈 Previous Step]]</span> | ||
<span class="btn-grey">[[How to Back Up|Next Step 🠊]]</span> | <span class="btn-grey">[[How to Back Up|Next Step 🠊]]</span> | ||
| + | <hr> | ||
| + | {{Forum}} | ||
| + | {{Pro}} | ||
| + | {{Contribute}} | ||
Latest revision as of 05:57, 2 September 2024
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).
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
Tools → Security Checks)
This will be seen:
- 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
Configuration → Administrators to see this:
- From the admin dashboard go to
- Click Edit to see this:
- Enter Username: and New Password:
- Tick the Protect With htaccess/htpasswd box.
- Click Save to see this:
When you next access the admin you will see something like this to sign in:
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
- Delete this folder/directory from the server using your FTP software or server host control panel.
install_directory
- Delete this folder/directory from the server using your FTP software or server host control panel.
Version Check
- Click the message - it is linked to
Tools → Version Checker to see this:
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.
You will see similar to this.
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.
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.
All other content is the reserved Intellectual Property and Copyright of phoenixcart.org
