Log in

View Full Version : Http referal


Amit
9th July 2003, 02:38
Hi All,

Anyone over here knows how to implement http referal security on a website. I need information for IIS 5.0 on Windows 2000 Server.

I want to protect all my html pages and images just like doom9 website where if you try to come to a page bookmarked it goes to the default news page.

Any help will be great.

Thanks,
-Amit

Doom9
10th July 2003, 10:07
there are two IIS products I know of that are similar to mod_rewrite (which I use - it's an Apache module): http://www.isapirewrite.com/ and http://www.qwerksoft.com/products/iisrewrite/

Amit
10th July 2003, 21:10
@Doom9
Thanks a lot. You have solved my problem.

-Amit

auenf
11th July 2003, 12:44
with IIS and asp you can set the application_start sub (when a new session starts) in the global.asa.

also in asp you can use the response object (iirc) to get the referring URL.

i once used in an asp site (which never went live) a check of session variables, session ID, referrer and post variables to make sure the 'user' had come from a specific page, and it seemed to work in the limited testing i gave it.

Enf...