HTTP vs
HTTP (Hyper-Text Transfer Protocol) yog daim ntawv thov theem raws tu qauv rau kev faib, sib koom tes, cov ntaub ntawv hypermedia. Nws tau txhais nyob rau hauv RFC 2616 (Thov rau Cov Lus Qhia). Qhov tseem ceeb ntawm HTTP yog qhov kev sib tham ntawm cov ntaub ntawv hloov chaw. Cov piv txwv ntawm HTTP cov kev pab cuam yog kev sib txuas lus hauv web server thiab Domain Name Service Communication.
Nyob rau hauv daim ntawv thov theem kawg kom xaus cov ntaub ntawv kev sib txuas lus ib qho kawg ua raws li server thiab lwm qhov kawg ua raws li tus neeg siv khoom. Txhawm rau sib txuas lus rau tus neeg siv khoom siv yuav tsum paub tus IP chaw nyob thiab tus lej chaw nres nkoj ntawm server. IP chaw nyob pab kom ncav cuag tus neeg rau zaub mov thiab tus lej chaw nres nkoj tsuas yog txhais cov kev pabcuam uas tus neeg siv khoom tab tom nrhiav.(Nyob rau hauv cov ntsiab lus technical nws txhais tau tias yog lub qhov (socket).
Ib yam no hauv HTTP; tsuas yog coj lub web server ua piv txwv, hauv cov qauv no, lub vev xaib server yog daim ntawv thov software khiav ntawm lub hardware server thiab tus neeg siv khoom yog tus neeg siv lub browser. Daim ntawv thov web server tab tom mloog chaw nres nkoj 80 kom txais HTTP kev sib txuas. Yog li qhov chaw nres nkoj 80 no txhais tau tias yog qhov chaw nres nkoj
HTTPS kuj zoo ib yam li HTTP tab sis 'S' sawv cev rau Kev Nyab Xeeb. Hauv HTTP cov ntaub ntawv raug xa mus raws li nws yog hu ua cov ntawv dawb. Txhua tus tuaj yeem nyeem ntawm nws txoj kev ntawm server thiab tus neeg siv khoom. Tab sis hauv HTTPS tsis muaj leej twg tuaj yeem nyeem cov ntaub ntawv ntawm server thiab tus neeg siv khoom, uas feem ntau yog koj lub vev xaib browser thiab lub vev xaib server.
Ntxiv, kev siv TLS (Txheej Txheem Kev Ruaj Ntseg) lossis SSL (Secure Socket Layer) tsim qhov kawg kom xaus qhov encrypted rau cov ntaub ntawv xa mus. Encrypted tunnel txhais tau tias, cov ntaub ntawv kev sib txuas lus ntawm cov neeg rau zaub mov thiab cov neeg siv khoom raug kaw thiab cov neeg rau zaub mov thiab cov neeg siv tsuas tuaj yeem nyeem cov kev sib txuas lus.
Hauv qhov no, tus neeg siv khoom, uas yog koj lub vev xaib browser hauv peb qhov piv txwv, sib txuas lus nrog lub vev xaib server ntawm chaw nres nkoj tus lej 443. Hauv kev siv nyiaj hauv tuam txhab feem ntau, cov neeg siv cov ntaub ntawv sib pauv hloov pauv siv
In Summary:
(1) HTTP xa cov ntaub ntawv ib txwm nyob qhov twg raws li HTTPS xa cov ntaub ntawv kaw lossis encrypted
(2) HTTP yog rau cov ntawv thov ib txwm thiab HTTPS feem ntau yog rau kev lag luam lossis kev ruaj ntseg daim ntawv thov
(3) HTTP siv chaw nres nkoj 80 qhov twg raws li HTTPS siv chaw nres nkoj 443
(4) HTTP yog txhais hauv RFC 2616 thiab HTTPS tau txhais hauv RFC 2817 (Txhim kho rau TLS Hauv HTTP / 1.1)