Which HTTP header is used by the CORS (Cross-origin resource sharing) standard to control access to resources on a server?
Which of the following attributes is NOT used to secure the cookie?
Salt is a cryptographically secure random string that is added to a password before it is hashed. In this context, what is the primary objective of salting?
In the context of the following JWT token, which of the following statement is true?
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ey
JUYW1I1joiU2vjbB3ZiNo_mn0vNWT4G1-
ATqOTmo7rm70VI12WCdkMI_S1_bPg_G8
Which of the following HTTP response header prevents the client from caching the HTTP response in the most secure manner?
Which of the following is considered as a safe password?
An application’s forget password functionality is described below:
The user enters their email address and receives a message on the web page:
“If the email exists, we will email you a link to reset the password”
The user also receives an email saying:
“Please use the link below to create a new password:”
http://example.com/reset_password?userId=5298
Which of the following is true?
In the context of NoSQL injection, which of the following is correct?
Statement A: NoSQL databases provide looser consistency restrictions than traditional SQL databases. By requiring fewer relational constraints and consistency checks, NoSQL databases often offer performance and scaling benefits. Yet these databases are still potentially vulnerable to injection attacks, even if they aren’t using the traditional SQL syntax.
Statement B: NoSQL database calls are written in the application’s programming language, a custom API call, or formatted according to a common convention (such as XML, JSON, LINQ, etc).