Note, however, you potentially let anyone download any other user's file. 
If you do this, make sure you require signed URLs on the display controller

On Thursday, January 8, 2015 at 7:25:11 PM UTC-5, Rob Paire wrote:
>
> Hi Dominic, 
> I found the simplest way to serve PDF files is to save them in the static 
> directory, and then pass in the folder and the name of the file you want to 
> serve as url parameters. See sample code below.  I have also had good 
> success building PDF's on the fly using the pyfpdf module which is include 
> in web2py. 
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to