aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/glossary/origin/index.html
diff options
context:
space:
mode:
authorFlorian Dieminger <me@fiji-flo.de>2021-02-11 18:27:17 +0100
committerGitHub <noreply@github.com>2021-02-11 18:27:17 +0100
commitad7f998115dd568832332484debf1f1b16b0c905 (patch)
tree2f3a9137e20731b7f6880fe5adb31fa439215d7d /files/pt-br/glossary/origin/index.html
parent7a94b4d8daf297eda6df8e5cf933f7ba159bbc76 (diff)
parent1d435be33d8b76cd7b06cd06996c19d74f83cfd4 (diff)
downloadtranslated-content-ad7f998115dd568832332484debf1f1b16b0c905.tar.gz
translated-content-ad7f998115dd568832332484debf1f1b16b0c905.tar.bz2
translated-content-ad7f998115dd568832332484debf1f1b16b0c905.zip
Merge pull request #41 from fiji-flo/unslugging-pt-br
Unslugging pt br
Diffstat (limited to 'files/pt-br/glossary/origin/index.html')
-rw-r--r--files/pt-br/glossary/origin/index.html84
1 files changed, 84 insertions, 0 deletions
diff --git a/files/pt-br/glossary/origin/index.html b/files/pt-br/glossary/origin/index.html
new file mode 100644
index 0000000000..b8dedcea0a
--- /dev/null
+++ b/files/pt-br/glossary/origin/index.html
@@ -0,0 +1,84 @@
+---
+title: Origem
+slug: Glossary/Origin
+tags:
+ - Glossary
+ - Glossário
+ - Origem
+ - Security
+ - Segurança
+ - WebMechanics
+ - origin
+translation_of: Glossary/Origin
+original_slug: Glossario/Origem
+---
+<p>O conteúdo de <strong>origem</strong> é definido pelo <em>esquema</em> (protocolo), <em>host</em> (domínio), e <em>porta</em> da {{Glossary("URL")}} usada para acessá-lo. Dois objetos tem a mesma origem somente quando o esquema, host, e porta batem.</p>
+
+<p>Algumas operações são restritas para conteúdos de mesma origem, e essa restrição pode ser ultrapassada usando {{Glossary("CORS")}}.</p>
+
+<h2 id="Exemplos_de_mesma_origem">Exemplos de mesma origem</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <td style="width: 50%;"><code>http://example.com/app1/index.html</code><br>
+ <code>http://example.com/app2/index.html</code></td>
+ <td style="width: 50%;">Mesma origem pois possuem o mesmo esquema (<code>http</code>) e mesmo host (<code>example.com</code>)</td>
+ </tr>
+ <tr>
+ <td style="width: 50%;"><code>http://Example.com:80</code><br>
+ <code>http://example.com</code></td>
+ <td style="width: 50%;">Mesma origem pois o servidor entrega conteúdo HTTP através da porta 80 por padrão.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Exemplos_de_origens_diferentes">Exemplos de origens diferentes</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <td style="width: 50%;"><code>http://example.com/app1</code><br>
+ <code>https://example.com/app2</code></td>
+ <td>Esquemas diferentes</td>
+ </tr>
+ <tr>
+ <td style="width: 50%;"><code>http://example.com</code><br>
+ <code>http://www.example.com</code><br>
+ <code>http://myapp.example.com</code></td>
+ <td style="width: 50%;">Hosts diferentes</td>
+ </tr>
+ <tr>
+ <td style="width: 50%;"><code>http://example.com</code><br>
+ <code>http://example.com:8080</code></td>
+ <td style="width: 50%;">Portas diferentes</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Especificações">Especificações</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Especificação</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comentário</th>
+ </tr>
+ </thead>
+ <thead>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', '#origin', 'origin')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td></td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Aprenda_mais">Aprenda mais</h2>
+
+<p>Veja <a href="/en-US/docs/Web/Security/Same-origin_policy">Same-origin policy</a> para mais informações.</p>
+
+<div>{{QuickLinksWithSubpages("/en-US/docs/Glossary")}}</div>