Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
20250416_CB_Kansai
Search
Takuya Yonezawa
April 16, 2025
Technology
130
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20250416_CB_Kansai
Takuya Yonezawa
April 16, 2025
More Decks by Takuya Yonezawa
See All by Takuya Yonezawa
20260516_SecJAWS_Days
takuyay0ne
5
930
20260422_Midosuji_Tech
takuyay0ne
2
100
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
640
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
760
20260204_Midosuji_Tech
takuyay0ne
1
260
20260129_CB_Kansai
takuyay0ne
1
390
20260126_JAWS_Osaka
takuyay0ne
1
74
こんな時代だからこそ! 想定しておきたいアクセスキー漏洩後のムーブ
takuyay0ne
4
830
セキュリティは全員参加!_JAWSのイベントサイトで脅威モデリングを学んでみよう!
takuyay0ne
0
230
Other Decks in Technology
See All in Technology
品質と信頼性を地続きにする
grimoh
0
220
Deploying a Full-Stack Bun-Native Framework on Cloudflare Workers
7nohe
0
160
アプリログインとWeb認証基盤をつなぐ ASWebAuthenticationSession 作法
shimastripe
1
310
DEFCON34-Write-up_HYCu-MYCu
daikiokazaki
0
160
株式会社シーエーシー エンジニア向け会社紹介資料
cac
0
57k
Sigmaユーザーのための有用リソース一挙公開 & Sigmaで使えるMCP #sigma_ucj /useful-resources-for-sigma-computing-users-and-mcps-with-sigma
shinyaa31
0
230
2026-09-09 【sigma_ucj#1】Sigma を IaC 管理したい! / IaC for Sigma
civitaspo
0
130
コスト最適化の「めんどくさい」を AWS FinOps Agent でチョット楽にする
classmethod_kaz
0
340
アクセスキーこわい やめかたと漏らさない工夫
sassssan68
1
130
Snowflakeで実現する全社横断の顧客の声(VOC)分析・活用基盤@Snowflake World Tour Tokyo 2026
yuto16
0
210
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
4
1.6k
10Xに技術的負債をもたらした「2つの境界の歪み」その構造と解消への営み
10xinc
0
1.4k
Featured
See All Featured
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
930
Producing Creativity
orderedlist
PRO
348
41k
Evolving SEO for Evolving Search Engines
ryanjones
0
290
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
450
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
350
Six Lessons from altMBA
skipperchong
29
4.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
The untapped power of vector embeddings
frankvandijk
2
1.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
A designer walks into a library…
pauljervisheath
211
25k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.3k
Scaling GitHub
holman
464
140k
Transcript
1 © 2024 Japan Digital Design, Inc. Takuya Yonezawa 2025.04.16
違いの分かるエンジニアになろう! 〜 “ぱぴぷぺぽ” と “ぱぴぷぺぽ” 〜 Community Builders Meetup 2025 – Kansai -
2 © 2024 Japan Digital Design, Inc. 米澤 拓也 Software
Engineer Technology & Development Div. 前職ではCCoE、現職ではSoftware Engineer フロント/バックエンドの実装からインフラ構築など何でもやってます JAWS DAYS2025/ JAWS DAYS2024 / PANKRATION2024 の運営(WEB) Fin-JAWSの運営もやってます CBはServerlessで2023年生 好きなAWSサービスは CloudFront、Lambda、CDK プロフィール @CDK Conference 2024 Not Certified
3 © 2025 Japan Digital Design, Inc. 意気込み
4 © 2025 Japan Digital Design, Inc. のスタンプが押されると 私のSlackチャンネルに通報されます ROSA基盤。。無理ぃ。。
5 © 2025 Japan Digital Design, Inc. 〜 本題へ 〜
例えばこんなケース
6 © 2024 Japan Digital Design, Inc. ECS Service S3
(PDF置き場) Presigned URL PDF File ユーザー Presigned URL発行リクエスト ECS経由でPresigned URLを発行し、 ファイル名をキーとして S3にPDFファイルを配置する
7 © 2024 Japan Digital Design, Inc. ECS Service S3
(PDF置き場) Presigned URL PDF File ユーザー 米澤 PDFリスト 手動で起動 input: PDFファイル名 PDFに対していろいろな処理 PDF取得 Presigned URL発行リクエスト ユーザーがアップロードしたPDFファ イル一覧を受領し、手動でSFnを起動 ECS経由でPresigned URLを発行し、 ファイル名をキーとして S3にPDFファイルを配置する
8 © 2025 Japan Digital Design, Inc. ここで変な挙動が起こる
9 © 2024 Japan Digital Design, Inc. ECS Service S3
(PDF置き場) Presigned URL PDF File ユーザー 米澤 PDFリスト PDFに対していろいろな処理 PDF取得 Presigned URL発行リクエスト 404 NoSuchKey 手動で起動 input: PDFファイル名
10 © 2024 Japan Digital Design, Inc. ECS Service S3
(PDF置き場) Presigned URL PDF File ユーザー 米澤 PDFリスト PDFに対していろいろな処理 PDF取得 Presigned URL発行リクエスト 404 NoSuchKey S3確認したら確かにオブジェクトは配 置されている。。なぜ。。?? 手動で起動 input: PDFファイル名
11 © 2025 Japan Digital Design, Inc. 要はこういうこと
12 © 2025 Japan Digital Design, Inc. Ctrl-f で検索しても2件ヒットする
13 © 2025 Japan Digital Design, Inc. ???
14 © 2025 Japan Digital Design, Inc.
15 © 2025 Japan Digital Design, Inc. ファイルアップロードではNFC/NFD問題に気をつけろ!~MacファイルシステムにおけるUnicode正規化の闇~
16 © 2025 Japan Digital Design, Inc. macOS 13.3 VenturaではNFC/NFD問題が再発し、
濁音やアクセント記号が付いたファイルをダブルクリックしてもアプリで開けない不具合があるので注意を。 Apple様でもこの問題を過去度々踏んでいるくらい根深い (Big Sur / Monterey / Ventura)
17 © 2024 Japan Digital Design, Inc. ECS Service S3
(PDF置き場) Presigned URL PDF File ユーザー 米澤 PDFリスト 手動で起動 input: PDFファイル名 PDFに対していろいろな処理 PDF取得 Presigned URL発行リクエスト NFD NFC NFC vs NFD でキー名の不一致
18 © 2025 Japan Digital Design, Inc. ではどうするべきか?
19 © 2024 Japan Digital Design, Inc. ECS Service S3
(PDF置き場) Presigned URL PDF File ユーザー 米澤 PDFリスト 手動で起動 input: PDFファイル名 PDFに対していろいろな処理 PDF取得 Presigned URL発行リクエスト オブジェクト名をNFC正規化した上で Presigned URLを発行する ①日本語名PDFを禁止する ②濁音ファイル名を禁止する (ユーザビリティに影響があるので まあまあ微妙) NFC/NFDの2パターンでオブジェクト 取得を試みる (Try-Except書く必要あるので 微妙かも) NFC
20 © 2025 Japan Digital Design, Inc. まとめ
21 © 2025 Japan Digital Design, Inc. 眼力を鍛えても眼判別は無理なので、 日本語を含む可能性がある場合は正規化しましょう
Thank you. 22 © 2024 Japan Digital Design, Inc.