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.1228307287300Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 7bitContent-Disposition: inlineStuart,I have just set up a system where the folder containing the files to bedownloaded is protected with a .htaccess file. This prevents directdownload but WebDNA can access the folder.When a user logs in they then can download a file they have permissions forby proxying the file through a WebDNA template (using [returnraw] andassociated headers). Because the download link is a WebDNA template you canuse whatever criteria you want to control the download. This method doesaway with the need to create/delete temporary folders etc.Let me know if you want any of the code.- Tom------=_Part_111751_8988489.1228307287300Content-Type: text/html; charset=UTF-8Content-Transfer-Encoding: 7bitContent-Disposition: inlineStuart,
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:
------=_Part_111751_8988489.1228307287300Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 7bitContent-Disposition: inlineStuart,I have just set up a system where the folder containing the files to bedownloaded is protected with a .htaccess file. This prevents directdownload but WebDNA can access the folder.When a user logs in they then can download a file they have permissions forby proxying the file through a WebDNA template (using
[returnraw] andassociated headers). Because the download link is a WebDNA template you canuse whatever criteria you want to control the download. This method doesaway with the need to create/delete temporary folders etc.Let me know if you want any of the code.- Tom------=_Part_111751_8988489.1228307287300Content-Type: text/html; charset=UTF-8Content-Transfer-Encoding: 7bitContent-Disposition: inlineStuart,
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)