G
Guest
Hi guys,
I'm wondering if the following idea might be possible in asp.net, perhaps
with an HTTPModule or something? Any ideas/pointers would be useful...
Let's say that I have a directory full of downloads, and I want to show a
license agreement before each download begins. I could have a page, with an
accept/decline, which then forwards to the file.
However, if someone gets clever, they could bypass this, by navigating
directly to the downloads directory and file on my site, so they don't have
to fill in the form/agree whatever.
I'm wondering if there is a way of being able to say "if a browser requests
this file, send them here first, AND then download it". So it's done as a
redirect or something, so that there's NO WAY they could bypass??
Does that make sense? Is it possible?!
Thanks
Dan
I'm wondering if the following idea might be possible in asp.net, perhaps
with an HTTPModule or something? Any ideas/pointers would be useful...
Let's say that I have a directory full of downloads, and I want to show a
license agreement before each download begins. I could have a page, with an
accept/decline, which then forwards to the file.
However, if someone gets clever, they could bypass this, by navigating
directly to the downloads directory and file on my site, so they don't have
to fill in the form/agree whatever.
I'm wondering if there is a way of being able to say "if a browser requests
this file, send them here first, AND then download it". So it's done as a
redirect or something, so that there's NO WAY they could bypass??
Does that make sense? Is it possible?!
Thanks
Dan