Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Capture actual fileupload

Reply
Thread Tools

Capture actual fileupload

 
 
Edwin Knoppert
Guest
Posts: n/a
 
      06-23-2006
I want to use an ordinary HREF situation to a fake filename on our server.
To let IIS and client handle the filetype like zip by itself i don't need a
generic handler.

But to prevent unautorized access i would *still* like to stream the file
from a *different* location.

I'm aware of protected folders (using formsauthentication) and such.

At this time i was messing with global.asax but i can only rewrite the path.
That's not the entire idea, i also would like to stream the file from a
different location WITHOUT 'manually' providing headers for that specific
filetype.

Is that possible?

PS, i'm thinking of logging the download anyway this way, i also tested a
httpmodule, works similar of course.




 
Reply With Quote
 
 
 
 
Winista
Guest
Posts: n/a
 
      06-23-2006
See if this helps..

http://www.netomatix.com/development...eDownload.aspx

"Edwin Knoppert" <> wrote in message
news:449bde4c$0$2026$. ..
>I want to use an ordinary HREF situation to a fake filename on our server.
> To let IIS and client handle the filetype like zip by itself i don't need
> a generic handler.
>
> But to prevent unautorized access i would *still* like to stream the file
> from a *different* location.
>
> I'm aware of protected folders (using formsauthentication) and such.
>
> At this time i was messing with global.asax but i can only rewrite the
> path.
> That's not the entire idea, i also would like to stream the file from a
> different location WITHOUT 'manually' providing headers for that specific
> filetype.
>
> Is that possible?
>
> PS, i'm thinking of logging the download anyway this way, i also tested a
> httpmodule, works similar of course.
>
>
>
>



 
Reply With Quote
 
 
 
 
Edwin Knoppert
Guest
Posts: n/a
 
      06-23-2006
It requires to set the header stuff, something i would like to try to avoid


Like:
ctx.Response.ContentType = "application/zip";


"Winista" <> schreef in bericht
news:...
> See if this helps..
>
> http://www.netomatix.com/development...eDownload.aspx
>
> "Edwin Knoppert" <> wrote in message
> news:449bde4c$0$2026$. ..
>>I want to use an ordinary HREF situation to a fake filename on our server.
>> To let IIS and client handle the filetype like zip by itself i don't need
>> a generic handler.
>>
>> But to prevent unautorized access i would *still* like to stream the file
>> from a *different* location.
>>
>> I'm aware of protected folders (using formsauthentication) and such.
>>
>> At this time i was messing with global.asax but i can only rewrite the
>> path.
>> That's not the entire idea, i also would like to stream the file from a
>> different location WITHOUT 'manually' providing headers for that specific
>> filetype.
>>
>> Is that possible?
>>
>> PS, i'm thinking of logging the download anyway this way, i also tested a
>> httpmodule, works similar of course.
>>
>>
>>
>>

>
>



 
Reply With Quote
 
Edwin Knoppert
Guest
Posts: n/a
 
      06-23-2006
Iow, i want to fool iis to stream the file from a different location on the
drive as was requested in the URL.
And thus no need for modifying any header per se.


"Winista" <> schreef in bericht
news:...
> See if this helps..
>
> http://www.netomatix.com/development...eDownload.aspx
>
> "Edwin Knoppert" <> wrote in message
> news:449bde4c$0$2026$. ..
>>I want to use an ordinary HREF situation to a fake filename on our server.
>> To let IIS and client handle the filetype like zip by itself i don't need
>> a generic handler.
>>
>> But to prevent unautorized access i would *still* like to stream the file
>> from a *different* location.
>>
>> I'm aware of protected folders (using formsauthentication) and such.
>>
>> At this time i was messing with global.asax but i can only rewrite the
>> path.
>> That's not the entire idea, i also would like to stream the file from a
>> different location WITHOUT 'manually' providing headers for that specific
>> filetype.
>>
>> Is that possible?
>>
>> PS, i'm thinking of logging the download anyway this way, i also tested a
>> httpmodule, works similar of course.
>>
>>
>>
>>

>
>



 
Reply With Quote
 
bruce barker \(sqlwork.com\)
Guest
Posts: n/a
 
      06-23-2006
you need to write an iis filter. until the next release of IIS, these must
be written in C/C++, but are pretty simple to write. url rewriting is a
pretty common sample.

-- bruce (sqlwork.com)


"Edwin Knoppert" <> wrote in message
news:449bde4c$0$2026$. ..
>I want to use an ordinary HREF situation to a fake filename on our server.
> To let IIS and client handle the filetype like zip by itself i don't need
> a generic handler.
>
> But to prevent unautorized access i would *still* like to stream the file
> from a *different* location.
>
> I'm aware of protected folders (using formsauthentication) and such.
>
> At this time i was messing with global.asax but i can only rewrite the
> path.
> That's not the entire idea, i also would like to stream the file from a
> different location WITHOUT 'manually' providing headers for that specific
> filetype.
>
> Is that possible?
>
> PS, i'm thinking of logging the download anyway this way, i also tested a
> httpmodule, works similar of course.
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen Capture With Mouse , Mouse Position Capture Max Java 7 08-08-2009 11:51 PM
SuperVideoCap work as a broadcast capture and screen capture and record tool. hely0123 Media 0 10-30-2007 08:59 AM
Fileupload - authorization to directories through code? KK ASP .Net 1 01-31-2005 01:53 PM
FileUpload limit problem Edijer Sarmiento ASP .Net 1 07-23-2004 01:41 PM
Fileupload problem with files larger than 1MB grimBeast ASP .Net 2 08-27-2003 09:03 PM



Advertisments