Re: Protecting file Urls

by "jssnoddy" <jss(at)abs.net>

 Date:  Tue, 23 May 2000 23:37:41 -0400
 To:  <hwg-servers(at)hwg.org>
 References:  exchange malico
  todo: View Thread, Original
The most elegant solution would be to use the built in security features
of Adobe Acrobat Distiller and/or a third-party plug-in specifically
designed to control access to Adobe pdf files.

Look here: http://www.adobe.com/support/techdocs/20b4a.htm


> World-Exchange Webmaster wrote:
>
> > Hello!
> >
> > I am looking for a relatively elegant solution or new approach to
protecting
> > a file on a web server namely a *.pdf file.
> >
> > The platform I am restricted to is IIS 5, Win 2000, & ASP.
> >
> > My client would like to restrict users from downloading a file
without being
> > registered.  Obviously, if they know the direct url of the file they
could
> > get it, but there must be a way to mask the path.
> >
> > After researching a number of sites ( 4 guys, 15 seconds, etc.) I
have found
> > a solution...
> >
> > Hiding the file in an oddly named folder on the site
> > Access the file with a Component that supports binary reads
> > Setting the Content type of the Response object
> > Then streaming the file using Response.BinaryWrite
> >
> > Is there a better way to do this? Any ideas?
> >
> > TIA,
> >
> > Christopher Rittweger
>
> --
>           Making the Web Work for You (tm)
>
> Susan Duncan (sduncan(at)malico.com) Voice: (613) 744-3283
> Director, Internet Development      Fax: (613) 744-1825
> http://www.malico.com         Toll Free: (877) WEB-PROS
> http://www.OttawaWEB.COM
> MALICO - Graphic Design and Internet Development
> Founders: Ottawa-Hull Chapter-Int'l Webmasters Association
>
>

HWG: hwg-servers mailing list archives, maintained by Webmasters @ IWA