본문 바로가기

Programming268

Improved Persistent Login Cookie Best Practice Charles Miller's article, "Persistent Login Cookie Best Practice,"[1] describes a relatively secure approach to implementing the familiar "Remember Me" option for web sites. In this article, I propose an improvement that retains all the benefits of that approach but also makes it possible to detect when a persistent login cookie has been stolen and used by an attacker.ReviewTo summarize Miller's.. 2014. 7. 21.
ParameterMethodNameResolver ParameterMethodNameResolver는 parameter에 설정된 method를 request 를 처리할 method 를 결정한다.ex> action.do?method=update 요청이 들어오면 method(HttpServletRequest , HttpServletResponse) 메소드를 호출한다.With ParameterMethodNameResolver configured, and define the parameter name thought the “paramName” property: Now, the URL will map to the method name via the “action” request parameter name :/customer/*.htm?action=add –> a.. 2014. 7. 16.
CREATE TABLESPACE & CREATE USER CREATE TABLESPACE [TABLESPACE DATA NAME] DATAFILE 'D:\app\Administrator\oradata\orcl\[DATA FILE NAME].DBF' SIZE 1024M -- 경로변경가능 AUTOEXTEND ON NEXT 512M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO; CREATE TABLESPACE [TABLESPACE INDEX NAME] DATAFILE 'D:\app\Administrator\oradata\orcl\[INDEX FILE NAME].DBF' SIZE 1024M -- 경로변경가능 AUTOEXTEND ON NEXT 512M SEGMENT SPACE MANAGEMENT AUTO; CREATE.. 2014. 7. 13.
좋은 프로그래머가 되는 24가지 방법 좋은 프로그래머가 되는 24가지 방법 평생 개발자로 일하기 위해서 가져야 할 좋은 습관들을 알아보자. 추가로 의견이 있으면 댓글로 달아서 같이 공유를 하면 어떨까? 1. 프로그래밍에 열정이 있어야 한다. 열정이 없고 즐기지 못하면 평생 지속하기 어려운 일이다. 지금 환경이 있는 열정도 꺾어버릴 만큼 열악하다면 심각하게 변화를 생각해야 한다. 2. 프로그래밍 기초 원리를 이해해야 한다. 원리를 모르면 근본적인 해결능력이 떨어지고 수준 높은 개발을 하기 어렵다. 3. 문제 해결 능력을 키워야 한다. 개발자의 가장 중요한 핵심 역량이다. 4. 창의적인 사람이 되라. 대부분의 좋은 해결책은 창의력에서 나온다. 5. 다른 사람의 소스코드를 이해할 수 있는 능력을 키워야 한다. 다른 사람의 소스코드에서 많은 것을 .. 2014. 7. 10.