Tag: security
Questions Related to security
-
Unix Codec
-
Windows Codec
-
Unix and Windows Codec
-
Linux Codec
-
Oracle
-
MySQL
-
Both of the above
-
Oracle, MySQL, Sybase, DB2
-
Creates a seal that binds a set of data and includes an expiration timestamp
-
Encodes the data
-
Hashes the data
-
Scrambles the data
-
void setNoCacheHeaders(javax.servlet.http.HttpServletResponse response)
-
void setNoCacheHeaders(javax.servlet.http.HttpServletRequest request)
-
boolean setNoCacheHeader(javax.servlet.http.HttpServletResponse response)
-
void setNoCacheHeaders(javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
-
encryptHiddenField(java.lang.String value)
-
addCSRFToken(final java.lang.String href)
-
verifySecureComm(javax.servlet.http.HttpServletRequest request)
-
setSafeContentType(javax.servlet.http.HttpServletResponse response)
-
Input Validation and OutPut Encoding
-
Authentication and Authorization
-
Data Protection and Cryptography
-
HTTP and Communication Security
-
java.lang.String sign(java.lang.String data, java.lang.String key) throws EncryptionException
-
java.lang.String sign(java.lang.String data, java.lang.String key)
-
java.lang.String sign(java.lang.String data)
-
java.lang.String sign(java.lang.String data) throws SecurityException
-
java.lang.String seal(java.lang.String data,long timestamp) throws SecurityException
-
java.lang.String seal(java.lang.String data,long timestamp) throws EncryptionException
-
java.lang.String seal(java.lang.String data)
-
java.lang.String seal(java.lang.String data) throws EncryptionException
-
"SELECT name FROM users WHERE id = " + com.tcs.sapi.io.ValidationUtil.encodeForOraSQL(validatedUserId);
-
"SELECT name FROM users WHERE id = " + com.tcs.sapi.io.ValidationUtil.encodeForSQL(validatedUserId);
-
"SELECT name FROM users WHERE id = " + com.tcs.sapi.io.ValidationUtil.encodeForSQL( new Codec(), validatedUserId);
-
None of the above
-
Use the com.tcs.sapi.io.ValidationUtil.encodeForOraSQL(String input) method
-
Use PreparedStatement constructs and use the setXXX methods on the PreparedStatement object
-
Use the Java createStatement construct to execute the query
-
Concatenate your SQL string together using dynamic input and create and execute a PreparedStatement object using that query