Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Security (0.18 sec)

  1. cmd/object-api-utils.go

    	pr, pw := io.Pipe()
    	// Copy input to compressor
    	opts := compressOpts
    	if encrypted {
    		// The values used for padding are not a security concern,
    		// but we choose pseudo-random numbers instead of just zeros.
    		rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  2. cmd/admin-bucket-handlers.go

    // 2. Replication config - is omitted from import as remote target credentials are not available from exported data for security reasons.
    // 3. lifecycle config - if transition rules are present, tier name needs to have been defined.
    func (a adminAPIHandlers) ImportBucketMetadataHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. cmd/config-current.go

    			Description: "enable cache plugin on MinIO for GET/HEAD requests",
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         config.BrowserSubSys,
    			Description: "manage Browser HTTP specific features, such as Security headers, etc.",
    			Optional:    true,
    		},
    	}
    
    	if globalIsErasure {
    		helpSubSys = append(helpSubSys, config.HelpKV{
    			Key:         config.StorageClassSubSys,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    		if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    			continue
    		}
    
    		if equals(k, xhttp.AmzBucketReplicationStatus) {
    			continue
    		}
    
    		// https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w
    		if equals(k, xhttp.AmzMetaUnencryptedContentLength, xhttp.AmzMetaUnencryptedContentMD5) {
    			continue
    		}
    		meta[k] = v
    	}
    
    	if oi.ContentEncoding != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/common-main.go

    	// This section sets Browser (console) stored config
    	if valueSCP := globalBrowserConfig.GetCSPolicy(); valueSCP != "" {
    		os.Setenv("CONSOLE_SECURE_CONTENT_SECURITY_POLICY", valueSCP)
    	}
    
    	if hstsSeconds := globalBrowserConfig.GetHSTSSeconds(); hstsSeconds > 0 {
    		isubdom := globalBrowserConfig.IsHSTSIncludeSubdomains()
    		isprel := globalBrowserConfig.IsHSTSPreload()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  6. internal/kms/context.go

    			case '\t':
    				dst.WriteByte('t')
    			default:
    				// This encodes bytes < 0x20 except for \t, \n and \r.
    				// If escapeHTML is set, it also escapes <, >, and &
    				// because they can lead to security holes when
    				// user-controlled strings are rendered into JSON
    				// and served to some browsers.
    				dst.WriteString(`u00`)
    				dst.WriteByte(hexTable[b>>4])
    				dst.WriteByte(hexTable[b&0xF])
    			}
    			i++
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    				w.Header().Del(k)
    			}
    			globalForwarder.ServeHTTP(w, r)
    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    // addCustomHeadersMiddleware adds various HTTP(S) response headers.
    // Security Headers enable various security protections behaviors in the client's browser.
    func addCustomHeadersMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		header := w.Header()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. internal/config/browser/help.go

    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         browserCSPPolicy,
    			Description: `set Content-Security-Policy response header value` + defaultHelpPostfix(browserCSPPolicy),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         browserHSTSSeconds,
    			Description: `set Strict-Transport-Security 'max-age' amount of seconds value` + defaultHelpPostfix(browserHSTSSeconds),
    			Optional:    true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. cmd/api-headers.go

    		}
    
    		if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    			// Do not need to send any internal metadata
    			// values to client.
    			continue
    		}
    
    		// https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w
    		if equals(k, xhttp.AmzMetaUnencryptedContentLength, xhttp.AmzMetaUnencryptedContentMD5) {
    			continue
    		}
    
    		var isSet bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
  10. cmd/signature-v4.go

    	}
    	// Verify if sha256 payload query is same.
    	if clntHashedPayload != "" && clntHashedPayload != query.Get(xhttp.AmzContentSha256) {
    		return ErrContentSHA256Mismatch
    	}
    	// Verify if security token is correct.
    	if token != "" && subtle.ConstantTimeCompare([]byte(token), []byte(cred.SessionToken)) != 1 {
    		return ErrInvalidToken
    	}
    
    	// Verify finally if signature is same.
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top