|
Contagion -> RE: using asp to force download and disguise file location (11/15/2004 19:50:13)
|
Great code snippit, and when I tested it with a small binary (command.com) everything worked perfectly. When I replace it with a large file however I error out before I get a download dialog. My situation is this: I have a couple of CD ISO images that I'm making available internally. In order for users to access the image they need to read the TOS page reminding them that of IP stuff, blah, blah, and then they can access the file through that page. (Which submits to an asp page the checks some form variables, and who the referring page is) We want the users to go through this page for all downloads of this ISO, so we want to obscure the URL so they can't access it directly. (Yeah, security through obscurity, I know.. but I'm also working on making it so the ASP process has rights to the files, and not individual users.) As you might imagine, that code above is delightfully perfect, but it doesn't work for me when I simply change the file from command.com to the iso in question. Not sure where to go on this now so any tips would be much appreciated.
|
|
|
|