Re: [WebDNA] Electronic Delivery (download)

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101561
interpreted = N
texte = ------=_Part_111751_8988489.1228307287300 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Stuart, I have just set up a system where the folder containing the files to be downloaded is protected with a .htaccess file. This prevents direct download but WebDNA can access the folder. When a user logs in they then can download a file they have permissions for by proxying the file through a WebDNA template (using [returnraw] and associated headers). Because the download link is a WebDNA template you can use whatever criteria you want to control the download. This method does away with the need to create/delete temporary folders etc. Let me know if you want any of the code. - Tom ------=_Part_111751_8988489.1228307287300 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Stuart,

I have just set up a system where the folder containing the files to be downloaded is protected with a .htaccess file.  This prevents direct download but WebDNA can access the folder.

When a user logs in they then can download a file they have permissions for by proxying the file through a WebDNA template (using [returnraw] and associated headers).  Because the download link is a WebDNA template you can use whatever criteria you want to control the download.  This method does away with the need to create/delete temporary folders etc.

Let me know if you want any of the code.

- Tom
------=_Part_111751_8988489.1228307287300-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Electronic Delivery (download) ("Tom Duke" 2008)
  2. RE: [WebDNA] Electronic Delivery (download) ("Michael A. DeLorenzo" 2008)
  3. Re: [WebDNA] Electronic Delivery (download) ("Tom Duke" 2008)
  4. Re: [WebDNA] Electronic Delivery (download) (Lawrence 2008)
  5. Re: [WebDNA] Electronic Delivery (download) (Terry Wilson 2008)
  6. [WebDNA] Electronic Delivery (download) (Stuart Tremain 2008)
------=_Part_111751_8988489.1228307287300 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Stuart, I have just set up a system where the folder containing the files to be downloaded is protected with a .htaccess file. This prevents direct download but WebDNA can access the folder. When a user logs in they then can download a file they have permissions for by proxying the file through a WebDNA template (using [returnraw] and associated headers). Because the download link is a WebDNA template you can use whatever criteria you want to control the download. This method does away with the need to create/delete temporary folders etc. Let me know if you want any of the code. - Tom ------=_Part_111751_8988489.1228307287300 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Stuart,

I have just set up a system where the folder containing the files to be downloaded is protected with a .htaccess file.  This prevents direct download but WebDNA can access the folder.

When a user logs in they then can download a file they have permissions for by proxying the file through a WebDNA template (using [returnraw] and associated headers).  Because the download link is a WebDNA template you can use whatever criteria you want to control the download.  This method does away with the need to create/delete temporary folders etc.

Let me know if you want any of the code.

- Tom
------=_Part_111751_8988489.1228307287300-- "Tom Duke"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

problem writing to db properly (2000) Problems with [Search] param - Mac Plugin b15 (1997) Finding max value for a field (1997) European Convention (2004) creating a ShipCosts database (1997) Verifying both name and password (was: New Problem) (1997) [WebDNA] Crashing again (2008) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) 2 databases problem (1997) encrypt/decrypt problems (2001) WCf2 and nested tags (1997) Encrypt broken on Mac 3.05b13?? (2000) filemaker - orderfile (1997) autosensing lanague selection (1997) WebCatalog can't find database (1997) Questions To Answer (1997) orderfile and setlineitems (1998) completed orders database (1997) WebCat and AppleShare 6.0 (1998) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)