Skip to Content
컨테이너 보안: 컨테이너화된 응용 프로그램의 보안을 위한 개념, 이론, 대응법과 모범 관행까지
book

컨테이너 보안: 컨테이너화된 응용 프로그램의 보안을 위한 개념, 이론, 대응법과 모범 관행까지

by 류광, 리즈 라이스
February 2021
Beginner to intermediate
252 pages
5h 36m
Korean
Hanbit Media, Inc.
Content preview from 컨테이너 보안: 컨테이너화된 응용 프로그램의 보안을 위한 개념, 이론, 대응법과 모범 관행까지
12
비밀 정보를 컨테이너에 전달
212
드코딩하는 것이므로, 비밀 값을 전달하는 목적으로는 바람직하지 않다. 그렇게 하는 것이 가
능하다고는 해도, 다음과 같은 이유로 대체로 나쁜 방법으로 간주된다.
이미지의 원본 파일 (소스 코드 등)에 접근할 수 있는 사람이면 비밀 값도 볼 수 있다. 평
문 대신 암호문을 저장하면 되지 않느냐고 생각하겠지만, 그러면 그것을 해독하는 데 필
요한 또 다른 비밀 값을 어디에 어떻게 저장해야 하느냐의 문제가 생긴다.
비밀 값이 바뀌면 컨테이너 이미지를 다시 구축해야 한다. 그보다는 비밀 값 변경과 이미
지 구축을 분리하는 것이 바람직하다. 더 나아가서, 비밀 값을 관리하는 자동화된 중앙 시
스템 (
CyberArk
Hashicorp
Vault
같은 )은 이런 식으로 하드코딩된 비밀 값의 수명
주기를 제어하지 못한다.
안타깝게도 비밀 값을 그냥 소스 코드에 담아 두는 경우가 놀랄 만큼 흔하다. 그냥 그것이 나쁜
방법임을 개발자가 몰랐을 수도 있고, 개발 또는 검사 과정에서 시간 절약을 위해 비밀 값을 그
냥 코드에 담아 두었다가 나중에 실무 환경에 배치할 때 비밀 값을 제거하는 것을 깜빡 까먹었
을 수도 있다.
구축 시점에서 비밀 값을 전달하는 것은 확실히 나쁜 일이다. 이보다는, 컨테이너를 시작할
때 지정하거나 실행 중인 컨테이너에 전달하는 것이 낫다.
12.2.2
네트워크로 비밀 값 전달
세 번째 옵션은 네트워크 인터페이스를 통해서 비밀 값을 전달하는 것인데, 그러려면 응용 프
로그램이 네트워크 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

안드로이드 멀티스레딩: 비동기 메커니즘으로 날렵하고 안정적인 앱 만들기

안드로이드 멀티스레딩: 비동기 메커니즘으로 날렵하고 안정적인 앱 만들기

한대희, 안데르스 예란손

Publisher Resources

ISBN: 9791162243923