Results 1 to 2 of 2

Thread: Restrict access to backend

  1. #1
    New user
    Join Date
    08-13-13.
    Posts
    1

    Default Restrict access to backend

    Hi,

    I was wondering how to restrict Access to the backend coming from the Internet. I want to be reachable only from the internal network. Is the a proper way to solve this?

    thank,
    Chris

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Restrict access to backend

    Through your router?

    Otherwise have .htaccess block requests to /contao from the router ip. Below is a start (because it filters on query string you need to change it)
    Code:
    RewriteEngine On
    RewriteCond %{REMOTE_ADDR} ^123\.255\.123\.255
    RewriteCond %{QUERY_STRING} option=com_my_special_component [NC]
    RewriteRule ^(.*)$ index.php [F,L]
    http://stackoverflow.com/questions/1724 ... cess-by-ip

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •