Intro Flashcards

1
Q

Security is not like, “do this one thing and you are safe”. It’s more like…

A

There’s x layers of protection, we probably can’t do all of them, but we can do the ones most important for our app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Three simple but most important things you can do to protect yourself…

A

Layering a content security policy, sanitization, and certain attributes on a cookie can give you pretty robust coverage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Most of the time when an app was attacked, it wasn’t wide open…

A

it was a tiny edge case that an attacker wedged themselves into and pried the app open.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Tempting to say you’re a FE engineer, it’s just text files on the internet, but…

A

You are the front line of defense for the user. Your work could be the doorway into the back end seasons.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

We assume that users are who they say they are….

A

If they have an auth token or a cookie we believe them. If they get that user session, they can be that user. And if they get your admin session.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Frameworks don’t handle security for you.

A

Even if you use React you’re not safe. You can still fuck yourself with the business logic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The three trade offs of security are…

A

security, user experience, and the complexity of the infrastructure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly