Skip to content

Commit 7124205

Browse files
committed
Add security documentation for team ID management
1 parent e7a1118 commit 7124205

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

SECURITY.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# 🔐 Security Configuration Guide
2+
3+
## Development Team Setup
4+
5+
1. Her geliştirici kendi `DevelopmentTeam.xcconfig` dosyasını oluşturmalı:
6+
```
7+
DEVELOPMENT_TEAM=YOUR_TEAM_ID
8+
```
9+
10+
2. Bu dosya `.gitignore`'da olmalı ve asla commit edilmemeli
11+
12+
3. Xcode'da team seçimi için environment variable kullanın:
13+
```
14+
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)"
15+
```
16+
17+
## CI/CD Setup
18+
19+
GitHub Actions için encrypted secrets kullanın:
20+
- `IOS_DEVELOPMENT_TEAM`
21+
- `IOS_SIGNING_IDENTITY`
22+
- `IOS_PROVISIONING_PROFILE`
23+
24+
## Güvenlik Kontrol Listesi
25+
26+
- [ ] Team ID'ler temizlendi
27+
- [ ] Provisioning profile'lar kaldırıldı
28+
- [ ] Private key'ler (.p12) kontrol edildi
29+
- [ ] API key'ler kontrol edildi
30+
- [ ] Database connection string'leri kontrol edildi
31+
- [ ] Third-party service token'ları kontrol edildi
32+
33+
## Acil Durum
34+
35+
Eğer hassas bilgi public repo'ya gittiyse:
36+
1. Derhal Apple Developer hesabını kontrol edin
37+
2. Team ID'yi değiştirin (mümkünse)
38+
3. Sertifikaları revoke edin ve yenilerini oluşturun
39+
4. Repository'yi private yapın (geçici)
40+
5. History'yi temizleyin (git filter-repo)

0 commit comments

Comments
 (0)