Security Checklist/Testing and Development: Difference between revisions
From Joomla! Documentation
m Hutchy68 moved page Security Checklist 3 - Testing and Development to Security Checklist/Testing and Development: Since a series of articles, moving to subpages with navigation |
Grammar |
||
| (10 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | <noinclude><languages /></noinclude> | ||
{{:Security Checklist/TOC/<translate><!--T:1--> en</translate>}} | |||
<translate>== Secure Testing and Development == <!--T:2--></translate> | |||
== | <translate>===Develop locally, deploy globally=== <!--T:3--></translate> | ||
: <translate><!--T:4--> Develop and test your site on a local machine first. Installing Joomla locally is not as hard as it may sound, and the exercise will greatly boost your confidence.</li></translate> | |||
=== | <translate>===Use an IDE=== <!--T:5--></translate> | ||
: | : <translate><!--T:6--> Consider using an Integrated Development Environment (IDE). One free IDE that many Joomla! developers use is [https://code.visualstudio.com/ Visual Studio Code]. See also [[S:MyLanguage/Visual_Studio_Code | Configuring Visual Studio Code for joomla development]] for instructions on installing and configuring Visual Studio Code.</translate> | ||
===Use | <translate>===Use a versioning system=== <!--T:7--></translate> | ||
: | : <translate><!--T:8--> Be able to roll back to an earlier version of your site using a modern version control system, normally [https://git-scm.com/ git].</li> The Visual Studio Code IDE indicated above includes plugins for git. This allows you to work with the Joomla! source repository hosted on [https://github.com/joomla/joomla-cms/releases GitHub] as well as any other projects on GitHub, GitLab or BitBucket (the 3 most popular git versioning systems).</translate> | ||
=== | <translate>===More suggested tools=== <!--T:9--></translate> | ||
: | : <translate><!--T:10--> Check out the Joomla! community's list of popular [http://forum.joomla.org/index.php/topic,25307.0.html Developer Software and Tools].</translate> | ||
<translate>==Setup a backup process first== <!--T:11--></translate> | |||
<translate>===The most important rule=== <!--T:12--></translate> | |||
: <translate><!--T:13--> '''Thou shalt at all time be able to return your site to a previous working state through regular use of a strong, off-site backup and recovery process.</translate>''' | |||
: <translate><!--T:14--> Be sure your backup and recovery process is ready and tested BEFORE your site goes live.</translate> | |||
: | |||
: <translate><!--T:15--> This is the single best way (and often the only way) to recover from such inevitable catastrophes as</translate>:''' | |||
: | |||
: This is the single best way (and often the only way) to recover from such inevitable catastrophes as:''' | |||
# <translate><!--T:16--> A compromised/cracked site.</translate> | |||
# <translate><!--T:17--> Broken site due to a faulty upgrade.</translate> | |||
# <translate><!--T:18--> Hardware failure, such as dead hard drives, power failures, server theft, etc.</translate> | |||
# <translate><!--T:19--> Authoritarian government intervention. (More common than some think.)</translate> | |||
# <translate><!--T:20--> Needing to quickly relocate to a new server or hosting provider.</translate> | |||
<!-- KEEP THIS AT THE END OF THE PAGE --> | <!-- KEEP THIS AT THE END OF THE PAGE --> | ||
[[Category:Security Checklist]] | [[Category:Security Checklist{{#translation:}}]] | ||
Latest revision as of 11:29, 11 April 2020
| |||||||||||||
Secure Testing and Development
Develop locally, deploy globally
- Develop and test your site on a local machine first. Installing Joomla locally is not as hard as it may sound, and the exercise will greatly boost your confidence.
Use an IDE
- Consider using an Integrated Development Environment (IDE). One free IDE that many Joomla! developers use is Visual Studio Code. See also Configuring Visual Studio Code for joomla development for instructions on installing and configuring Visual Studio Code.
Use a versioning system
- Be able to roll back to an earlier version of your site using a modern version control system, normally git. The Visual Studio Code IDE indicated above includes plugins for git. This allows you to work with the Joomla! source repository hosted on GitHub as well as any other projects on GitHub, GitLab or BitBucket (the 3 most popular git versioning systems).
More suggested tools
- Check out the Joomla! community's list of popular Developer Software and Tools.
Setup a backup process first
The most important rule
- Thou shalt at all time be able to return your site to a previous working state through regular use of a strong, off-site backup and recovery process.
- Be sure your backup and recovery process is ready and tested BEFORE your site goes live.
- This is the single best way (and often the only way) to recover from such inevitable catastrophes as:
- A compromised/cracked site.
- Broken site due to a faulty upgrade.
- Hardware failure, such as dead hard drives, power failures, server theft, etc.
- Authoritarian government intervention. (More common than some think.)
- Needing to quickly relocate to a new server or hosting provider.