Skip to content

Handle Protecting Static Files #6

@cancan101

Description

@cancan101

something like this works, though it needs access to the BasicAuth instance.

    class SecuredStaticFlask(Flask):
        @basic_auth.required
        def send_static_file(self, filename):
            return super(SecuredStaticFlask, self).send_static_file(filename)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions