Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 714 for prevent (0.05 sec)

  1. src/main/java/jcifs/util/AuthenticationRateLimiter.java

    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.smb.SmbException;
    
    /**
     * Rate limiter for authentication attempts to prevent brute force attacks.
     *
     * Features:
     * - Per-account rate limiting
     * - Per-IP rate limiting
     * - Global rate limiting
     * - Exponential backoff for repeated failures
     * - Account lockout after threshold
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/mdo/profiles.mdo

              <association>
                <type>RepositoryPolicy</type>
              </association>
            </field>
          </fields>
          <!-- prevent modello generation of an incorrect equals method. Could be avoided by using <identity/> tags to mark ID as the only identity field -->
          <codeSegments>
            <codeSegment>
              <version>1.0.0</version>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/PathValidator.java

    import java.util.HashSet;
    import java.util.Set;
    import java.util.regex.Pattern;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.smb.SmbException;
    
    /**
     * Path validation utility to prevent directory traversal and other path-based attacks.
     *
     * Features:
     * - Directory traversal prevention
     * - Path normalization
     * - Blacklist/whitelist support
     * - UNC path validation
     * - Special character filtering
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

        assertThat(formEncode(255)).isEqualTo("%C3%BF")
      }
    
      @Throws(IOException::class)
      private fun formEncode(codePoint: Int): String {
        // Wrap the codepoint with regular printable characters to prevent trimming.
        val body =
          FormBody
            .Builder()
            .add("a", String(intArrayOf('b'.code, codePoint, 'c'.code), 0, 3))
            .build()
        val buffer = Buffer()
        body.writeTo(buffer)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

     *
     * See [RFC 7234, 5.2](https://tools.ietf.org/html/rfc7234#section-5.2).
     */
    class CacheControl internal constructor(
      /**
       * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching
       * the response; it only means we have to validate the response with the origin server before
       * returning it. We can do this with a conditional GET.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         * This method searches for 'fess_ds++.xml' configuration files within JAR files
         * in the data store plugin directory and extracts component class names.
         *
         * <p>The method uses secure XML parsing features to prevent XXE attacks and
         * other XML-based vulnerabilities. Component class names are extracted from
         * the 'class' attribute of 'component' elements in the XML files.</p>
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        /**
         * Determine optimal polling interval based on directory activity and failure count
         *
         * Current strategy is based on failure count. In the future, this could be enhanced to consider:
         * - Recent event frequency (successful notifications)
         * - Time since last successful notification
         * - Events per unit time for more adaptive behavior
         *
         * @param handle notification handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        private static final SecurityAuditLogger auditLogger = SecurityAuditLogger.getInstance();
    
        /**
         * Performs constant-time comparison of two char arrays to prevent timing attacks.
         * This method always compares the full length of both arrays, regardless of when
         * differences are found, making the execution time independent of the position
         * of differing characters.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                log.error("Error during file handle finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        /**
         * Emergency cleanup method to prevent resource leaks during finalization
         */
        private void emergencyCloseHandle() {
            try {
                synchronized (this) {
                    // Force close the handle
                    this.open = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  10. src/main/java/jcifs/dcerpc/rpc.java

     * used in DCE/RPC communications including UUID, policy handles, unicode strings, and SIDs.
     */
    @SuppressWarnings("all")
    public class rpc {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private rpc() {
            // Utility class
        }
    
        /**
         * UUID (Universally Unique Identifier) structure for DCE/RPC.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top