Web Security - Basics, SOP, Sessions Flashcards
(87 cards)
Define
Uniform Resource Identifier (URI)
Web Security
Identifies a resource (string)
Define
Scheme
Web Security
Protocol and framework
Components of Uniform Resource Identifier (URI)
Web Security
- Scheme
- Authority
- Path
- Query
Define
Authority
Web Security
Qualifying name (typically DNS host server or IP address)
Define
Path
Web Security
Pathname consisting of “/” separated strings
Define
Query
Web Security
Application-specific information
Define
Uniform Resource Locator (URL)
Web Security
The identifier that contains information on how to locate a existing/available resource
Define
Uniform Resource Name (URN)
Web Security
Identifies an entity regardless of availability/existence
Define
Hypertext Markup Language (HTML)
Web Security
A language that uses tags and attributes to display a webpage
Define
Javascript
Web Security
Powerful script to manipulate client-side data and provides object support
Why is Javascript suitable for HTML?
Javascript is weakly and dynamically typed
Define
HTML Frames
Web Security
The tag that allows for multiple separate views/pages associated with separate URLS on the same page
Directly visiting a page will lead to which frame?
Web Security
Main frame
What does the parent frame do?
Web Security
Specify its own style and the placement of the child frame within itself
Define
Hypertext Transfer Protocol (HTTP)
Web Security
An application-layer protocol to transfer information between web client and server (typically port 80)
What does a client do during HTTP?
Web Security
Opens a connection and sends requests
What does a server do during HTTP?
Web Security
Accept client’s connection and sends replies as a response to the requests
HTTP Request Headers specify
Web Security
- Method
- Resource
- Protocol version
HTTP Methods
Web Security
- GET()
- HEAD()
- POST()
- PUT()
Define
HTTP Method: GET()
Web Security
Reads data from the URL
Define
HTTP Method: HEAD()
Web Security
Fetches information about the data resource from the HTTP header
Define
HTTP Method: POST()
Web Security
Submits “data” and stores data as value in a variable
Define
HTTP Method: PUT()
Web Security
Uploads data to a stored variable under a specific resource
What specifies a resource?
Web Security
An absolute URI or relative path