RE: HTTPS redirections
- From: <whip@xxxxxxxxxxxxxxx>
- Date: Sat, 25 Aug 2007 11:46:02 +1000
Just be aware, that the referer can be forged fairly easily - don't rely on
it for any kind of security or authentication.
Basically, never trust the client (in this case, the browser).
Scott
-----Original Message-----
From: listbounce@xxxxxxxxxxxxxxxxx [mailto:listbounce@xxxxxxxxxxxxxxxxx] On
Behalf Of Jason Ross
Sent: Saturday, 25 August 2007 7:13 AM
To: anthony@xxxxxxxxxxxx
Cc: security-basics@xxxxxxxxxxxxxxxxx
Subject: Re: HTTPS redirections
On 8/24/07, anthony@xxxxxxxxxxxx <anthony@xxxxxxxxxxxx> wrote:
I have noticed how some websites only allow access to a particular
page if a link within the page has been 'clicked' ie. user cannot
paste link address in browser bar to get to desired page.
For security purposes I would like to create a script and achieve
similar results.
I believe that (at least one way) this is done is by checking the
referer header. In PHP this can be accessed via the predefined
variable: $_SERVER['HTTP_REFERER'], other languages should have
similar methods of obtaining this.
AFAIK, there is not a difference between HTTP and HTTPS as far as
this method is concerned.
--
Jason
- References:
- HTTPS redirections
- From: anthony
- Re: HTTPS redirections
- From: Jason Ross
- HTTPS redirections
- Prev by Date: RE: Find policies applied to an AD computer
- Next by Date: Question: Adtran AOS --> assessment/audit tools, guides?
- Previous by thread: RE: HTTPS redirections
- Next by thread: RE: HTTPS redirections
- Index(es):
Relevant Pages
|