Force SSL v0.2 Beta PDF Print E-mail
Have you ever been in the position where you want to turn SSL encryption on for one page but not your whole site?  ForceSSL is a Joomla 1.0.x mambot that allows the site administrator to turn SSL encryption on for just one page or turn it off.  It scans the content before it is displayed to the page and if it finds the mosTags below which activate it or deactive it it will redirect to the appropriate protocol (https vs. http).

The beautiful thing about this mambot is the ability to just have it active per page.  For example, let's say you have an application that you want secured but when they submit it you don't want the user to continue on the SSL encrypted site.  You would ad the {mosForceSSL on} tag to the application page and then the {mosForceSSL off} on the Thank you page.

Forced SSL is a Joomla! mambot that forces the use of (or non-use of) SSL encryption on any given page.

When the admin/author inserts the tag into the content of the article it will check to see if the page has been accessed using the HTTPS protocol.

{mosForceSSL on} - If the HTTPS protocol is in use, it will continue loading the page.  If the page has been accessed without the use of the HTTPS protocol, the user will be redirected to the same page but using HTTPS.

{mosForceSSL off} - If the HTTPS protocol is in use, the user will be redirected to the same page but NOT HTTPS.  If the page has been accessed without the HTTPS protocol then it will continue to load the page.

** Due to the limitations of how Joomla executes mambots.  You must put this code within the CONTENT text area not the intro text area.


Attachments:
FileDescriptionFile sizeLast Modified
Download this file (bot_ForceSSL-0.2-beta.zip)bot_ForceSSL-0.2-beta.zipFixed a bug in the variable handling that was causing the script to redirect to the home page.1 Kb22/10/08 23:13
 

Joomla! is Free Software released under the GNU/GPL License.