Skip to content

Allow permitted action in token signature #7

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions