본문 바로가기

프로그램 (PHP,Python)190

XDomainRequest Object Represents a cross-domain Asynchronous JavaScript and XML (AJAX) request. Members Table The following table lists the members exposed by the XDomainRequest object. Attributes/Properties Property Description constructor Returns a reference to the constructor of an object. contentType Gets the Content-Type property in the HTML request or response header. responseText Contains the body of the respo.. 2010. 4. 7.
스트럿츠2(Struts2) 태그의 iterator Generic태그 - Control태그 - iterator Java.iterator.collection, java.util.Iterator등을 반복한다. 반복할 때마다 status가 먼저 스택에 들어가고 상단에 value로 지정한 컬렉션 내의 오브젝트가 하나씩 스택의 상단에 들어간다. 기존 우리가 쓰는 제어문인 for, while문과 비슷하다. iterator 태그의 속성들 name required type description id false String 엘리먼트를 참조하기 위한 ID status false Boolean 반복할때마다 IteratorStatus의 인스턴스가 스택에 들어간다. value false String 반복할 수 있는 소스는 반복하고, 그렇지 않으면 새로 List를 생성해서 들어간.. 2010. 3. 8.
국내 공개 웹 게시판(제로보드) 보안 업데이트 권고 □ 개요 o 최근 국내 PHP 기반의 공개 웹 게시판 제로보드4에 대한 CSRF 관련 보안 취약점이 발견됨[3] ※ 제로보드(ZeroBoard): PHP 언어로 작성된 홈페이지용 게시판 소프트웨어 또는 프레임워크 ※ CSRF(Cross-Site Request Forgery) 취약점 : 정상적인 서비스 사용자의 권한을 몰래 이용하여 스크립트를 실행할 수 있는 취약점으로 관리자 권한으로 악의적인 목적의 스크립트가 실행될 수 있는 취약점 o 해당 취약점을 이용한 홈페이지 변조 및 원격 실행 위협이 발생함에 따라, 사용자의 주의 및 조속한 패치가 필요함 □ 영향 o 원격의 사용자가 제로보드4 관리자 권한을 획득할 수 있음 o 획득한 관리자 권한을 이용하여 시스템 내의 임의의 파일 읽기, PHP 명령실행 등이 가.. 2010. 2. 19.
The HTTP verb PUT under Apache: Safe or Dangerous? "Is the HTTP verb PUT under Apache safe or dangerous?" This is a question I come across often, and have now run into it twice in the work on Atom. So is it safe? The answer is maybe. Here are two such examples: Using DELETE and PUT may be the "right thing to do" in an ideal world, but the fact of the matter is that a lot -- if not the vast majority -- of webservers do not allow these operations... 2010. 2. 10.
mysql+php connection pooling sqlrelay 참조 http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=25928 http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=36317 mysql+php 환경에서 db pool로 알려진 sqlrelay 를 설치하여 테스트 해보는게 이문서의 목적이다. 다운로드 rudiments : http://sourceforge.net/projects/rudiments/ sqlrelay : http://sourceforge.net/projects/sqlrelay/ 현재 버젼 : rudiments-0.30.tar.gz, sqlrelay-0.38.tar.gz 다음 설치 환경.. 2010. 2. 2.