네트워크
-
[Careerthon] 정규화의 필요성과 과정네트워크/CS Study 2023. 11. 15. 11:54
정규화 관계형데이터베이스 데이터 모델의 중복을 최소화하고 일관성과 유연성 확보를 위한 목적으로 데이터를 분해하는 과정이다. 정규화를 통해서 테이블 간의 중복된 데이터를 최소화하고 무결성을 유지하고 DB의 저장용량을 줄일 수 있다. 제1정규화에서 모든 도메인이 원자값으로만 되어 있도록 설계한다. 제2정규화에서 테이블의 모든 컬럼이 완전 함수적 종속을 만족하게 만든다. 제3정규화에서 기본키가 아닌 속성들은 기본키에만 의존하도록 바꾼다 BCNF단계에서 결정자 중 후보키가 아닌 것을 제거한다 이후 다치종속을 제거하는 제4정규형과 조인종속성을 제거하는 제5정규형단계가 있겠다.
-
[Careerthon] 데이터베이스 기초네트워크/CS Study 2023. 11. 15. 11:34
데이터베이스 일정한 규칙, 규약을 통해 구조화되어 저장된 데이터 모음 엔티티 사람, 장소, 물건 등 여러개의 속성을 지닌 명사를 의미함 릴레이션 DB에 정보를 구분하여 저장하는 기본 단위엔티티에 대한 데이터를 릴레이션에 담아서 관리한다 위 이미지와 같이 "회원"이라는 엔티티는 릴레이션이라는 방에 넣어서 DB 안에서 관리된다. 속성 릴레이션에서 관리하는 구체적이며 고유한 이름을 갖는 정보 도메인 릴레이션에서 관리하는 구체적이며 고유한 이름을 갖는 정보 필드와 레코드 키 관계형 데이터베시으에서 테이블 관의 관계를 설정 및 식별하고 테이블 내부의 레코드를 고유하게 식별하는 데 사용되는 속성 테이블 간의 관계 1 대 1 : 참조하는 테이블의 객체와 참조되는 테이블의 객체가 단 하나의 관계를 가지는 것 1 대 N..
-
[Careerthon] HTTPS 동작 방식네트워크/CS Study 2023. 11. 14. 20:47
데이터를 전송하기 위한 기본 프로토콜인 http의 보안버전인 https는 보안에 있어 중요한 데이터를 전송할 때 특히 사용되며 SSL/TLS인증서를 획득하여 통신을 보호한다 사용자가 https 웹사이트에 방문한다 브라우저는 서버의 SSL인증서를 요청하여 신뢰성 검증을 시도한다 서버는 public key를 포함하여 SSL 인증서를 보내준다 인증이 되면 브라우저가 public key를 사용해서 session key가 포함된 메시지를 암호화해서 전송한다 서버는 personal key를 통해서 해독하고 session key를 검색한다 session key를 암호화하고 브라우저에 승인메시지를 전송한다. 이후 브라우저와 서버는 같은 session key를 소유하게 되었으니 안전하게 메시지를 교환한다
-
[Careerthon] 네트워크 주소네트워크/CS Study 2023. 11. 14. 20:39
개요 MAC주소 IP주소 DHCP MAC주소 ( 물리적주소, Physical Address ) 컴퓨터의 네트워크 카드에 할당 되며 48bit 길이의 16진수로 표현됨 네트워크 상에 고유한 값이기에 충돌을 방지하고 효율적인 데이터 전송이 가능하다 컴퓨터와 네트워크 장비들이 통신을 할 때 데이터를 보내고 받는 데 사용된다 물리적인 연결 상에서만 유효하며 다른 네트워크로 데이터를 전송하려면 IP주소와 같은 논리적 주소를 이용해야 한다. 데이터를 송수신할 때 MAC주소를 통해서 패킷을 수신할지 무시할지 판단한다. IP주소 (논리적 주소, Logical Adress) 호스트나 네트워크 장비를 식별하는데 사용되는 프로토콜의 한 종류 인터넷에 접속한 컴퓨터와 라우터에 고유한 IP주소를 할당하고, 그 IP주소를 사용해..