werkzeug.SharedDataMiddleware.is_allowed

SharedDataMiddleware.is_allowed(filename)[source]

Subclasses can override this method to disallow the access to certain files. However by providing disallow in the constructor this method is overwritten.