{"id":42705,"date":"2023-10-05T16:37:04","date_gmt":"2023-10-05T05:37:04","guid":{"rendered":"https:\/\/onesaas.local\/blog\/what-is-basic-authentication\/"},"modified":"2024-03-27T19:51:08","modified_gmt":"2024-03-27T19:51:08","slug":"what-is-basic-authentication","status":"publish","type":"blog","link":"https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/","title":{"rendered":"What is basic authentication?"},"content":{"rendered":"\n<p>Basic authentication, also called &#8220;basic auth,&#8221; is a foundational security mechanism used in computer systems and web applications. Its primary purpose is verifying the identity of users or systems seeking access to resources, enhancing overall system security and website authorisation.<\/p>\n\n\n\n<p>The basic authentication method is straightforward yet essential for businesses. It plays a critical role in securing computer systems and controlling data access, ensuring that only authorised parties can access sensitive resources.<\/p>\n\n\n\n<p>When using this method, users insert an encoded string into the Authorisation header of each request.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">HTTP basic authentication header format.<\/h2>\n\n\n\n<p>Basic authentication credentials are typically sent via HTTP request header, known as the basic auth header. The header format consists of the word &#8220;Basic&#8221; followed by a base64-encoded string of the username and password separated by a colon. Here\u2019s an example:<\/p>\n\n\n\n<p><img decoding=\"async\" width=\"624\" height=\"84\" src=\"https:\/\/lh7-us.googleusercontent.com\/Mssg_CjCgHOfvxBqKSpUcMGPl9mXXQ90Ebk0zJvrcQSa1jiQWG9jwwgd1vov-pVx_fhizLsFgRX29K4_sQy3HtUg5IKp3JvDO6TTUoVnZp5SFEGVuDLdGzFuPvsnSVdHAiVWTQt-L204ZRDiVxCPHog\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Functionality overview.<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Client request:<\/strong> The process begins with a client requesting access to the server.<\/li>\n\n\n\n<li><strong>Server challenge:<\/strong> The server responds with a challenge, requesting authentication.<\/li>\n\n\n\n<li><strong>User credentials:<\/strong> The user or system provides their username and password.<\/li>\n\n\n\n<li><strong>Encoding credentials:<\/strong> The credentials are encoded in base64.<\/li>\n\n\n\n<li><strong>Sending credentials to the server:<\/strong> The client sends the encoded credentials to the server.<\/li>\n\n\n\n<li><strong>Server authentication:<\/strong> The server decodes and verifies the credentials, granting the user access if valid.<\/li>\n<\/ol>\n\n\n\n<p>Basic authentication is a fundamental security layer, ensuring only authorised entities can access resources. It&#8217;s essential for safeguarding sensitive data and enhancing overall system protection, seamlessly meeting requests for basic auth.<\/p>\n\n\n\n<p>Ready to enhance your business&#8217;s security? <a href=\"https:\/\/messagemedia.com\/nz\/contact\/\">Contact Us<\/a>.<\/p>\n","protected":false},"author":2,"featured_media":39021,"menu_order":18,"template":"","meta":{"_acf_changed":false,"popular":false,"coming_soon":false,"link":"","footnotes":""},"blog_category":[127],"class_list":["post-42705","blog","type-blog","status-publish","has-post-thumbnail","hentry","blog_category-developers-nz"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What Is Basic Authentication? | Sinch MessageMedia New Zealand<\/title>\n<meta name=\"description\" content=\"Basic authentication is a method of verifying a user before granting access to a resource or service. It&#039;s like your showing ID at the door. New Zealand\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Is Basic Authentication? | Sinch MessageMedia\" \/>\n<meta property=\"og:description\" content=\"Basic authentication is a method of verifying a user before granting access to a resource or service. It&#039;s like your showing ID at the door.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/\" \/>\n<meta property=\"og:site_name\" content=\"Sinch MessageMedia\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-27T19:51:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/messagemedia.com\/wp-content\/uploads\/2023\/11\/Person-wearing-leather-jacket-and-glasses-using-laptop.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1520\" \/>\n\t<meta property=\"og:image:height\" content=\"820\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/messagemedia.com\\\/nz\\\/blog\\\/what-is-basic-authentication\\\/\",\"url\":\"https:\\\/\\\/messagemedia.com\\\/nz\\\/blog\\\/what-is-basic-authentication\\\/\",\"name\":\"What Is Basic Authentication? | Sinch MessageMedia\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/messagemedia.com\\\/nz\\\/blog\\\/what-is-basic-authentication\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/messagemedia.com\\\/nz\\\/blog\\\/what-is-basic-authentication\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/messagemedia.com\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Person-wearing-leather-jacket-and-glasses-using-laptop.png\",\"datePublished\":\"2023-10-05T05:37:04+00:00\",\"dateModified\":\"2024-03-27T19:51:08+00:00\",\"description\":\"Basic authentication is a method of verifying a user before granting access to a resource or service. It's like your showing ID at the door.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/messagemedia.com\\\/nz\\\/blog\\\/what-is-basic-authentication\\\/#breadcrumb\"},\"inLanguage\":\"en-NZ\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/messagemedia.com\\\/nz\\\/blog\\\/what-is-basic-authentication\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-NZ\",\"@id\":\"https:\\\/\\\/messagemedia.com\\\/nz\\\/blog\\\/what-is-basic-authentication\\\/#primaryimage\",\"url\":\"https:\\\/\\\/messagemedia.com\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Person-wearing-leather-jacket-and-glasses-using-laptop.png\",\"contentUrl\":\"https:\\\/\\\/messagemedia.com\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Person-wearing-leather-jacket-and-glasses-using-laptop.png\",\"width\":1520,\"height\":820},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/messagemedia.com\\\/nz\\\/blog\\\/what-is-basic-authentication\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/messagemedia.com\\\/nz\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/messagemedia.com\\\/us\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"What is basic authentication?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/#website\",\"url\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/\",\"name\":\"Sinch MessageMedia\",\"description\":\"Business SMS &amp; Messaging Platform\",\"publisher\":{\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-NZ\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/#organization\",\"name\":\"Sinch MessageMedia\",\"url\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-NZ\",\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/messagemedia.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/logo-mm-sinch.svg\",\"contentUrl\":\"https:\\\/\\\/messagemedia.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/logo-mm-sinch.svg\",\"width\":1,\"height\":1,\"caption\":\"Sinch MessageMedia\"},\"image\":{\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Is Basic Authentication? | Sinch MessageMedia New Zealand","description":"Basic authentication is a method of verifying a user before granting access to a resource or service. It's like your showing ID at the door. New Zealand","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/","og_locale":"en_US","og_type":"article","og_title":"What Is Basic Authentication? | Sinch MessageMedia","og_description":"Basic authentication is a method of verifying a user before granting access to a resource or service. It's like your showing ID at the door.","og_url":"https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/","og_site_name":"Sinch MessageMedia","article_modified_time":"2024-03-27T19:51:08+00:00","og_image":[{"width":1520,"height":820,"url":"https:\/\/messagemedia.com\/wp-content\/uploads\/2023\/11\/Person-wearing-leather-jacket-and-glasses-using-laptop.png","type":"image\/png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/","url":"https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/","name":"What Is Basic Authentication? | Sinch MessageMedia","isPartOf":{"@id":"https:\/\/messagemedia.com\/au\/#website"},"primaryImageOfPage":{"@id":"https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/#primaryimage"},"image":{"@id":"https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/#primaryimage"},"thumbnailUrl":"https:\/\/messagemedia.com\/wp-content\/uploads\/2023\/11\/Person-wearing-leather-jacket-and-glasses-using-laptop.png","datePublished":"2023-10-05T05:37:04+00:00","dateModified":"2024-03-27T19:51:08+00:00","description":"Basic authentication is a method of verifying a user before granting access to a resource or service. It's like your showing ID at the door.","breadcrumb":{"@id":"https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/#breadcrumb"},"inLanguage":"en-NZ","potentialAction":[{"@type":"ReadAction","target":["https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/"]}]},{"@type":"ImageObject","inLanguage":"en-NZ","@id":"https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/#primaryimage","url":"https:\/\/messagemedia.com\/wp-content\/uploads\/2023\/11\/Person-wearing-leather-jacket-and-glasses-using-laptop.png","contentUrl":"https:\/\/messagemedia.com\/wp-content\/uploads\/2023\/11\/Person-wearing-leather-jacket-and-glasses-using-laptop.png","width":1520,"height":820},{"@type":"BreadcrumbList","@id":"https:\/\/messagemedia.com\/nz\/blog\/what-is-basic-authentication\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/messagemedia.com\/nz\/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https:\/\/messagemedia.com\/us\/blog\/"},{"@type":"ListItem","position":3,"name":"What is basic authentication?"}]},{"@type":"WebSite","@id":"https:\/\/messagemedia.com\/au\/#website","url":"https:\/\/messagemedia.com\/au\/","name":"Sinch MessageMedia","description":"Business SMS &amp; Messaging Platform","publisher":{"@id":"https:\/\/messagemedia.com\/au\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/messagemedia.com\/au\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-NZ"},{"@type":"Organization","@id":"https:\/\/messagemedia.com\/au\/#organization","name":"Sinch MessageMedia","url":"https:\/\/messagemedia.com\/au\/","logo":{"@type":"ImageObject","inLanguage":"en-NZ","@id":"https:\/\/messagemedia.com\/au\/#\/schema\/logo\/image\/","url":"https:\/\/messagemedia.com\/wp-content\/uploads\/2024\/03\/logo-mm-sinch.svg","contentUrl":"https:\/\/messagemedia.com\/wp-content\/uploads\/2024\/03\/logo-mm-sinch.svg","width":1,"height":1,"caption":"Sinch MessageMedia"},"image":{"@id":"https:\/\/messagemedia.com\/au\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/messagemedia.com\/nz\/wp-json\/wp\/v2\/blog\/42705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/messagemedia.com\/nz\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/messagemedia.com\/nz\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/messagemedia.com\/nz\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":0,"href":"https:\/\/messagemedia.com\/nz\/wp-json\/wp\/v2\/blog\/42705\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/messagemedia.com\/nz\/wp-json\/wp\/v2\/media\/39021"}],"wp:attachment":[{"href":"https:\/\/messagemedia.com\/nz\/wp-json\/wp\/v2\/media?parent=42705"}],"wp:term":[{"taxonomy":"blog_category","embeddable":true,"href":"https:\/\/messagemedia.com\/nz\/wp-json\/wp\/v2\/blog_category?post=42705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}