What you need is cfcontent tag. Set standard security in application.cfm file. Once user is logged in create a page under application.cfm control called download.cfm. In that file place cfcontent tag set for the file you wish user to get. User selects what he wants from index.cfm and gets redirected to download.cfm where download of his choice starts automatically.

TK
  ----- Original Message -----
  From: Jeff Fongemie
  To: CF-Talk
  Sent: Sunday, November 16, 2003 11:33 AM
  Subject: Ideas needed! Password protect a file download.

  Hey everyone,
  Very soon I'll need to set up a system that will let users download files. The users will need to be logged in, so I'll be checking for a username and password before I let them download the file. The part I'm not sure about is protecting the file itself. I want the file to be protected so no one can brows to it by http. Someting similar to download.com, where the file just starts downloading automaticly would be great.

  How do they (download.com) have the file auto-download without a user having to right click on the file??

  Any suggestions toward any of this would be most helpful.

  Thanks!

  Jeff

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to