If you wanted to make a very simple file browser, let's say /some/folder
on server, and let the flask app run and handle any requests for /here/
to be /some/folder/here
and then dig deeper? Because flask has that @app.route(('/')
so each request is mapped to a function, but here you would like one function, say browse to handle all requests, and block requests for /../../
, for example.
Is flask not well suited for this? Should I look for something else?