![]() |
|
![]() | ||
|
Subject:
restrict access to a web page
Category: Computers > Internet Asked by: moonsleeper-ga List Price: $15.00 |
Posted:
01 Oct 2004 05:35 PDT
Expires: 31 Oct 2004 04:35 PST Question ID: 408826 |
Hi, I need to know how to make my web page with downloads to be accesible only from one particular web page. If user saves the link to my download page, they should not be able to open it and have acces to downloads. Thank you | |
| |
|
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: restrict access to a web page
From: csonweb-ga on 01 Oct 2004 06:17 PDT |
If you are looking for a restricted user access to a page, then you can create a page with PHP that accesses a database to authenticate the user & allow him/her to download the file, else would lead to a failure page. So this would also prevent hotlinking of the file on your server as the location of the file wouldnt be disclosed. |
Subject:
Re: restrict access to a web page
From: thekok-ga on 02 Oct 2004 07:56 PDT |
If you don't need the login machanism.. then you should check if the page that line to you are coming from an approved URL.. this is normally call HTTP_REFERER, In ASP will be something like this : Request.ServerVariables("HTTP_REFERER") |
Subject:
Re: restrict access to a web page
From: markoft-ga on 04 Oct 2004 18:12 PDT |
There are only two problems with a using the HTTP_REFERER header. 1. Some people block their browsers from sending them for privacys issues. 2. It would be dead simple for users to get the correct HTTP_REFERER using a spoofing program like QuickSpoof or the RefSpoof extension for Mozilla and Firefox. At the current time what you want to be done isn't effective. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |