Send from Server IIS to Client binary file
Send from Server IIS to Client binary file
am 16.09.2007 17:32:01 von miki
I want to use ISAPI filter or extension for send data from IIS to Client.
First of all I need to read the data from file (some files maybe encrypted),
check if it encrypted as do decrypt and pass it to client.
If it possible?
And how can I do it?
Thank you.
Re: Send from Server IIS to Client binary file
am 16.09.2007 17:55:31 von Tiago Halm
Miki,
The objective you state is not ISAPI specific. In fact IIS (as any other Web
Server for that matter) can send binary files. The only thing needed is to
make a direct request to it, or have the original request dinamically return
its contents. It can be done via ASP, ASP.NET, PHP, etc... The
encryption/decryption bit is also doable via these languages.
Without more informaiton, I don't see the need for an ISAPI Filter/Extension
here.
Tiago Halm
Re: Send from Server IIS to Client binary file
am 16.09.2007 18:10:28 von Kristofer Gafvert
Why do you want to implement this as an ISAPI filter (or extension)?
It is far easier to work with ASP.NET and it will be easier and cheapier
to maintain (you don't need to hire a specialist in ISAPI development
when/if something needs to be fixed or changed).
"IIS ISAPI Extensions"
http://msdn2.microsoft.com/en-us/library/ms525881.aspx
"IIS ISAPI Filters"
http://msdn2.microsoft.com/en-us/library/ms525908.aspx
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
Miki wrote:
>I want to use ISAPI filter or extension for send data from IIS to Client.
>First of all I need to read the data from file (some files maybe
>encrypted),
>check if it encrypted as do decrypt and pass it to client.
>If it possible?
>And how can I do it?
>Thank you.
Re: Send from Server IIS to Client binary file
am 16.09.2007 18:28:02 von miki
Thank you very much on your answer.
I forgot to write about these files, them included to HTML (not asp) files
as resources (encrypted js files).
Best regards,
Miki
"Kristofer Gafvert" wrote:
> Why do you want to implement this as an ISAPI filter (or extension)?
>
> It is far easier to work with ASP.NET and it will be easier and cheapier
> to maintain (you don't need to hire a specialist in ISAPI development
> when/if something needs to be fixed or changed).
>
>
> "IIS ISAPI Extensions"
> http://msdn2.microsoft.com/en-us/library/ms525881.aspx
>
> "IIS ISAPI Filters"
> http://msdn2.microsoft.com/en-us/library/ms525908.aspx
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> Miki wrote:
>
> >I want to use ISAPI filter or extension for send data from IIS to Client.
> >First of all I need to read the data from file (some files maybe
> >encrypted),
> >check if it encrypted as do decrypt and pass it to client.
> >If it possible?
> >And how can I do it?
> >Thank you.
>
Re: Send from Server IIS to Client binary file
am 16.09.2007 19:24:53 von Kristofer Gafvert
First of all, you can map whatever extension you want to the ASP.NET ISAPI
extension.
You can also send whatever file on the file system you want, no matter
what the requested file was.
Conside this for example:
http://domain.com/getFile.aspx?file=myFile.htm
Using this, getFile.aspx can read myFile.htm on the file system and send
it to the client. You can probably find example code to do this within
minutes using google.com.
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
Miki wrote:
>Thank you very much on your answer.
>
>I forgot to write about these files, them included to HTML (not asp) files
>as resources (encrypted js files).
>
>Best regards,
>Miki
>
>"Kristofer Gafvert" wrote:
>
>>Why do you want to implement this as an ISAPI filter (or extension)?
>>
>>It is far easier to work with ASP.NET and it will be easier and cheapier
>>to maintain (you don't need to hire a specialist in ISAPI development
>>when/if something needs to be fixed or changed).
>>
>>
>>"IIS ISAPI Extensions"
>>http://msdn2.microsoft.com/en-us/library/ms525881.aspx
>>
>>"IIS ISAPI Filters"
>>http://msdn2.microsoft.com/en-us/library/ms525908.aspx
>>
>>--
>>Regards,
>>Kristofer Gafvert
>>http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>>Miki wrote:
>>
>>>I want to use ISAPI filter or extension for send data from IIS to Client.
>>>First of all I need to read the data from file (some files maybe
>>>encrypted),
>>>check if it encrypted as do decrypt and pass it to client.
>>>If it possible?
>>>And how can I do it?
>>>Thank you.
>>
Re: Send from Server IIS to Client binary file
am 17.09.2007 10:30:03 von miki
Thank you for your helps!!!
I'll go for this.
Best regards,
Miki
"Kristofer Gafvert" wrote:
> First of all, you can map whatever extension you want to the ASP.NET ISAPI
> extension.
>
> You can also send whatever file on the file system you want, no matter
> what the requested file was.
>
> Conside this for example:
>
> http://domain.com/getFile.aspx?file=myFile.htm
>
> Using this, getFile.aspx can read myFile.htm on the file system and send
> it to the client. You can probably find example code to do this within
> minutes using google.com.
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> Miki wrote:
>
> >Thank you very much on your answer.
> >
> >I forgot to write about these files, them included to HTML (not asp) files
> >as resources (encrypted js files).
> >
> >Best regards,
> >Miki
> >
> >"Kristofer Gafvert" wrote:
> >
> >>Why do you want to implement this as an ISAPI filter (or extension)?
> >>
> >>It is far easier to work with ASP.NET and it will be easier and cheapier
> >>to maintain (you don't need to hire a specialist in ISAPI development
> >>when/if something needs to be fixed or changed).
> >>
> >>
> >>"IIS ISAPI Extensions"
> >>http://msdn2.microsoft.com/en-us/library/ms525881.aspx
> >>
> >>"IIS ISAPI Filters"
> >>http://msdn2.microsoft.com/en-us/library/ms525908.aspx
> >>
> >>--
> >>Regards,
> >>Kristofer Gafvert
> >>http://www.gafvert.info/iis/ - IIS Related Info
> >>
> >>
> >>Miki wrote:
> >>
> >>>I want to use ISAPI filter or extension for send data from IIS to Client.
> >>>First of all I need to read the data from file (some files maybe
> >>>encrypted),
> >>>check if it encrypted as do decrypt and pass it to client.
> >>>If it possible?
> >>>And how can I do it?
> >>>Thank you.
> >>
>