HTTP / HTTPS ?

Date:     Updated:

Categories:

Tags: , , ,

โ“ HTTP

ํ…์ŠคํŠธ ๊ธฐ๋ฐ˜์˜ ํ†ต์‹  ๊ทœ์•ฝ์œผ๋กœ ์ธํ„ฐ๋„ท์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์ฃผ๊ณ ๋ฐ›๋Š” ํ”„๋กœํ† ์ฝœ ์ด๋‹ค.

โ— HTTP ๋™์ž‘

ํด๋ผ์ด์–ธํŠธ๊ฐ€ url์ด๋‚˜ ๋‹ค๋ฅธ ๊ฒƒ์„ ํ†ตํ•ด์„œ request๋ฅผ ํ•˜๋ฉด response๋ฅผ ํ•˜๋Š” ํ˜•ํƒœ๋กœ ๋™์ž‘ํ•œ๋‹ค.

  • ์š”์ฒญ : client to server
  • ์‘๋‹ต : server to client

โ— HTTP ํŠน์ง•

  • HTTP ๋ฉ”์„ธ์ง€๋Š” ์„œ๋ฒ„์™€ ํด๋ผ์ด์–ธํŠธ์— ์˜ํ•ด ํ•ด์„์ด ๋œ๋‹ค.
  • TCP / IP๋ฅผ ์ด์šฉํ•˜๋Š” ํ”„๋กœํ† ์ฝœ์ด๋‹ค( HTTP / 3 ๋ถ€ํ„ฐ๋Š” UDP(QUIC))
  • ์—ฐ๊ฒฐ ์ƒํƒœ๋ฅผ ์œ ์ง€์ง€ ์•Š๋Š” ๋น„์—ฐ๊ฒฐ์„ฑ ํ”„๋กœํ† ์ฝœ
    • ๋‹จ์  ํ•ด๊ฒฐ์„ ์œ„ํ•ด cookie๋‚˜ sessioni
  • ๋น„์—ฐ๊ฒฐ์„ฑ ํ”„๋กœํ† ์ฝœ์ด๊ธฐ์— request/response ํ˜•์‹์œผ๋กœ ์ž‘๋™ํ•˜๋Š” ๊ฒƒ!

โ“ HTTPS

ํ•˜์ดํผ ํ…์ŠคํŠธ ์ „์†ก ํ”„๋กœํ† ์ฝœ ๋ณด์•ˆ(Hypertext Transfer Protocol Secure)์˜ ์•ฝ์ž!
์ผ๋ฐ˜ HTTP๋Š” ์ „์†ก ๋•Œ ์•”ํ˜ธํ™”๊ฐ€ ๋˜์ง€ ์•Š๋Š” ๋ฌธ์ œ๊ฐ€ ์žˆ์—ˆ๋Š”๋ฐ, HTTPS๋Š” SSL์„ ์‚ฌ์šฉํ•จ์œผ๋กœ ์ด ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜์˜€์Œ.

โ— ์™œ ์•ˆ์ „ํ• ๊นŒ?

  • SSL ์ธ์ฆ์„œ๊ฐ€ ๊ฐ€์žฅ ํฐ ๋น„์ค‘์„ ์ฐจ์ง€ํ•œ๋‹ค.
  • SSL ์ธ์ฆ์„œ๊ฐ€ ์‚ฌ์šฉ์ž๊ฐ€ ์‚ฌ์ดํŠธ์— ์ œ๊ณตํ•˜๋Š” ์ •๋ณด๋ฅผ ์•”ํ˜ธํ™”ํ•œ๋‹ค.
    • TLS(์ „์†ก๊ณ„์ธต๋ณด์•ˆ)์„ ํ†ตํ•ด์„œ๋„ ์œ ์ง€ํ•˜๊ธฐ๋„ ํ•œ๋‹ค. ๋ฐ์ดํ„ฐ๋ฌด๊ฒฐ์„ฑ์„ ์ œ๊ณตํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์ข‹๋‹ค.

โœ‹ ๊ทธ๋Ÿผ SSL์ด๋ž‘ TLS์˜ ์ฐจ์ด๋Š” ๋ญ์—์š”

  • SSL(Secure Sockets Layer)์€ ๋ณด์•ˆ ์†Œ์ผ“ ๊ณ„์ธต
  • TLS(Transport Layer Security)๋Š” SSL 3.0์„ ๊ธฐ์ดˆ๋กœ ํ•ด์„œ ๋ณด๋‹ค ์•ˆ์ „ํ•˜๊ณ  ์•ˆ์ •์„ฑ์ด ์žˆ๋Š” ๋ชฉ์ ์œผ๋กœ ๊ณ ์•ˆ๋จ.

SSL 3.0์€ 1996๋…„์— ๋ฆด๋ฆฌ์ฆˆ๊ฐ€ ๋˜์—ˆ๋Š”๋ฐ, 1999๋…„์— ํ‘œ์ค€ ๊ทœ์•ฝ์œผ๋กœ ์ •๋ฆฌ๋˜์—ˆ๋‹ค. ์ด ๋•Œ์˜ SSL๋ถ€ํ„ฐ๊ฐ€ TLS๋ผ๊ณ  ๋ถˆ๋ฆฐ๋‹ค

๋ฒ„์ „๋งŒ ๋‹ค๋ฅด๊ณ  ๋ณธ์งˆ์€ ๊ฐ™์œผ๋‚˜, ์‚ฌ์‹ค ๋‘ ๊ทœ์•ฝ์ด ๋™์ผํ•œ ๊ฒƒ์€ ์•„๋‹ˆ๋‹ค. ์ƒํ˜ธ ์šด์šฉ๋˜์ง€ ์•Š๋Š”๋‹ค.

โ— ๋ณด์•ˆ๋ง๊ณ  ์žฅ์ ์€ ์—†๋‚˜์š”?

  • ๋ณด์•ˆ์ƒ๋งŒ ์šฐ์œ„์— ์žˆ๋Š”๊ฒƒ์ด ์•„๋‹ˆ๋ผ, SEO(๊ฒ€์ƒ‰์—”์ง„ ์ตœ์ ํ™”)๋„ ํฐ ํ˜œํƒ์„ ๋ณผ ์ˆ˜ ์žˆ๋‹ค.
  • ๊ตฌ๊ธ€์ด ๊ฐ€์‚ฐ์ ์„ ๋” ์ค€๋‹ค / ์‚ฌ์šฉ์ž๋Š” ์•ˆ์ „ํ•œ ์‚ฌ์ดํŠธ์— ๋” ๋งŽ์ด ๋ฐฉ๋ฌธํ•œ๋‹ค. ๋Š” ๋‹น์—ฐํ•œ ์‚ฌ์‹ค!

Leave a comment