Looking for ideas, How can I create a secure SFTP server with scanning?

0

Suppose I want to make a safe, easy, and accessible way to transfer files into a VPC. Ideally a user just goes to a site in a browser and uploads the file, then can log into the VPC's network and download it.

But there's a few gotchas:

  • All uploaded files must be scanned for viruses/malware (e.x. ClamAV Lambda checks the files). Infected files must be quarantined/inaccessible.

  • Users need to be able to authenticate with an Identity provider like Okta.

  • Users should only be able to see files that they have permissions to.

I wanted to use AWS managed SFTP (such as https://github.com/awslabs/web-client-for-aws-transfer-family/tree/open-source), but I can't figure out how I would implement scanning into the pipeline. I could instead use S3 buckets directly with some application interface, but that would take a lot of heavy lifting on my end to build said application (unless there's already something for this).

Any suggestions?

1回答
1

I suggest the workflow feature of AWS Transfer may help meet your requirements to add a scanning lambda and control the user permissions. This blog post is a good guide for some of the capabilities. There was an enhancement to workflows announced yesterday.

I have also worked with customers with very complex requirements where we used step functions

AWS
エキスパート
Peter_G
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ