Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda Load Balancer ADC
Results will update as you type.
  • How to Update Your Notification Email Addresses
  • What's New in the Barracuda Load Balancer ADC
  • Deployment
  • Getting Started
  • Barracuda Load Balancer ADC Hardware Features
  • Application Deployment Guides
  • Barracuda Load Balancer ADC - REST API
  • Services
  • Access Control
  • Technical White Papers
  • Traffic Management
  • Logging
  • Global Server Load Balancing
  • Application Security
    • Security Policies
      • Configuring Cloaking
      • Configuring Data Theft Protection
      • Configuring Global ACLs
      • Configuring Parameter Protection
      • Configuring Request Limits
      • Configuring the Action Policy
      • Configuring URL Normalization
      • Configuring URL Protection
      • Securing HTTP Cookies
    • Slow Client Attack Prevention
    • Configuring Website Profiles
    • How to Configure Antivirus Protection for File Uploads and Downloads
    • How to Configure Data Theft Protection
    • How to Configure Brute Force Prevention
    • How to Configure Session Tracking
    • Allow/Deny Rules for Headers and URLs
    • Extended Match Syntax
    • Configuring User Defined Patterns
  • Networking
  • Certificate Management
  • Monitoring
  • High Availability
  • System Administration and Maintenance
  • End of Support and End of Life Information
  • Critical Vulnerabilities

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Securing HTTP Cookies
    Published May 04, 2016

    Securing HTTP Cookies

    May 04, 2016
    Subscribe

    Securing cookies is important because they can include sensitive information such as registration and login credentials. If a cookie can be viewed or changed, the system is vulnerable to attack and any sensitive information can be stolen.

    On the Barracuda Load Balancer ADC, cookie security is transparent to back-end servers. You can configure the Barracuda Load Balancer ADC to either encrypt or sign cookies that are inserted by the server in a response, before it delivers the response to a client. When a subsequent request from the client returns this cookie, the Barracuda Load Balancer ADC intercepts the request and either decrypts the cookie or verifies the signature of the cookie. If the cookie is unaltered, the Barracuda Load Balancer forwards the original cookie to the server. Altered cookies are removed before the Barracuda Load Balancer ADC forwards the request to the server.

    Cookie Signing

    Encryption prevents both viewing and tampering with cookies, so it prevents the client from accessing cookie values. For clients who must access cookie values, you can enable signing. When the Barracuda Load Balancer ADC signs cookies, it forwards two cookies to the client browser–one plain text cookie and one signed cookie. If either of these cookies is altered when they are returned in a subsequent request from the client, signature verification fails and the the Barracuda Load Balancer ADC removes the cookies before forwarding the request to the server.

    Interaction with HTTP Request Header Limits

    When a cookie is encrypted, its length might change but the number of headers in the message remains unchanged. When a cookie is signed, its length can change and one or more headers are appended to the forwarded message.

    Signed or encrypted cookies can exceed any limits that are enabled for the size or number of HTTP request headers (in the SECURITY > Security Policies > Request Limits section). If this occurs, messages can be incorrectly rejected. These rejected messages are logged on the BASIC > Web Firewall Logs page, with the Action of CLOAK.

    Configure Cookie Security

    To configure cookie security for a service:

    1. Go to the SECURITY > Security Policies page.

    2. In the left pane, click the name of the security policy that is assigned to the service.

    3. In the Cookie Security section of the policy settings, review and edit each setting.

    4. After you finish configuring the cookie security settings, click Save Changes.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 17, "requestCorrelationId": "b4397ff4f6974bd5b8b4e5f97eacf502"}