Wireless Army
This is a blog / tips and tricks website for web developers and security researchers.
follow us in feedly


Force https joomla
by admin
 at 2018-09-10 21:43:00.

how to force https for admin and anonymous on joomla:

admin:

'access_control' => array(
    array(
        'path'             => '^/secure',
        'role'             => 'ROLE_ADMIN',
        'requires_channel' => 'https',
    ),
),

anonymous

'access_control' => array(
    array(
        'path'             => '^/login',
        'role'             => 'IS_AUTHENTICATED_ANONYMOUSLY',
        'requires_channel' => 'https',
    ),
),