Re: Download question

From: Chandra Sekhar (Chandra.Shekhar_at_am.joneslanglasalle.com)
Date: 08/07/04


Date: Sat, 7 Aug 2004 09:40:02 -0500

My suggestion would be to binary read and render to client such that the
users will never get to see the file url.

Sekhar.

"The Clansman" <no@pls.com> wrote in message
news:ufK8ScIfEHA.720@TK2MSFTNGP11.phx.gbl...
> thanks,
> but I'm using a hosting service, the web server is not a server that I
have
> access....
>
> is it possible to configure this at the hosting server?
>
> thanks
>
> "Craig Deelsnyder" <cdeelsny@no_spam_4_meyahoo.com> wrote in message
> news:opsccmo2w475dg5d@cowboy...
> > On Sat, 7 Aug 2004 00:48:42 -0300, The Clansman <no@pls.com> wrote:
> >
> > > Hi,
> > > I am developing a site for a company and this site will have files
> > > available
> > > for the customers to download, but only the customers loged in will be
> > > able
> > > to download these files and the files availables for each customer
will
> > > depend on the type of the customer.
> > >
> > > so how can I prevent a user from downloading a file by typing the full
> > > url
> > > (example, http://www.company.com/file.exe)
> > >
> > > if the user type the url of the file, I want the user to be redirected
> to
> > > the login page.
> > >
> > > **some files are larger than 50MB
> > >
> > > Thanks
> > >
> > >
> >
> > The easiest way is to map all of the files' extensions to the aspnet dll
> > in IIS. So go into your web app in IIS and copy the dll setting for
.aspx
> > to each of the other ones (.exe, pdf, etc.). This will cause requests
to
> > be passed thru the aspnet process (which will then just serve up the
> > file), enabling you to protect them via Forms Authentication.
> >
> > Note you'll want to test this a little, to make sure of no problems.
> > Performance impact should be minimal as well.
> >
> > --
> > Craig Deelsnyder
> > Microsoft MVP - ASP/ASP.NET
>
>



Relevant Pages

  • RE: IIS6 on W2k3 DCs
    ... In the case of a web server, ... >Organizations who want fault tolerance put resources on ... >But Small Business Server 2003 runs with IIS on our domain controller. ...
    (Focus-Microsoft)
  • Re: middle tier recommendations
    ... I forgot to mention I do have a standby database server for failover. ... >> That depends on the amount of use that interface will get. ... >> is scalable, you can put your app, with DLLs, on any web server without ... >>> inherent performance issues with IIS ...
    (microsoft.public.dotnet.framework)
  • Re: IIS6 on W2k3 DCs
    ... Didn't an IIS server survive OpenHackIV with IIS, ... In the case of a web server, ... >>Your box is your domain controller, and its your exchange server, so it ...
    (Focus-Microsoft)
  • Re: Possible To Create Web Application On Other Than Local Server
    ... "Scott" wrote in message news:677k90t3kfd3etmpbpkrhca34lea7e8kaa@4ax.com... ... :>: web server that will be hosting. ... This means you do not have to have IIS running local. ... IE and call for the virtual path on the web server so I can test the page. ...
    (microsoft.public.inetserver.asp.general)
  • IIS is going crazy
    ... I tried reinstalling the IIS on XP but I still get the same errors. ... Computer: KENNY-XP ... The server failed to load application '/LM/W3SVC'. ... When I try to create a NEW WEB in frontpage I get: THe Web server at http://kenny-xp does not appear to have the windows sharepoint services installed ...
    (microsoft.public.windowsxp.general)