Skip to content

http, https(App Transport Secrutiy Settings) #54

Closed
@MoSonLee

Description

@MoSonLee

http

  • Hyper Text Transfer Protocol의 줄임말
    • 서버와 클라이언트 간에 데이터를 주고 받는 프로토컬
    • 클라이언트와 서버간 통신에서 보안에 별다른 조치가 없음
    • 전송계층의 TCP위에서 작동
  • https
    • 기존 HTTP에서 SSL(Secure Sockets Layer)이라는 보안계층이 전송계층 위로 올라가게 됨
    • 간단히 설명해서 SSL 위에 HTTP를 얹어서 보안을 보장해준다고 생각하면 됨
      • 이 방식을 SSL 암호화통신이라고 함

  • 기본적으로 Xcode는 보안의 문제로 Https url만 받아 올 수 있음

image

- 그러나 info.plist에 있는 App Transport Secrutiy Settings에 있는 Allow Arbitrary Loads를 Yes로 설정하면 Http url도 받아올 수 있음!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions