Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

How would I setup Joomla to require or bypass authentication based on visitors IP address?

I would like to setup a Joomla website that requires visitors to login, unless they are visiting from a specific IP address or subnet.

Also, I would like the login to be LDAP based.

I would be hosting the Joomla site on my local network and exposing it via my router with port-forwarding.

share|improve this question

1 Answer 1

An authentication plugin is what you need. It is not so difficult as it may seem. In the "/plugins/authentication/" folder of your Joomla site you already can see authentication methods available;

  • traditional Joomla (users in a database)
  • gmail
  • openid
  • ldap

You can surely find on extensions site other auth plugins; or, if you have some PHP skill, you can build your own since all an authentication plugin has to return is success or failure.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.