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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠