Actions

Talk

Securing Joomla extensions

From Joomla! Documentation

Revision as of 20:11, 27 February 2009 by Dangerfield (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hi. I have a wrapper page linked to a menu item in my Joomla! site (1.5.9 version). The link in menu item is http://mydomain.com/services/index.php
using

// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' );

and

// no direct access
defined('_JEXEC') or die('Restricted access');

and calling the page from the menu item in Joomla! I have 'Restricted Access' message.

I had read this tutorial but... actually I'm not able to protect correctly the php code inside the wrapper page. Asking for your help. Let me start from somewhere.. thanks in advance.
(Dangerfield 01:11, 28 February 2009 (UTC))