save it everywhere BUT the static folder (that is the one especially made for PUBLIC access) and serve it with response.stream
On Thursday, November 28, 2013 6:33:11 PM UTC+1, Rod Watkins wrote: > > Hi All, > > I've managed to get logging to a file, call it app.log, using the logging > functions. I now want to be able to display the contents of that file on a > page that is secure. Currently, it loads directly through the static file > process. But I cannot restrict who views it that way--a security hole if > left as is. So how do I load the content of a text file into my admin page? > > Sorry for the rudimentary question. And thanks in advance. > > Rod Watkins > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

