From 68fc8e96a9629e73469ed457abd955e548ec670c Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 14:49:58 +0100 Subject: unslug pt-br: move --- files/pt-br/glossary/origin/index.html | 83 ++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 files/pt-br/glossary/origin/index.html (limited to 'files/pt-br/glossary/origin/index.html') diff --git a/files/pt-br/glossary/origin/index.html b/files/pt-br/glossary/origin/index.html new file mode 100644 index 0000000000..f1aae2640b --- /dev/null +++ b/files/pt-br/glossary/origin/index.html @@ -0,0 +1,83 @@ +--- +title: Origem +slug: Glossario/Origem +tags: + - Glossary + - Glossário + - Origem + - Security + - Segurança + - WebMechanics + - origin +translation_of: Glossary/Origin +--- +

O conteúdo de origem é definido pelo esquema (protocolo), host (domínio), e porta da {{Glossary("URL")}} usada para acessá-lo. Dois objetos tem a mesma origem somente quando o esquema, host, e porta batem.

+ +

Algumas operações são restritas para conteúdos de mesma origem, e essa restrição pode ser ultrapassada usando {{Glossary("CORS")}}.

+ +

Exemplos de mesma origem

+ + + + + + + + + + + + +
http://example.com/app1/index.html
+ http://example.com/app2/index.html
Mesma origem pois possuem o mesmo esquema (http) e mesmo host (example.com)
http://Example.com:80
+ http://example.com
Mesma origem pois o servidor entrega conteúdo HTTP através da porta 80 por padrão.
+ +

Exemplos de origens diferentes

+ + + + + + + + + + + + + + + + +
http://example.com/app1
+ https://example.com/app2
Esquemas diferentes
http://example.com
+ http://www.example.com
+ http://myapp.example.com
Hosts diferentes
http://example.com
+ http://example.com:8080
Portas diferentes
+ +

Especificações

+ + + + + + + + + + + + + + + + + + +
EspecificaçãoStatusComentário
{{SpecName('HTML WHATWG', '#origin', 'origin')}}{{Spec2('HTML WHATWG')}}
+ +

Aprenda mais

+ +

Veja Same-origin policy para mais informações.

+ +
{{QuickLinksWithSubpages("/en-US/docs/Glossary")}}
-- cgit v1.2.3-54-g00ecf