I have an intranet site that I want to make public. Firstly I was thinking that authentication for login could be .htaccess. In your opinion is this the most secure or are there other solutions out there that could take care of this job for me. Important to note that the webserver is running a joomla app.
Also in my .htaccess file I wanted to apply some logic like below:
If user IP originates from 10.10.1.0/24 then go direct to intranet home page. Anything else goto login
Many thanks in advance