RE: [PHP] Referring URL Authentication
- From: user@xxxxxxxxxxxxx ("Tim")
- Date: Wed, 14 Mar 2007 16:47:19 +0100
-----Message d'origine-----
De : Robert Cummings [mailto:robert@xxxxxxxxxxxxx]
Envoyé : mercredi 14 mars 2007 16:13
À : Matthew Vickery
Cc : php-general@xxxxxxxxxxxxx
Objet : Re: [PHP] Referring URL Authentication
On Wed, 2007-03-14 at 14:50 +0000, Matthew Vickery wrote:
The situation is as follows:http://www.example.com into
I wish to protect the entire Website http://www.example.com from
direct URL access. i.e. if someone enters
their browser they get a message stating that they are notauthorised
to access the site. The only way to access http://www.example.comand follow
should be to log into a second site http://www.intranet.com
a link from within to http://www.example.com.
Are you admin of these machines? If so use firewall rules to filter traffic
allowing only your domain to acces it.. And then setup authentication on
destination server. You'll save yourself some trouble..
If not, what kind of acces do you have on these servers regarding
scripting/.htaccess and server config files?
If you can get to apache config files, lookup the Apache <directory>
directives, you should have some hints in their as to how to limit certain
hosts, to certain domains..
Regards,
Tim
"Programming is a race between people making better and faster programs and
the universe making bigger and dumber people. So far the universe is
winning"
.
- References:
- Re: [PHP] Referring URL Authentication
- From: Robert Cummings
- Re: [PHP] Referring URL Authentication
- Prev by Date: RE: [PHP] "cannot load mysql extension" - PHP Installation on Vista/Apache
- Next by Date: Re: Fw: [PHP] PHP URL issues
- Previous by thread: Re: [PHP] Referring URL Authentication
- Next by thread: Re: [PHP] Referring URL Authentication
- Index(es):