Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-23133

CURL : Create custom http header for N1QL CURL to allow localhost endpoints to enable/disable access

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 5.0.0
    • query
    • None

    Description

      Add a custom header to all requests sent by N1QL curl :

      For example : X-N1QL-CustomHeader : This request is sent from N1QL CURL.

      (Use standard for custom headers : [*http://stackoverflow.com/questions/3561381/custom-http-headers-naming-conventions*])

       

      Have all the localhost endpoints check when being accessed and manually reject any requests with the above header. For all external endpoints the header is ignored. This will create a dependency on our localhost endpoints to check for this header and actively reject access to N1QL CURL.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ajay.bhullar Ajay Bhullar
              isha Isha Kandaswamy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty