[Mac] MacOS에서 Homebrew 설치/ M1칩/ MacPro/ MacAir
·
🎸
MacOS에서 Homebrew 설치/ M1칩/ MacPro/ MacAir1. 터미널 실행1) 키보드에서 command + space나 F4 클릭하여 spotlight 실행 2) terminal 검색2. Homebrew 접속 1) 사이트 접속하여 스크립트 복사/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"https://brew.sh HomebrewThe Missing Package Manager for macOS (or Linux).brew.sh 2) 터미널에 붙여넣기3. Password 입력Checking for 'sudo' access (which may request your p..
[Network Security] Firewall
·
💻/네트워크
2022.12.03.Sat. 수정 Firewall What are Firewalls? Firewall(방화벽) V3, 알약 - 방화벽 제공 -> Host firewall network 전체 방화벽: Network firewall => 단순 firewall (문맥상만 구분) Motivation 신뢰X 외부 네트워크 접근/공격으로부터 내부를 보호 공격에 대해 각 호스트를 업그레이드/교체하기 시스템 전체의 기본적인 방어 제공 내부 보안 ↑ -> 시설 교체/ 시스템 업그레이드 but 비용 ↑ -> 방화벽 => 저비용 고효율 solution 로깅 ~> 보안 관리, 추적 등 용이 Definitions 3가지 설계 목표(-> 1번만 만족시켜도 ok) A collection of compo..
[Network Security] Attacks on the TCP protocol
·
💻/네트워크
Attacks on the TCP protocol TCP client and server programming Recap: TCP Client Program Create a socket specify the type of communication. TCP -> SOCK_STREAM/ UDP -> SOCK_DATAGRAM Inititae the TCP connection Send data Recap: TCP Sercer Program 1. 소켓 생성 2. 주소 bind App needs to register a port number on its host computer. the packet arrives at the host -> the OS knows which App is the receiver bas..
[Network Security] Sniffing and Spoofing Part 1
·
💻/네트워크
Sniffing and Spoofing Part1 Network Basics Revisited Network Hardware Hubs(=(multi-port) repeater): A hub is generally a box with multiple RJ-45 ports No more than a repeating device that operates on the physical layer ex. if com 포트 1 of a 4-prot hub -data-> com 포트2, the hubs sends those pacekts to prots 2,3, and 4 => hubs broadcast data to every port, and each non-destination computer discards ..
[Network Security] DNS and DNS attack
·
💻/네트워크
9. DNS and DNS attack DNS Hierarchy, Zones, and Servers DNS Domain Hierarchy Domain namespace is organized in a hierarchical tree-like structure Each node is called a domain OR subdomain when referencing to parent The root of the domain is called ROOT, denoted as '.' Below ROOT, we have Top-Level Domain(TLD)_ex. In www.example.com, the TLD is .com. The next level of domain hierarchy is second-le..
[스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술] Section 3. 회원 관리 예제 - 벡앤드 개발
·
BE/Spring | SpringBoot
Section 3. 회원 관리 예제 - 벡앤드 개발비즈니스 요구사항 정리데이터: 회원ID, 이름기능: 회원 등록, 조회아직 데이터 저장소 선정 X (가상 시나리오)일반적인 웹 애플리케이션 계층구조컨트롤러: 웹 MVC의 컨트롤러 역할서비스: 핵심 비즈니스 로직구현(ex. 회원은 중복 가입 불가)리포지토리: 데이터베이스에 접근, 도메인 객체를 DB에 저장하고 관리도메인: 비즈니스 도메인 객체 (ex. 회원, 주문, 쿠폰 등 주로 데이터베이스에 저장하고 관리)클래스 의존관계MemberService -> [interface] MemberRepository 아직 데이터 저장소 선정 X -> 우선 인터페이스로 구현 클래스 변경할 수 있게 설계데이터 저장소: RDB, NoSQL 등 다양한 저장소 고민중개발 진행 ->..
kimmeoww