We have an intranet inside our firewall.
Now, there are quite many functions that should be accessible from the outside (administrators want them to be).
How can we have the "intranet" accessible from the outside and still having reasonable security?
My idea is to have every php-page sniffing IP-numbers and if it's not in the range of the internal users they will have to log in manually through the MySQL database having users with encrypted passwords, placed inside the firewall.
Can a php-script be "hacked" although the initial check is the remote address variable?
Or what else should we consider?
Now, there are quite many functions that should be accessible from the outside (administrators want them to be).
How can we have the "intranet" accessible from the outside and still having reasonable security?
My idea is to have every php-page sniffing IP-numbers and if it's not in the range of the internal users they will have to log in manually through the MySQL database having users with encrypted passwords, placed inside the firewall.
Can a php-script be "hacked" although the initial check is the remote address variable?
Or what else should we consider?