Open cancan101 opened 8 years ago
something like this works, though it needs access to the BasicAuth instance.
BasicAuth
class SecuredStaticFlask(Flask): @basic_auth.required def send_static_file(self, filename): return super(SecuredStaticFlask, self).send_static_file(filename)
something like this works, though it needs access to the
BasicAuth
instance.