75
200K+ reasons Why security is a must in it 2 PROFESSIONAL PHP SERVICES

200K+ reasons security is a must

Embed Size (px)

Citation preview

Page 1: 200K+ reasons security is a must

200K+ reasonsWhy security is a must

in it2PROFESSIONAL PHP SERVICES

Page 3: 200K+ reasons security is a must

99K problems

Page 4: 200K+ reasons security is a must

A year later

Page 5: 200K+ reasons security is a must

Today!

Page 6: 200K+ reasons security is a must

Today!

Page 7: 200K+ reasons security is a must

http

s://w

ww.

flick

r.com

/pho

tos/

andy

mag

/934

9743

409

Page 8: 200K+ reasons security is a must

Neverending awareness

http

s://w

ww.

flick

r.com

/pho

tos/

yono

late

ngo/

8338

5975

58

Page 9: 200K+ reasons security is a must

Why bother?

http

s://w

ww.

flick

r.com

/pho

tos/

emag

ic/5

6206

868

Page 10: 200K+ reasons security is a must

In the news…

http

s://w

ww.

flick

r.com

/pho

tos/

3990

8901

@N

06/6

9234

0893

8

Page 11: 200K+ reasons security is a must

In the news…

http

s://w

ww.

flick

r.com

/pho

tos/

3990

8901

@N

06/6

9234

0893

8

Page 12: 200K+ reasons security is a must

Yes, you’re a target!

http

s://w

ww.

flick

r.com

/pho

tos/

jeep

ersm

edia

/145

4605

9371

Page 13: 200K+ reasons security is a must

Email addresses are valuable!

http

s://w

ww.

flick

r.com

/pho

tos/

horia

varla

n/45

1416

4700

Page 14: 200K+ reasons security is a must

One password, many sites!

Page 15: 200K+ reasons security is a must

One password, many sites!

Page 16: 200K+ reasons security is a must

One password, many sites!

Page 17: 200K+ reasons security is a must

One password, many sites!

Page 18: 200K+ reasons security is a must

One password, many sites!

Page 19: 200K+ reasons security is a must

One password, many sites!

abc123

Page 20: 200K+ reasons security is a must

Advice on tools!!!

Password managers!

Page 21: 200K+ reasons security is a must

Advice on tools!!!

Password managers!

Page 22: 200K+ reasons security is a must

Advice on tools!!!

Password managers!

Page 23: 200K+ reasons security is a must

Advice on tools!!!

Password managers!

Page 24: 200K+ reasons security is a must

2-factor authentication

http://www.google.com/landing/2step/

Page 25: 200K+ reasons security is a must

Or just use SMS

http://twillio.com

Page 26: 200K+ reasons security is a must

Who’s after my data?

http

s://w

ww.

flick

r.com

/pho

tos/

teeg

ardi

n/60

9381

0333

Page 27: 200K+ reasons security is a must

Script kiddies

Page 28: 200K+ reasons security is a must

Amateur hacker

http

s://w

ww.

flick

r.com

/pho

tos/

hack

ny/6

2033

0570

6

Page 29: 200K+ reasons security is a must

Business Competition

http

s://w

ww.

flick

r.com

/pho

tos/

hagg

ism

ac/5

0900

2851

3

Page 30: 200K+ reasons security is a must

Professional hacker

http

s://w

ww.

flick

r.com

/pho

tos/

equi

noxe

fr/68

5717

4987

Page 31: 200K+ reasons security is a must

Governments

http

s://w

ww.

flick

r.com

/pho

tos/

defe

ncei

mag

es/7

9856

9559

1

Page 32: 200K+ reasons security is a must

What to do against it?

http

s://w

ww.

flick

r.com

/pho

tos/

drac

hman

n/32

7122

302

Page 33: 200K+ reasons security is a must

Cultural differences

http

s://w

ww.

flick

r.com

/pho

tos/

robd

eman

/239

0666

040

Page 34: 200K+ reasons security is a must

Legal regulations

http

s://w

ww.

flick

r.com

/pho

tos/

puis

ney/

1674

5868

21

Page 35: 200K+ reasons security is a must

Architectural considerations

http

s://w

ww.

flick

r.com

/pho

tos/

nifty

nial

l/127

6892

2813

Page 36: 200K+ reasons security is a must

Restrict physical access

http

s://w

ww.

flick

r.com

/pho

tos/

zapt

hedi

ngba

t/487

1337

20

Page 37: 200K+ reasons security is a must

Secure your network

http

s://w

ww.

flick

r.com

/pho

tos/

9927

9135

@N

05/1

4618

3422

77

Page 38: 200K+ reasons security is a must

Extra care for privacy data

http

s://w

ww.

flick

r.com

/pho

tos/

hyku

/368

9125

57

Page 39: 200K+ reasons security is a must

Use encryption

http

s://w

ww.

flick

r.com

/pho

tos/

ideo

nexu

s/51

7538

3269

Page 40: 200K+ reasons security is a must

Application Lock Down

http

s://w

ww.

flick

r.com

/pho

tos/

sim

on_c

ocks

/453

4589

059

Page 41: 200K+ reasons security is a must

Security Checkpoints

http

s://w

ww.

flick

r.com

/pho

tos/

paul

k/22

1299

2458

Page 42: 200K+ reasons security is a must

Track movements

http

s://w

ww.

flick

r.com

/pho

tos/

timsa

mof

f/362

7307

55

Page 43: 200K+ reasons security is a must

Code considerations

http

s://w

ww.

flick

r.com

/pho

tos/

nyuh

uhuu

/444

3886

636

Page 44: 200K+ reasons security is a must

Security is not an afterthought!

http

s://w

ww.

flick

r.com

/pho

tos/

web

b-za

hn/1

0971

2154

25

Page 45: 200K+ reasons security is a must

Little bobby tables

xkcd.com/327

Page 46: 200K+ reasons security is a must

Sanitise data! Always!!!<?php   $id = $_GET['id'];   // sanitise tainted data $clean_id = filter_var($id, FILTER_SANITIZE_NUMBER_INT); $clean_id = filter_var($clean_id, FILTER_VALIDATE_INT); if (0 < $clean_id) { $stmt = $pdo->prepare( 'SELECT * FROM TABLE WHERE `id` = ?' ); $stmt->bindParam(1, $clean_id, PDO::PARAM_INT); $stmt->execute(); }

Page 47: 200K+ reasons security is a must
Page 48: 200K+ reasons security is a must
Page 49: 200K+ reasons security is a must

Use the right tool for the job

http

s://w

ww.

flick

r.com

/pho

tos/

floria

nric

/726

3382

550

Page 50: 200K+ reasons security is a must
Page 51: 200K+ reasons security is a must
Page 52: 200K+ reasons security is a must
Page 53: 200K+ reasons security is a must

Layered security

http

s://w

ww.

flick

r.com

/pho

tos/

fees

ta/2

7005

7520

1

Page 54: 200K+ reasons security is a must

You know all this, right!

http

s://w

ww.

flick

r.com

/pho

tos/

sara

hrei

do/3

1208

7734

8

Page 55: 200K+ reasons security is a must

Victim of an attack?

http

s://w

ww.

flick

r.com

/pho

tos/

mar

ittol

edo/

8512

2449

45

Page 56: 200K+ reasons security is a must

Know you’ve been hacked!

Page 57: 200K+ reasons security is a must

Inform everyone ASAP!

http

s://w

ww.

flick

r.com

/pho

tos/

blue

robo

t/549

0728

061

Page 58: 200K+ reasons security is a must

Get security advise!

Page 60: 200K+ reasons security is a must

Your turn

http

s://w

ww.

flick

r.com

/pho

tos/

tmab

2003

/427

7896

845

Page 61: 200K+ reasons security is a must

Spread the word

http

s://w

ww.

flick

r.com

/pho

tos/

sune

ko/3

7331

0729

Page 62: 200K+ reasons security is a must

Comment on “bad” practices

http

s://w

ww.

flick

r.com

/pho

tos/

seba

stia

n_be

rgm

ann/

3991

5396

05

Page 63: 200K+ reasons security is a must

Learn about the risks

Page 64: 200K+ reasons security is a must

Learn the basics of hackinghack.me

Page 66: 200K+ reasons security is a must

Continuously unit test!

Page 67: 200K+ reasons security is a must

Other resources…

Page 68: 200K+ reasons security is a must

PHP Security Checker

https://github.com/psecio/parse

Page 69: 200K+ reasons security is a must

Essential PHP Security

Page 70: 200K+ reasons security is a must

Security Checklist

snipe.ly/risk_matrix

Page 71: 200K+ reasons security is a must

http

s://w

ww.

flick

r.com

/pho

tos/

colin

kinn

er/2

2005

0002

4

Page 72: 200K+ reasons security is a must

May the force be with you

Page 73: 200K+ reasons security is a must

Contact us

in it2PROFESSIONAL PHP SERVICES

Michelangelo van Dam [email protected]

www.in2it.be

PHP Consulting - Training - QA

Page 74: 200K+ reasons security is a must

phpcon.euTicket sales start soon!

Page 75: 200K+ reasons security is a must

Thank youHave a great conference

http

://w

ww.

flick

r.com

/pho

tos/

drew

m/3

1918

7251

5