Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Intro WWDC ’18 Session: Automatic Strong Passwo...
Search
Kishikawa Katsumi
June 22, 2018
Programming
1
1.9k
Intro WWDC ’18 Session: Automatic Strong Passwords and Security Code AutoFill
Intro WWDC ’18 Session:
Automatic Strong Passwords and Security Code AutoFill
Kishikawa Katsumi
June 22, 2018
Tweet
Share
More Decks by Kishikawa Katsumi
See All by Kishikawa Katsumi
iOSDC 2024 SMBファイル共有をSwiftで実装する
kishikawakatsumi
1
120
Enhancing Applications with Accessibility API
kishikawakatsumi
3
2.9k
Mastering SwiftSyntax
kishikawakatsumi
3
5k
My SwiftData Review
kishikawakatsumi
7
1.3k
Swift Expression Macros: a practical introduction
kishikawakatsumi
3
1.8k
Xcode Cloudの評価
kishikawakatsumi
2
1.2k
Regular expressions basics/正規表現の基本
kishikawakatsumi
7
700
家のいろいろな数値を計測する
kishikawakatsumi
4
2.1k
GitHub Actionsでテストの結果をわかりやすく表示する
kishikawakatsumi
1
920
Other Decks in Programming
See All in Programming
私のEbitengineの第一歩
qt_luigi
0
440
What is Parser
yui_knk
9
4.1k
GoのIteratorに詳しくなってしまう
inatonix
1
200
unique パッケージから学ぶ interning と weak reference @ Asakusa.go#3
karamaru
2
740
月間4.5億回再生を超える大規模サービス TVer iOSアプリのリアーキテクチャ戦略 - iOSDC2024
techtver
PRO
1
800
dotfiles について話したい #湘なんか
stefafafan
2
300
デザインシステムとコンポーネント指向によるフロントエンド開発プロセスの革新 / Innovation in Frontend Development Processes through Design Systems and Component-Oriented Architecture
nrslib
8
5.3k
2024 컴포즈 정원사
jisungbin
0
150
Amazon Neptuneで始める初めてのグラフDB ー グラフDBを使う意味を考える ー
satoshi256kbyte
2
250
Understand the mechanism! Let's do screenshots tests of Compose Previews with various variations / 仕組みから理解する!Composeプレビューを様々なバリエーションでスクリーンショットテストしよう
sumio
3
490
Hono・Prisma・AWSでGeoなAPI開発
nokonoko1203
5
670
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
130
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
42
5.2k
Designing Experiences People Love
moore
138
23k
How to train your dragon (web standard)
notwaldorf
85
5.6k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Documentation Writing (for coders)
carmenintech
65
4.3k
Creatively Recalculating Your Daily Design Routine
revolveconf
215
12k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
36
1.7k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
166
48k
BBQ
matthewcrist
83
9.1k
The Language of Interfaces
destraynor
153
23k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
363
22k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
326
21k
Transcript
Intro WWDC ’18 Session: Automatic Strong Passwords and Security Code
AutoFill Kishikawa Katsumi
Automatic Strong Passwords
None
Security Code AutoFill
None
Review: Password Autofill (iOS 11)
Associated Domains
None
None
if #available(iOS 11.0, *) { emailField.textContentType = .username passwordField.textContentType =
.password }
None
None
None
None
Try: Automatic Strong Passwords
None
None
None
None
None
None
None
https://developer.apple.com/password-rules/
None
None
ݱ࣌Ͱ͜ͷ߲ɺ· ͩଘࡏ͠ͳ͍Α͏Ͱ͢ɻ
passwordField.passwordRules = UITextInputPasswordRules(descriptor: “allowed: digit; minlength: 1; maxlength: 4;")
None
ύεϫʔυΛอଘ͢Δʹ Password Saving Compatibility checklist Tag fields with content types
Remove login fields from view hierarchy Clear login fields only after removing from hierarchy Check that AutoFill saved to the correct domain May no longer need SecAddSharedWebCredential()
ύεϫʔυΛอଘ͢Δʹ • ࣗಈͰอଘ͞ΕΔͱݴͬͯΔͬΆ͍Μ͚ͩͲɺ؍ͨ͠ ݶΓͰɺը໘ΛҠಈͯ͠ɺϏϡʔ͔ΒςΩετϑΟʔ ϧυΛআͯ͠อଘ͞ΕΔ༷ࢠͳ͔ͬͨɻΑ͘Θ͔Β ͳ͍ɻ
Try: Security Code AutoFill
None
None
None
None
NOTE: ؔͳ͍SMSʹԠ͠·͢ɻ
None
None
None
Failure cases
Failure cases InstagramͷSMS ӳޠͷͷͩͱਖ਼͘͠ิ͞ΕΔ͕ɺ ຊޠͷͷิ͞Εͳ͔ͬͨɻ ηογϣϯͰݴٴ͞Ε͍ͯΔ͕ɺ ͏·͘ಈ͔ͳ͍ύλʔϯ͕͋ͬͨΒ όάϨϙʔτ͠·͠ΐ͏ɻ ॻ͍ͨ௨ΓɺҙͷSMSͰಈ࡞͢ΔͷͰ ύλʔϯͷݕূҙ֎ͱ؆୯Ͱ͢ɻ
ͨͩ͠ɺσόΠεͷݴޠઃఆͳͲͰ ݁Ռ͕มΘͬͯΔΑ͏ʹݟ͑ΔͷͰɺ ͦͷลΓཁௐࠪɻ
Summary • Web (Safari) ͰΘΕ͍ͯͨύεϫʔυͷࣗಈੜʢ& อଘʣiCloud KeychainʹΑΔ ࣗಈิΛΞϓϦͰ͑ΔΑ͏ʹ͢ΔΈʢiOS 11Ͱ෦తʹ࣮ݱͰ͖͍ͯͨʣ •
Ϣʔβʔ͕σεΫτοϓͰSafariΛ͍ͬͯͳͯ͘ɺiPhoneͰMobile SafariΛͬͯ ͍ΔՄೳੑߴ͍ͷͰɺiPhoneͷWebͰ̍ͰϩάΠϯ͍ͯ͠Εิ༗ޮʹͳΔ Մೳੑ͕ߴ͍ • ରԠͷίετখ͍͞ͷͰɺରԠ͓ͯ͘͠ͱΛ͛Δͣ • ࣮ࡍͷڍಈΑ͘؍ɾςετ͢Δඞཁ͋Γɻ͓͔͠ͳڍಈΛݟ͚ͭͨΒใࠂΛɻ • 2 Factor Authͷิศར͕ͩɺSMSʹΑΔίʔυૹ৴ࢦఠ͞Ε͍ͯΔͷͰɺ ϓϩδΣΫτʹΑͬͯݕ౼ͷ༨͕େ͍ʹ͋Δɻ • ΧελϜͨ͠ύεϫʔυϧʔϧͷςετͷखஈ͕ͳͦ͞͏ʁ
Resources • [204] Automatic Strong Passwords and Security Code AutoFill
• [721] Implementing AutoFill Credential Provider Extensions • Password Rules Validation Tool https://developer.apple.com/password-rules/