• I would like to only allow login to the “admin” account from a specific IP/network. It would be great to have that feature available for other accounts, too.

    Do you know any good way of achieving that with WP?

    ps. Iptables, SSL and many other nice features sometimes cost too much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • huh?

    Iptables, SSL and many other nice features sometimes cost too much.

    iptables is free.

    As for your request, use an .htaccess solution.

    Google is amazing.

    http://www.google.com/search?hl=en&q=restrict+file+by+ip+htaccess&btnG=Google+Search

    try the first link.

    Thread Starter LostInNetwork

    (@lostinnetwork)

    “iptables is free”

    once you pay for a virtual server.

    – webhotell –

    .htaccess is not aware of the username. I can restrict login access and/or admin access by ip, but I cannot instruct apache to allow admin-account logins from net1, and other power user accounts from everywhere.

    Oh well, maybe I just need to rename admin to someting else then.

    You are right in saying that htaccess is not aware of the user levels, it would be for you to manage the list of users allowed and from which locations, the ease of which would vary depending on how many users you have.

    For an automated system within WordPress you’d be looking at a plugin or a customised hack to change the core code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Restric admin login by IP/network?’ is closed to new replies.