I have some static HTML files (sphinx documentation actually) that I
want to embed in a Werkzeug based web application.  Ideally, I would
be able to:

* protect those pages from unauthorized access
* send them using X-SendFile (not that important)

I have thought about using SharedDataMiddleware, but it doesn't meet
the above two requirements.  I've also thought about using something
like flask.send_from_directory(), but that doesn't support (I don't
believe) nested directories.  I could do some coding to fix that, I
just wanted to see if anyone had a better suggestion.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to