Skip to content

Only allow authorized requests to app components in Fermyon Cloud #48

@Corbie-42

Description

@Corbie-42

The request execution in the Fermyon Cloud is limited. E.g. the starter plan includes 100,000 requests per month and the request execution limit is 1,000 requests per second (see FAQ: Quota Limits).

So if an attacker knew the URL of the app, they could send 1,000 requests over 100 seconds and the limit is exceeded.

Now I could try to prevent that from happening, e.g. by using an API gateway, that only forwards authorized requests. This is never a bad idea, but only partly solves the issue.
Even with TLS, the host name of the app is exposed, so in

https://user42:[email protected]?token=eyf00ba12

the part example-app-sdgryh1.fermyon.app is transferred unencrypted. So any man-in-the-middle (or potentially next to it) knows, where the request was sent to and therefore can easily take down my app in 100 seconds with simple GET requests.

So is there any way to prohibit unauthorized requests, if someone knows the URL of my app?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions