feat: Firebase 보안 강화 및 백업 설정#66
Merged
Hidden character warning
The head ref may contain hidden characters: "feature/-app-check-\ubcf4\uc548-\uacc4\uce35-\ub3c4\uc785-\ubc0f-sdk-\uc124\uc815"
Merged
Conversation
jini-coding
approved these changes
Feb 9, 2026
Member
jini-coding
left a comment
There was a problem hiding this comment.
오 말로만 얘기했던 부분도 다 정리를 해주셨네요. 정말 필요했던 보안 강화였습니다.
앱체크는 디벨로퍼 계정에서도 설정을 해줘야하군요. 이런 기능이 있는줄 요번 기회에 알고 갑니다!
Member
|
╭ ◜◝ ͡ ◜◝ ͡ ◜◝ ͡ ◜◝ ͡ ◜◝ ╮ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
왜 이 작업이 필요한가요?
우리 앱, 해킹당할 수 있어요
앱에 "삭제 버튼"이 없어도 해커는 데이터를 조작할 수 있습니다.
가볍게 보는 해커가 우리앱 공격하는 방법
예시 시나리오
이게 왜 가능했냐고?
이런 공격을 막기 위해 3가지 보안 설정을 추가했습니다.
추가한 보안 설정
1. Firebase 일일 백업 설정 (Daily Backup)
2. Firebase Security Rules 설정
이 데이터는 누가 읽고/쓸 수 있는가"를 서버에서 검증하는 기능
이전 상태는 로그인만 하면 모든 데이터 접근 가능했음.
변경 후엔, 우리 앱 크리티컬한 데이터에 대한 authorId 체크 + 아래 나오는 AppCheck 로직으로 이중 검수함.
3. Firebase App Check + Apple DeviceCheck 설정(오늘의 ACE)
"이 요청이 진짜 우리 앱에서 온 건가?"를 검증합니다.
여기서 말하는 진짜 우리 앱이란, 앱스토어에 정식 등록된 앱을 말함.
그러니까,
해커들은 우리 앱과 DB를 해킹하려고 할 때
Rules의 조건때문에무조건 우리앱 로그인이 필요함.
그런데,
해커들은 우리 앱 안써도 다른 프로그램 돌려서 로그인할 수가 있단말이야.
그런 말도안되는 경우를 막아주는게
Firebase App Check + Apple DeviceCheck설정이다 이거야.설정 내용
주의 사항
Firebase App Check + Apple DeviceCheck은 지금 당장 적용해버리면모든 사용자가 앱을 사용할 수 없게됨.
현재 해당 코드가 배포되지 않았기 때문에.
그래서 배포 이후 시간을 갖은 후에, 적용할 예정임.
거의 진격의 거인 월시나
다시 우리 앱 방어 구조 한눈에 먼저 보고 마무리하자.
🔗 관련 이슈
✅ 체크리스트