2011년 4월 18일 월요일

IS :: Security Problems in Computing (Ch1)


1. What does “secure” means?
 1) protecting valuables - HW, SW, data

2. Objectives
 1) understanding security problems
 2) understanding methods available to deal with such problems

3. Terms
 1) Vulnerability: weakness in a system
 2) Threat: circumstances that has the potential for violation of security
 3) Risk: possibility[probability] that a threat results in a loss
 4) Control: mechanism[countermeasure] that removes vulnerability
 5) Attack: perpetrating conduct for a human to exploit a vulnerability
 6) Harm: damage occurred when a threat is realized
 7) Example
    water flooding = Threat
    crack = Vulnerability
    finger = Control
    height = Risk

4. What is “computer Security”?
 : many many various opinions…

5. Basic Security Components (CIA)
 1) Confidentiality: prevention of unauthorized disclosure of information (VISIBILITY)
 2) Integrity: prevention of unauthorized modification of information (MODIFY)
 3) Availability: prevention of unauthorized withholding of information (ACCESS)

6. Security Attacks
 1) Interruption: interrupt data transmission, attack on \A, DDoS
 2) Interception: intercept data passively, attack on \C, Snipping
 3) Modification: modify original data, attack on \I, BOF
 4) Fabrication: fabricate certain data, attack on \CIA, Spoofing
 - Passive Attack: difficult to detect, easy to prevent
 - Active Attack: possible to detect, difficult to prevent

7. Attack Methods
 1) Physical Access Attack: vandalism
 2) Dialog Attack: eavesdropping(도청)
 3) Penetration Attack: DoS, Malware, Virus, Worm
 4) Social Engineering: password theft

8. MOM (necessary condition to attack)
 1) Method: skill, knowledge, tool
 2) Opportunity: time, access
 3) Motive: reason - attractive, easy, anonymity

9. Defense (Control)
 1) way: prevent, deter, deflect, detect
 2) SW control: Access limitation in OS, DB
 3) HW control: Smart Card
 4) Secure Policy: frequent change of passwords
 5) Physical control: limited access to machine rooms
 6) Social Engineering Defense: training, punishment
 7) Dialog Attack Defense: Cryptography
 - Multiple Controls: Layered approach to secure

2011년 4월 13일 수요일

OPIC 결과

비록 남들에겐 하찮은 등급일지라도
일단 SK 인턴지원을 위한 조건이 만족되었다는 점에서
난 만족한다.

오늘은 기분이 좋구나.
안드로이드 프로그래밍도 밤샐 것 같지만 재밌을 거 같다.

2011년 4월 11일 월요일

2011년 4월 9일 토요일

갱신하기 (Renewal)

갑작스레 될대로 되라지하면서 OPIc을 신청했다.
그리고 오늘... sample test를 쳐보고 급당황하여 취소를 눌러보려했지만...
이미 취소기간은 끝나고...

" ... 접수기간 이후는 취소 및 환불 불가합니다. "

12시간 정도밖에 안 남았는데 잘 시간을 빼면 그것도 장난이 아니구나.
속이 타들어간다.
답답하구나..

할 수 있는 만큼 공부해야지. 그게 최선이니까.
비록 준비도 안하고 8만원을 날려버리는 거라 할지라도
그로부터 얻는 게 있을지도 모르잖아. 아니면 이런 상황을 왜 주셨겠냐.
그리고 어쩌면 최저등급은 나올지도 모르잖아. (운이 좋으면..)
스스로 좌절하지 말고 할 수 있는 최선을 다하자.

2011년 4월 3일 일요일

(Java) Double.isNaN(double d)

link: http://mwultong.blogspot.com/2006/10/java-nan-infinity.html

Java에서 sqrt(-1)을 하면 어떤 값이 return될까?
컴파일 에러가 나지 않을까 싶었으나 생각지도 못하게 NaN이 return되었다.
이건 또 뭔가 -_-
exception에 대해서 String으로 출력을 해주나 싶었는데
알고보니 double type의 정의된 value더라.

NaN = Not A Number 란 의미.

한가지 또 이해안되는 점은

if(sqrt(-1) == Double.NaN) 이라고 condition을 따져주면 안되더라.
if(Double.isNaN(sqrt(-1)) 이라고 Method를 써서 해야만 한다더군.

아마도 내 생각에는 Double.NaN 이라는 것이 attribute라서
(단지 access일 뿐이지만) 직접적인 접근을 피하려고 private으로 선언했고
그에 대한 접근을 위해 Double.isNaN()이라는 public method를 정의하지 않았나싶다.

Ankh SVN :: Sharing Codes

link: http://ankhsvn.open.collab.net

주호형과 AI term project를 하면서 src code를 공유하고자 시작.
AI외에도 OOP android project나 IS simple wireshark project에도 적용해야 할듯.

UML Class Diagram

link & reference:
http://youngjinoh.tistory.com/entry/%EC%83%9D%EC%84%B1%EC%9E%90Constructor-%EC%99%80-GCGabarge-Collection

기본적으로 attribute & method range는 다음과 같은 notation을 따른다.
+   public
~   package
#   protected
-    private

추가적으로 생성자는 return type이 없음.