safe sex with third-party apis

34

Upload: smartbear

Post on 11-May-2015

14.655 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Safe Sex with Third-Party APIs
Page 2: Safe Sex with Third-Party APIs

Lorinda BrandonDirector of Solutions Strategy

at SmartBear

@LindyBrandon

Page 3: Safe Sex with Third-Party APIs

APIs are not a new phenomenon.

Page 4: Safe Sex with Third-Party APIs

The API (r)Evolution

This team built

Web

applicatio

ns usin

g APIs

in 1995

Page 5: Safe Sex with Third-Party APIs

Back then, APIs were just a construct. It was just how we

built software.

Page 6: Safe Sex with Third-Party APIs

But now, it’s an entire industry!

Page 7: Safe Sex with Third-Party APIs

The power of APIs now lies in external and global

opportunities.

Page 8: Safe Sex with Third-Party APIs

The true power of APIs

External APIs extend our virtual reach through partners

Often for free!

Page 9: Safe Sex with Third-Party APIs

Public APIs turn our local development teams

into global development teams.

Page 10: Safe Sex with Third-Party APIs

In other words – free, public APIs…

Page 11: Safe Sex with Third-Party APIs

Turn this…

Page 12: Safe Sex with Third-Party APIs

…into this!

Page 13: Safe Sex with Third-Party APIs

Free APIs = Free Love

Page 14: Safe Sex with Third-Party APIs

It’s all about sharing and re-use

Page 15: Safe Sex with Third-Party APIs

But you have to be smart about who you’re sharing with.

Page 16: Safe Sex with Third-Party APIs

Here comes the“Safe Sex”

part

Page 17: Safe Sex with Third-Party APIs

Twitter API

YouTube

DocuSign

FacebookConne

ct

Code responsibly!

Page 18: Safe Sex with Third-Party APIs

Your app is your responsibility, even the parts you didn’t code!

Page 19: Safe Sex with Third-Party APIs

It’s great to innovate.

Page 20: Safe Sex with Third-Party APIs

It’s great to cooperate.

Page 21: Safe Sex with Third-Party APIs

It’s great to collaborate.

Page 22: Safe Sex with Third-Party APIs

But while you’re having fun, you

have to be careful!

Page 23: Safe Sex with Third-Party APIs

Because it’s your app on the line!

Page 24: Safe Sex with Third-Party APIs

No one wants to be that guy.

Page 25: Safe Sex with Third-Party APIs

So, what can you do to protect yourself and others?

Page 26: Safe Sex with Third-Party APIs

There are 8,652 APIs listed on ProgrammableWeb

Including…

• 173 Travel• 182 Music• 320 Mapping

Research Know Your Choices

Page 27: Safe Sex with Third-Party APIs

Defend Define Your Thresholds

• Response times

• Critical functionality needs a Plan B

• Code defensively

Page 28: Safe Sex with Third-Party APIs

Test Make Sure It Works

• Include third party APIs in your test plans

as if it’s your own code

• Add to regression tests

Page 29: Safe Sex with Third-Party APIs

Monitor Find Out First

• Your users are probably on Twitter too

• Be the first to report

• Ensure performance

Page 30: Safe Sex with Third-Party APIs

So what did we learn today?

Page 31: Safe Sex with Third-Party APIs

We all need to start using protection when we’re in the sack with

third-party APIs.

Page 32: Safe Sex with Third-Party APIs

For us, that protection is SoapUI, which allows you to functionally test and

security test your APIs, then use those tests to monitor them as well

Page 34: Safe Sex with Third-Party APIs

Thank you!

#APIStrat

(And be safe)