[GH-ISSUE #324] How can we secure our custom hosted Flyimg client on Google Cloud Run #142

Closed
opened 2026-02-25 22:34:27 +03:00 by kerem · 6 comments
Owner

Originally created by @virendrao on GitHub (Dec 2, 2021).
Original GitHub issue: https://github.com/flyimg/flyimg/issues/324

We have hosted Flyimg service on Google Cloud run, all works fine. However we would like say to process request coming only from our domain say abc.net or www.abc.net ?

P.S. I am not talking about image source domain.

Originally created by @virendrao on GitHub (Dec 2, 2021). Original GitHub issue: https://github.com/flyimg/flyimg/issues/324 We have hosted Flyimg service on Google Cloud run, all works fine. However we would like say to process request coming only from our domain say abc.net or www.abc.net ? P.S. I am not talking about image source domain.
kerem 2026-02-25 22:34:27 +03:00
Author
Owner

@sadok-f commented on GitHub (Dec 2, 2021):

Hi @virendrao,
Many thanks for the issue you opened.
Unfortunately we don't have an implementation to filter the incoming requests.
Maybe you can implement that on the Google Cloud side? I saw a couple of documentation about setting up an external HTTP(S) load balancer in front of Google Cloud Run where you can filter by ip.

<!-- gh-comment-id:984506134 --> @sadok-f commented on GitHub (Dec 2, 2021): Hi @virendrao, Many thanks for the issue you opened. Unfortunately we don't have an implementation to filter the incoming requests. Maybe you can implement that on the Google Cloud side? I saw a couple of documentation about setting up an external HTTP(S) load balancer in front of Google Cloud Run where you can filter by ip.
Author
Owner

@virendrao commented on GitHub (Dec 2, 2021):

Hey thanks buddy. I tried to host it on ElasticBeanStalk as well which worked using steps provided using composer and CLI.

But when I try to put it behind AWS API Gateway as Request Parameter, Gateway basically considers "path separator (/)" which are part of image Source Path as special character I guess and doesn't forward to EB.

Do we have support for Query Parameters ? With Query parameters we should be able to pass HTTP Image Source, rather than Request Parameters.

<!-- gh-comment-id:984525618 --> @virendrao commented on GitHub (Dec 2, 2021): Hey thanks buddy. I tried to host it on ElasticBeanStalk as well which worked using steps provided using composer and CLI. But when I try to put it behind AWS API Gateway as Request Parameter, Gateway basically considers "path separator (/)" which are part of image Source Path as special character I guess and doesn't forward to EB. Do we have support for Query Parameters ? With Query parameters we should be able to pass HTTP Image Source, rather than Request Parameters.
Author
Owner

@sadok-f commented on GitHub (Dec 2, 2021):

Even if you try to encode the image URL parameter?
such as https%3A%2F%2Fraw.githubusercontent.com%2Fflyimg%2Fgraphic-assets%2Fmaster%2Flogo%2Fraster%2Fflyimg-logo-rgb.png

<!-- gh-comment-id:984552684 --> @sadok-f commented on GitHub (Dec 2, 2021): Even if you try to encode the image URL parameter? such as `https%3A%2F%2Fraw.githubusercontent.com%2Fflyimg%2Fgraphic-assets%2Fmaster%2Flogo%2Fraster%2Fflyimg-logo-rgb.png`
Author
Owner

@github-actions[bot] commented on GitHub (Aug 10, 2023):

This issue is stale because it has been open for 30 days with no activity.

<!-- gh-comment-id:1672443412 --> @github-actions[bot] commented on GitHub (Aug 10, 2023): This issue is stale because it has been open for 30 days with no activity.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 25, 2023):

This issue was closed because it has been inactive for 14 days since being marked as stale.

<!-- gh-comment-id:1692649742 --> @github-actions[bot] commented on GitHub (Aug 25, 2023): This issue was closed because it has been inactive for 14 days since being marked as stale.
Author
Owner

@sadok-f commented on GitHub (Oct 20, 2023):

Hi @virendrao
I'm wondering if you still use Flyimg in your company/organisation ?
If so, it would be great if you could add your entry here in the Adoperts file
https://github.com/flyimg/flyimg/blob/main/ADOPTERS.md
many thanks!

<!-- gh-comment-id:1772337326 --> @sadok-f commented on GitHub (Oct 20, 2023): Hi @virendrao I'm wondering if you still use Flyimg in your company/organisation ? If so, it would be great if you could add your entry here in the Adoperts file https://github.com/flyimg/flyimg/blob/main/ADOPTERS.md many thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flyimg#142
No description provided.