aboutsummaryrefslogtreecommitdiff
path: root/files/it/web/http/headers/authorization/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/it/web/http/headers/authorization/index.html')
-rw-r--r--files/it/web/http/headers/authorization/index.html88
1 files changed, 0 insertions, 88 deletions
diff --git a/files/it/web/http/headers/authorization/index.html b/files/it/web/http/headers/authorization/index.html
deleted file mode 100644
index 0b732b40a2..0000000000
--- a/files/it/web/http/headers/authorization/index.html
+++ /dev/null
@@ -1,88 +0,0 @@
----
-title: Authorization
-slug: Web/HTTP/Headers/Authorization
-tags:
- - Riferimenti
-translation_of: Web/HTTP/Headers/Authorization
----
-<div>{{HTTPSidebar}}</div>
-
-<p>La richiesta header HTTP <strong><code>Authorization</code></strong> contiene le credenziali per autenticare un utente con il server, solitamente dopo che il server ha risposto con {{HTTPStatus("401")}} <code>Unauthorized</code> status e con un header {{HTTPHeader("WWW-Authenticate")}} .</p>
-
-<table class="properties">
- <tbody>
- <tr>
- <th scope="row">Tipo Header</th>
- <td>{{Glossary("richiesta header")}}</td>
- </tr>
- <tr>
- <th scope="row">{{Glossary("Header name proibito")}}</th>
- <td>no</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Sintassi">Sintassi</h2>
-
-<pre class="syntaxbox">Authorization: &lt;tipo&gt; &lt;credenziali&gt;</pre>
-
-<h2 id="Direttive">Direttive</h2>
-
-<dl>
- <dt>&lt;tipo&gt;</dt>
- <dd><a href="/en-US/docs/Web/HTTP/Authentication#Authentication_schemes">Tipo di autenticazione</a>. Un tipo comune è <a href="/en-US/docs/Web/HTTP/Authentication#Basic_authentication_scheme">"Basic"</a>. Altri tipi sono:
- <ul>
- <li><a href="http://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml">IANA registry of Authentication schemes</a></li>
- <li><a href="http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html">Authentification for AWS servers (<code>AWS4-HMAC-SHA256</code>)</a></li>
- </ul>
- </dd>
- <dt>&lt;credenziali&gt;</dt>
- <dd>Se viene usato il tipo di autenticazione "Basic" le credenziali sono formate in questo modo:
- <ul>
- <li>Lo username e la password sono combinate con il simbolo dei due punti (<code>aladdin:opensesame</code>).</li>
- <li>La stringa risultante è codificata in <a href="/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding">base64</a> (<code>YWxhZGRpbjpvcGVuc2VzYW1l</code>).</li>
- </ul>
-
- <div class="note">
- <p><strong>Note</strong>: La codifica Base64 non significa che venga effettuato un hash o una cifratura! Questo metodo è sicuro tanto quanto mandare le credenziali in chiaro (base64 è un codifica reversibile). Preferibilmente usa la Basic Authentication assieme al protocollo HTTPS.</p>
- </div>
- </dd>
-</dl>
-
-<h2 id="Esempi">Esempi</h2>
-
-<pre>Authorization: Basic YWxhZGRpbjpvcGVuc2VzYW1l
-</pre>
-
-<p>Guarda anche<a href="/en-US/docs/Web/HTTP/Authentication"> HTTP authentication</a> per esempi su come configurare i server Apache o nginx con password per proteggere i tuoi siti con l'autenticazione HTTP.</p>
-
-<h2 id="Specifiche">Specifiche</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Title</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{RFC("7235", "Authorization", "4.2")}}</td>
- <td>HTTP/1.1: Authentication</td>
- </tr>
- <tr>
- <td>{{RFC("7617")}}</td>
- <td>The 'Basic' HTTP Authentication Scheme</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Vedi_anche">Vedi anche</h2>
-
-<ul>
- <li><a href="/en-US/docs/Web/HTTP/Authentication">HTTP authentication</a></li>
- <li>{{HTTPHeader("WWW-Authenticate")}}</li>
- <li>{{HTTPHeader("Proxy-Authorization")}}</li>
- <li>{{HTTPHeader("Proxy-Authenticate")}}</li>
- <li>{{HTTPStatus("401")}}, {{HTTPStatus("403")}}, {{HTTPStatus("407")}}</li>
-</ul>