WEBBOOK CHAPTER

외부 인터페이스 엔지니어링: 20장. File·Object Storage

20장. File·Object Storage

presigned URL로 직접 upload하되 key prefix, size, content type, checksum, expiry, method를 제한한다. upload 완료 API에서 소유권과 실제 object metadata를 검증한다.

파일명과 MIME header만 믿지 않고 decode/scan 정책을 둔다. public/private bucket을 분리하고 CDN origin access를 제한한다. orphan upload cleanup과 삭제 전파를 운영한다.