JSONP, Promises, Security




CS174

Chris Pollett

Nov. 23, 2020

Outline

JSONP

Promises

Attacking Web-sites

XSS

Mitigations

CSRF

Mitigations

Quiz

Which of the following statements is true?

  1. You cannot set the innerHTML property of a p tag in Javascript.
  2. You can define a new XML tag using the command <!ENTITY ...
  3. REST is a technique for writing web services.

Inclusion Attacks

More on Inclusion Attacks

Mitigations

SQL Injection Attacks and Prevention

Click-Jacking

Mitigations

target="_blank" Attack

Mitigations

HTTPS and the Secure Socket Layer

HTTPS: How it works

Configuring Apache for SSL

Creating a self-signed certificate

Using Openssl as a Client