Tag: security

Questions Related to security

  1. LoginException

  2. EnterpriseSecurityException

  3. SecurityException

  4. IntrusionException


Correct Option: C
  1. JavaScript

  2. VBScript

  3. Both of the above

  4. None of the above


Correct Option: C
  1. Oracle

  2. MySQL

  3. Both of the above

  4. Oracle, MySQL, Sybase, DB2


Correct Option: C
  1. Creates a seal that binds a set of data and includes an expiration timestamp

  2. Encodes the data

  3. Hashes the data

  4. Scrambles the data


Correct Option: A
  1. void setNoCacheHeaders(javax.servlet.http.HttpServletResponse response)

  2. void setNoCacheHeaders(javax.servlet.http.HttpServletRequest request)

  3. boolean setNoCacheHeader(javax.servlet.http.HttpServletResponse response)

  4. void setNoCacheHeaders(javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException


Correct Option: A
  1. encryptHiddenField(java.lang.String value)

  2. addCSRFToken(final java.lang.String href)

  3. verifySecureComm(javax.servlet.http.HttpServletRequest request)

  4. setSafeContentType(javax.servlet.http.HttpServletResponse response)


Correct Option: B
  1. Input Validation and OutPut Encoding

  2. Authentication and Authorization

  3. Data Protection and Cryptography

  4. HTTP and Communication Security


Correct Option: A
  1. java.lang.String sign(java.lang.String data, java.lang.String key) throws EncryptionException

  2. java.lang.String sign(java.lang.String data, java.lang.String key)

  3. java.lang.String sign(java.lang.String data)

  4. java.lang.String sign(java.lang.String data) throws SecurityException


Correct Option: D

What is the signature of the seal method in the security API?

  1. java.lang.String seal(java.lang.String data,long timestamp) throws SecurityException

  2. java.lang.String seal(java.lang.String data,long timestamp) throws EncryptionException

  3. java.lang.String seal(java.lang.String data)

  4. java.lang.String seal(java.lang.String data) throws EncryptionException


Correct Option: A