Deck 9: Managing State Information and Security

Full screen (f)
exit full mode
Question
You can use special characters in your cookies if you use ____.

A) encoding
B) Unicode
C) strings
D) URIs
Use Space or
up arrow
down arrow
to flip the card.
Question
You use the ____ property of the Document  object to create cookies in name-value pairs.

A) query
B) state
C) hidden
D) cookie
Question
You create hidden form fields with the ____ element.

A) option
B) select
C) input
D) hidden
Question
To create a query string, you add a ____ immediately after a URL, followed by the query string.

A) &
B) !
C) ?
D) %
Question
The built-in ____ function is used in JavaScript for encoding the individual parts of a URI.

A) encodeCookie()
B) encodeURLComponent()
C) encodeURIComponent()
D) encodeComponent()
Question
The ____ attribute of the cookie property determines how long a cookie can remain on a client system before it is deleted.

A) path
B) expires
C) secure
D) domain
Question
The ____ attribute determines the availability of a cookie to other web pages on a server.

A) domain
B) secure
C) path
D) expires
Question
You can use a(n)____ to pass information, such as search criteria, from one web page to another.

A) text area
B) query string
C) label
D) image button
Question
The ____ property of the Location object contains a URL's query or search parameters.

A) query
B) arguments
C) parameters
D) search
Question
____ cookies remain available only for the current browser session.

A) Persistent
B) Temporary
C) Local
D) Global
Question
____ cookies remain available beyond the current browser session and are stored in a text file on a client computer.

A) Persistent
B) Global
C) Local
D) Temporary
Question
A window, tab, or frame can view and modify the elements and  properties of a document displayed in any other window, tab, or frame.
Question
HTTP was originally designed to be ____, which means that web browsers stored no persistent data about a visit to a website.

A) stateless
B) stateful
C) state-aware
D) state-active
Question
Cookies are stored on a user's computer as plain text files.
Question
For a web page to use the information in a query string, your JavaScript program must first parse the string.
Question
One way to preserve information following a user's visit to a web page is to append a query string to the end of a URL.
Question
You separate individual name-value pairs within a query string using ____.

A) %
B) &
C) $
D) ?
Question
The most  widespread way on the web today of storing state information on a user's computer is using ____.

A) cookies
B) scripts
C) hidden form fields
D) query strings
Question
The cookie property is created with a required ____ attribute.

A) value
B) path
C) name
D) expires
Question
The Web Storage API is supported by all browsers in use on the web today.
Question
__________ is a newer specification than cookies for storing state information on a user's computer.
Question
The ____ property of the Document object changes the origin of a document to its root domain name.

A) root
B) domain
C) environment
D) path
Question
Match between columns
Allows cookies to be shared across a server
secure coding
Allows cookies to be shared across a server
toUTCString()
Allows cookies to be shared across a server
hidden form field
Allows cookies to be shared across a server
SSL
Allows cookies to be shared across a server
name attribute
Allows cookies to be shared across a server
path attribute
Allows cookies to be shared across a server
query string
Allows cookies to be shared across a server
encodeURIComponent()
Allows cookies to be shared across a server
same origin policy
Allows cookies to be shared across a server
localStorage
The only required parameter of the cookie property
secure coding
The only required parameter of the cookie property
toUTCString()
The only required parameter of the cookie property
hidden form field
The only required parameter of the cookie property
SSL
The only required parameter of the cookie property
name attribute
The only required parameter of the cookie property
path attribute
The only required parameter of the cookie property
query string
The only required parameter of the cookie property
encodeURIComponent()
The only required parameter of the cookie property
same origin policy
The only required parameter of the cookie property
localStorage
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
secure coding
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
toUTCString()
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
hidden form field
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
SSL
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
name attribute
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
path attribute
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
query string
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
encodeURIComponent()
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
same origin policy
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
localStorage
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
secure coding
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
toUTCString()
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
hidden form field
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
SSL
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
name attribute
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
path attribute
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
query string
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
encodeURIComponent()
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
same origin policy
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
localStorage
Encrypts data and transfers it across a secure connection
secure coding
Encrypts data and transfers it across a secure connection
toUTCString()
Encrypts data and transfers it across a secure connection
hidden form field
Encrypts data and transfers it across a secure connection
SSL
Encrypts data and transfers it across a secure connection
name attribute
Encrypts data and transfers it across a secure connection
path attribute
Encrypts data and transfers it across a secure connection
query string
Encrypts data and transfers it across a secure connection
encodeURIComponent()
Encrypts data and transfers it across a secure connection
same origin policy
Encrypts data and transfers it across a secure connection
localStorage
Converts the Date object to a string, formatting it in Coordinated Universal Time
secure coding
Converts the Date object to a string, formatting it in Coordinated Universal Time
toUTCString()
Converts the Date object to a string, formatting it in Coordinated Universal Time
hidden form field
Converts the Date object to a string, formatting it in Coordinated Universal Time
SSL
Converts the Date object to a string, formatting it in Coordinated Universal Time
name attribute
Converts the Date object to a string, formatting it in Coordinated Universal Time
path attribute
Converts the Date object to a string, formatting it in Coordinated Universal Time
query string
Converts the Date object to a string, formatting it in Coordinated Universal Time
encodeURIComponent()
Converts the Date object to a string, formatting it in Coordinated Universal Time
same origin policy
Converts the Date object to a string, formatting it in Coordinated Universal Time
localStorage
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
secure coding
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
toUTCString()
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
hidden form field
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
SSL
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
name attribute
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
path attribute
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
query string
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
encodeURIComponent()
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
same origin policy
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
localStorage
Also known as defensive coding
secure coding
Also known as defensive coding
toUTCString()
Also known as defensive coding
hidden form field
Also known as defensive coding
SSL
Also known as defensive coding
name attribute
Also known as defensive coding
path attribute
Also known as defensive coding
query string
Also known as defensive coding
encodeURIComponent()
Also known as defensive coding
same origin policy
Also known as defensive coding
localStorage
Consists of a single text string containing one or more pieces of information
secure coding
Consists of a single text string containing one or more pieces of information
toUTCString()
Consists of a single text string containing one or more pieces of information
hidden form field
Consists of a single text string containing one or more pieces of information
SSL
Consists of a single text string containing one or more pieces of information
name attribute
Consists of a single text string containing one or more pieces of information
path attribute
Consists of a single text string containing one or more pieces of information
query string
Consists of a single text string containing one or more pieces of information
encodeURIComponent()
Consists of a single text string containing one or more pieces of information
same origin policy
Consists of a single text string containing one or more pieces of information
localStorage
Storage that remains until you run code to delete it
secure coding
Storage that remains until you run code to delete it
toUTCString()
Storage that remains until you run code to delete it
hidden form field
Storage that remains until you run code to delete it
SSL
Storage that remains until you run code to delete it
name attribute
Storage that remains until you run code to delete it
path attribute
Storage that remains until you run code to delete it
query string
Storage that remains until you run code to delete it
encodeURIComponent()
Storage that remains until you run code to delete it
same origin policy
Storage that remains until you run code to delete it
localStorage
Question
Information about individual visits to a website is called __________ information.
Question
What are the security areas of most concern to JavaScript programmers?
Question
Provide one reason for using the Web Storage API today, and one reason not to use it.
Question
What steps do you need to take to use special characters in your cookies?
Question
What are some of the reasons for maintaining state information?
Question
Describe the advantages and disadvantages of the original stateless design of the web.
Question
__________ are small pieces of information about a user that are stored in text files on a user's computer.
Question
To delete a cookie, you change the ____ property.

A) domain
B) expires
C) path
D) secure
Question
To use a cookie or other text  string encoded with the encodeURIComponent()function, you must first decode it with  the __________  function .
Question
Describe how to extract all the contents of a query string except for the question mark.
Question
What limitations on the use of cookies are described in the cookie specification?
Question
Why should you delete persistent cookies that your program does not need?
Question
To extract the contents of a query string except for the question  mark, you use the __________ method.
Question
____ refers to the writing of code in such a way that minimizes any intentional or accidental security issues.

A) Secure coding
B) Bulletproofing
C) Seal coding
D) Strong coding
Question
The ____ attribute is used for sharing cookies across multiple servers in the same domain.

A) expires
B) domain
C) path
D) secure
Question
The ____ attribute indicates that a cookie can only be transmitted across a secure Internet connection using HTTPS or another security protocol.

A) domain
B) expires
C) path
D) secure
Question
Describe how to convert the individual pieces of information in a query string into array elements.
Question
Explain how to delete a cookie.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/41
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 9: Managing State Information and Security
1
You can use special characters in your cookies if you use ____.

A) encoding
B) Unicode
C) strings
D) URIs
A
2
You use the ____ property of the Document  object to create cookies in name-value pairs.

A) query
B) state
C) hidden
D) cookie
D
3
You create hidden form fields with the ____ element.

A) option
B) select
C) input
D) hidden
C
4
To create a query string, you add a ____ immediately after a URL, followed by the query string.

A) &
B) !
C) ?
D) %
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
5
The built-in ____ function is used in JavaScript for encoding the individual parts of a URI.

A) encodeCookie()
B) encodeURLComponent()
C) encodeURIComponent()
D) encodeComponent()
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
6
The ____ attribute of the cookie property determines how long a cookie can remain on a client system before it is deleted.

A) path
B) expires
C) secure
D) domain
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
7
The ____ attribute determines the availability of a cookie to other web pages on a server.

A) domain
B) secure
C) path
D) expires
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
8
You can use a(n)____ to pass information, such as search criteria, from one web page to another.

A) text area
B) query string
C) label
D) image button
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
9
The ____ property of the Location object contains a URL's query or search parameters.

A) query
B) arguments
C) parameters
D) search
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
10
____ cookies remain available only for the current browser session.

A) Persistent
B) Temporary
C) Local
D) Global
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
11
____ cookies remain available beyond the current browser session and are stored in a text file on a client computer.

A) Persistent
B) Global
C) Local
D) Temporary
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
12
A window, tab, or frame can view and modify the elements and  properties of a document displayed in any other window, tab, or frame.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
13
HTTP was originally designed to be ____, which means that web browsers stored no persistent data about a visit to a website.

A) stateless
B) stateful
C) state-aware
D) state-active
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
14
Cookies are stored on a user's computer as plain text files.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
15
For a web page to use the information in a query string, your JavaScript program must first parse the string.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
16
One way to preserve information following a user's visit to a web page is to append a query string to the end of a URL.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
17
You separate individual name-value pairs within a query string using ____.

A) %
B) &
C) $
D) ?
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
18
The most  widespread way on the web today of storing state information on a user's computer is using ____.

A) cookies
B) scripts
C) hidden form fields
D) query strings
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
19
The cookie property is created with a required ____ attribute.

A) value
B) path
C) name
D) expires
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
20
The Web Storage API is supported by all browsers in use on the web today.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
21
__________ is a newer specification than cookies for storing state information on a user's computer.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
22
The ____ property of the Document object changes the origin of a document to its root domain name.

A) root
B) domain
C) environment
D) path
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
23
Match between columns
Allows cookies to be shared across a server
secure coding
Allows cookies to be shared across a server
toUTCString()
Allows cookies to be shared across a server
hidden form field
Allows cookies to be shared across a server
SSL
Allows cookies to be shared across a server
name attribute
Allows cookies to be shared across a server
path attribute
Allows cookies to be shared across a server
query string
Allows cookies to be shared across a server
encodeURIComponent()
Allows cookies to be shared across a server
same origin policy
Allows cookies to be shared across a server
localStorage
The only required parameter of the cookie property
secure coding
The only required parameter of the cookie property
toUTCString()
The only required parameter of the cookie property
hidden form field
The only required parameter of the cookie property
SSL
The only required parameter of the cookie property
name attribute
The only required parameter of the cookie property
path attribute
The only required parameter of the cookie property
query string
The only required parameter of the cookie property
encodeURIComponent()
The only required parameter of the cookie property
same origin policy
The only required parameter of the cookie property
localStorage
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
secure coding
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
toUTCString()
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
hidden form field
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
SSL
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
name attribute
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
path attribute
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
query string
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
encodeURIComponent()
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
same origin policy
Converts special characters in the individual parts of a URI to their corresponding hexadecimal ASCII value, preceded by a percent sign
localStorage
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
secure coding
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
toUTCString()
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
hidden form field
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
SSL
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
name attribute
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
path attribute
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
query string
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
encodeURIComponent()
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
same origin policy
Restricts how JavaScript code in one window or frame accesses a web page in another window or frame on a client computer
localStorage
Encrypts data and transfers it across a secure connection
secure coding
Encrypts data and transfers it across a secure connection
toUTCString()
Encrypts data and transfers it across a secure connection
hidden form field
Encrypts data and transfers it across a secure connection
SSL
Encrypts data and transfers it across a secure connection
name attribute
Encrypts data and transfers it across a secure connection
path attribute
Encrypts data and transfers it across a secure connection
query string
Encrypts data and transfers it across a secure connection
encodeURIComponent()
Encrypts data and transfers it across a secure connection
same origin policy
Encrypts data and transfers it across a secure connection
localStorage
Converts the Date object to a string, formatting it in Coordinated Universal Time
secure coding
Converts the Date object to a string, formatting it in Coordinated Universal Time
toUTCString()
Converts the Date object to a string, formatting it in Coordinated Universal Time
hidden form field
Converts the Date object to a string, formatting it in Coordinated Universal Time
SSL
Converts the Date object to a string, formatting it in Coordinated Universal Time
name attribute
Converts the Date object to a string, formatting it in Coordinated Universal Time
path attribute
Converts the Date object to a string, formatting it in Coordinated Universal Time
query string
Converts the Date object to a string, formatting it in Coordinated Universal Time
encodeURIComponent()
Converts the Date object to a string, formatting it in Coordinated Universal Time
same origin policy
Converts the Date object to a string, formatting it in Coordinated Universal Time
localStorage
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
secure coding
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
toUTCString()
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
hidden form field
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
SSL
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
name attribute
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
path attribute
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
query string
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
encodeURIComponent()
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
same origin policy
Temporarily stores data that needs to be sent to a server along with the rest of a form, but that a user does not need to see
localStorage
Also known as defensive coding
secure coding
Also known as defensive coding
toUTCString()
Also known as defensive coding
hidden form field
Also known as defensive coding
SSL
Also known as defensive coding
name attribute
Also known as defensive coding
path attribute
Also known as defensive coding
query string
Also known as defensive coding
encodeURIComponent()
Also known as defensive coding
same origin policy
Also known as defensive coding
localStorage
Consists of a single text string containing one or more pieces of information
secure coding
Consists of a single text string containing one or more pieces of information
toUTCString()
Consists of a single text string containing one or more pieces of information
hidden form field
Consists of a single text string containing one or more pieces of information
SSL
Consists of a single text string containing one or more pieces of information
name attribute
Consists of a single text string containing one or more pieces of information
path attribute
Consists of a single text string containing one or more pieces of information
query string
Consists of a single text string containing one or more pieces of information
encodeURIComponent()
Consists of a single text string containing one or more pieces of information
same origin policy
Consists of a single text string containing one or more pieces of information
localStorage
Storage that remains until you run code to delete it
secure coding
Storage that remains until you run code to delete it
toUTCString()
Storage that remains until you run code to delete it
hidden form field
Storage that remains until you run code to delete it
SSL
Storage that remains until you run code to delete it
name attribute
Storage that remains until you run code to delete it
path attribute
Storage that remains until you run code to delete it
query string
Storage that remains until you run code to delete it
encodeURIComponent()
Storage that remains until you run code to delete it
same origin policy
Storage that remains until you run code to delete it
localStorage
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
24
Information about individual visits to a website is called __________ information.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
25
What are the security areas of most concern to JavaScript programmers?
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
26
Provide one reason for using the Web Storage API today, and one reason not to use it.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
27
What steps do you need to take to use special characters in your cookies?
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
28
What are some of the reasons for maintaining state information?
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
29
Describe the advantages and disadvantages of the original stateless design of the web.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
30
__________ are small pieces of information about a user that are stored in text files on a user's computer.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
31
To delete a cookie, you change the ____ property.

A) domain
B) expires
C) path
D) secure
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
32
To use a cookie or other text  string encoded with the encodeURIComponent()function, you must first decode it with  the __________  function .
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
33
Describe how to extract all the contents of a query string except for the question mark.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
34
What limitations on the use of cookies are described in the cookie specification?
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
35
Why should you delete persistent cookies that your program does not need?
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
36
To extract the contents of a query string except for the question  mark, you use the __________ method.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
37
____ refers to the writing of code in such a way that minimizes any intentional or accidental security issues.

A) Secure coding
B) Bulletproofing
C) Seal coding
D) Strong coding
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
38
The ____ attribute is used for sharing cookies across multiple servers in the same domain.

A) expires
B) domain
C) path
D) secure
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
39
The ____ attribute indicates that a cookie can only be transmitted across a secure Internet connection using HTTPS or another security protocol.

A) domain
B) expires
C) path
D) secure
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
40
Describe how to convert the individual pieces of information in a query string into array elements.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
41
Explain how to delete a cookie.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 41 flashcards in this deck.