I would recommend have the downloadable on a drive not accessible from the
web.... then do a CF object handler that accessed it via a physical pathing
and MIME type....



-----Original Message-----
From: Fuon See Tu [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 6:36 PM
To: CF-Talk
Subject: Re: File Downloads (to Bruce)


what if that file was a zip or a jpg?  they can still access it, and
coldfusion can't control that


>From: "Bruce Sorge" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Re: File Downloads
>Date: Mon, 30 Jul 2001 17:27:40 -0500
>
>One way would to have the user log in to access the download site. You
>could
>add a cfif to the application.cfm file that if they are not validated then
>they cannot access the site, maybe send them to a login/register page. You
>could also add the cfif as an include in your pages and once again, if not
>logged in, then have a redirect. If the user log in, set a client variable
>that times out after a couple of hours so that they are automatically
>logged
>out after that time period of inactivity.
>These are a couple of ideas which I have implemented, and I am sure that
>there are countless other ideas that will follow.
>
>Bruce
>----- Original Message -----
>From: "Fuon See Tu" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Monday, July 30, 2001 5:19 PM
>Subject: File Downloads
>
>
> > hey yall, i allow members to download fields from a certain directory.
>How
> > do i keep them from remembering the URL and downloading files at will???
>i
> > mean how do Sites that let u purchase and download stuff do it?
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to