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
Security Patterns 2012
Search
Mike Wiesner
November 08, 2012
Programming
58
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Security Patterns 2012
Mike Wiesner
November 08, 2012
More Decks by Mike Wiesner
See All by Mike Wiesner
Transaktionen in Java
mikewiesner
0
100
Introduction to Spring Security 3/3.1
mikewiesner
0
140
Other Decks in Programming
See All in Programming
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
330
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
220
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
320
Railsバージョンを4倍にした話
optim
0
930
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
180
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
210
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
1
160
Inertia Rails: The One-Person Framework with React & Friends
skryukov
0
380
オーケストレーション記述言語 Katari
yukikurage
0
220
LLM 101
dalinaum
0
470
AmebaブログはKMPから卒業します
kmars0605
0
320
ActionController meets Protocol Buffers
sorah
1
780
Featured
See All Featured
From π to Pie charts
rasagy
1
440
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
620
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Side Projects
sachag
456
43k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Thoughts on Productivity
jonyablonski
76
5.4k
It's Worth the Effort
3n
188
29k
Building an army of robots
kneath
307
47k
Practical Orchestrator
shlominoach
192
12k
Navigating Weather and Climate Data
rabernat
0
580
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
Transcript
Security Patterns mehr als nur Authentifizierung und Autorisierung Mike Wiesner
[email protected]
None
Application Security?
Enterprise Java = Spring Spring + Security = Spring Security
Authentication Authorization
Fertig?
• Injection • Cross-Site Scripting (XSS) • Broken Authentication and
Session Management • Insecure Direct Object References • Cross-Site Request Forgery (CSRF) • Security Misconfiguration • Insecure Cryptographic Storage • Failure to Restrict URL Access • Insufficient Transport Layer Protection • Unvalidated Redirects and Forwards OWASP Top Ten
Security ist ein Prozess
select * from users where user = 'user' and password
= '' or '1' = '1' Login BBI Webserver Client Database ' or '1' = '1 user SQL Injection
XML Processing
fromFile newOrderXml download box downloadSecured boxSecured
Alle noch wach?
Demo Time!
Input Validation
JSR-303: Bean Validation public class Address { @NotNull @Length(max=30) private
String addressline1; @Length(max=30) private String addressline2; }
Trust Zones
None
OWASP Top Ten • Injection • Cross-Site Scripting (XSS) •
Broken Authentication and Session Management • Insecure Direct Object References • Cross-Site Request Forgery (CSRF) • Security Misconfiguration • Insecure Cryptographic Storage • Failure to Restrict URL Access • Insufficient Transport Layer Protection • Unvalidated Redirects and Forwards
Demo Time!
Security Misconfiguration • Eingesetzte Frameworks kennen • Eingesetze Frameworks dokumentieren
• Prozess bei Security Bugs in Frameworks • Frameworks “verstecken”
OWASP Top Ten • Injection • Cross-Site Scripting (XSS) •
Broken Authentication and Session Management • Insecure Direct Object References • Cross-Site Request Forgery (CSRF) • Security Misconfiguration • Insecure Cryptographic Storage • Failure to Restrict URL Access • Insufficient Transport Layer Protection • Unvalidated Redirects and Forwards
Fertig?
Encoding Problems Internet Tomcat Browser File- System ../ %C0%AE%C0%AE%C0%AF
Defense in Depth
Fazit • Application Security ist ein Prozess • Jeder Entwickler
muss die Grundlagen kennen • Darf nicht die Innovation stoppen • Frameworks können dabei helfen, • aber nicht alle Probleme lösen!
Mike Wiesner
[email protected]
http://bit.ly/SECPATTERN12