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
Security Patterns 2012
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Mike Wiesner
November 08, 2012
Programming
57
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
97
Introduction to Spring Security 3/3.1
mikewiesner
0
140
Other Decks in Programming
See All in Programming
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
3
1.3k
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
560
生成AIで帳票OCRが「簡単に」作れる時代になった?
kon_shou
0
1.2k
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
730
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
400
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
220
Press start. Python's next generation.
willingc
PRO
3
250
AIの中の人になってみる
htkym
0
140
30年振りにコンパイラの定数整数除算を改善した
herumi
9
4.3k
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
240
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
34
21k
Oxlintはいいぞ(続)
yug1224
1
480
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
970
Building AI with AI
inesmontani
PRO
1
1.2k
The SEO identity crisis: Don't let AI make you average
varn
0
540
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
The SEO Collaboration Effect
kristinabergwall1
1
530
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
670
How to make the Groovebox
asonas
2
2.4k
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