coding conventions & secure coding

Click here to load reader

Upload: donghyun-seo

Post on 15-Aug-2015

79 views

Category:

Technology


12 download

TRANSCRIPT

  1. 1. : SMILECAT : 2 0 1 5 - 0 6 - 1 5 : E G A O N E K O . G I T H U B . I O Coding Conventions
  2. 2. 1. Coding Conventions
  3. 3. Coding Conventions? Coding conventions are a set of guidelines for a specific programming language that recommend programming style, practices and methods for each aspect of a piece program written in this language. . int a = 3 a 3 . : Wekipedia Coding conventions
  4. 4. Coding conventions ? PEP-8(Python) Yes: x = 1 y = 2 long_variable = 3 No: x = 1 y = 2 long_variable = 3
  5. 5. Coding conventions ? No: x = 1 y = 2 long_variable = 3 = . long_variable , . More than one space around an assignment (or other) operator to align it with another.
  6. 6. Coding Conventions ,
  7. 7. JAVA CODING CONVENTIONS 2. Coding Conventions
  8. 8. Java Coding Conventions :
  9. 9. Java Coding Conventions :
  10. 10. Java Coding Conventions :
  11. 11. Java Coding Conventions Sun Coding Conventions http://www.oracle.com/technetwork/java/codeconvtoc-136057.html http://blog.naver.com/hyowong/80000631451 http://blog.naver.com/jeany4u/20003876157 http://g.oswego.edu/dl/html/javaCodingStd.html http://www.chimu.com/publications/javaStandards/part0003.html http://www.ambysoft.com/javaCodingStandards.html
  12. 12. NHN CODING CONVENTIONS 2. Coding Conventions
  13. 13. NHN Coding Conventions - , , , , . , , . . , . . , . . , . , . NHN Coding Convention, p12
  14. 14. NHN Coding Conventions , , , , HTML , , DTD , HTML HTML
  15. 15. NHN Coding Conventions CSS , , , , , , , z-index, , CSS , http://nuli.navercorp.com/sharing/fe/coding
  16. 16. 3. Secure Coding
  17. 17. Secure Coding? -> -> () -> -> . () , . : wisedog
  18. 18. Secure Coding? 50% , 75% Gartner 92% NIST $30,000 , $5,000 NIST 100 IBM : wisedog
  19. 19. Secure Coding? . : wisedog
  20. 20. 4. Secure Coding
  21. 21. 2012 5 12 40 . 2012 12 40 . 2014 1 20 , 2015 1 . : wisedog
  22. 22. Java C SQL (SQL Injection) (Cross Site Script) 43 : wisedog
  23. 23. () : wisedog
  24. 24. http://www.mogaha.go.kr/frt/bbs/type001/commonS electBoardArticle.do?bbsId=BBSMSTR_0000000000 12&nttId=42152
  25. 25. thank you