blob: 52671bf0b5d5048df6bd92813f7a4c9947bfef46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Things to memorize
Scripted languages are meant to be easy to write, easy to learn
Often used for "glue" code
"Mobile code" -> crossplatform code OR code that gets sent to the client (ex, js)
Mobile code is interpreted
"Script" is interpreted at runtime
Defenses against malicious code:
* code signing
Api:
http://localhost/path?name=value
-> return json
HTTP: Hypertext transfer protocol
[METHOD][Resrouce][Protocol](cr-lf)
Method: GET, POST, ect.
Resource: /path/to/resource?name=val&name2=val2
Protocol: HTTP/(1.0|1.1|...)
Cookies, and session keys
|