Skip to content

Allow permitted action in token signature #7

@hauleth

Description

@hauleth

Instead of signing literal query describe permitted actions, probably with argument constraints. This will allow end user to define parameters on their own, for example we could provide signed URL from backend to the frontend where we would permit only generation of thumbnails between 100x100 and 300x300 where dimensions are divisible by 10. This would reduce attack vector for DoS by allowing only 21 possible sizes to be generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions