본문 바로가기

서버구축 (WEB,DB)305

SQL Server 2005 데이터베이스 스냅샷(Snapshot) 데이터베이스 스냅샷(Snapshot) 업무에서 데이터베이스를 사용하다 보면 특정 시점의 데이터베이스를 접근 하고 싶은 경우가 있습니다. 예를 들면 오후 6시 시점의 데이터베이스를 대상으로 보고서를 산출하고 싶은 경우가 발생 할 수 있습니다. 하지만 데이터베이스에는 계속해서 데이터가 추가, 변경 또는 삭제 되므로 오후 6시 시점의 데이터베이스를 접근 할 수가 없습니다. SQL 서버 2005에서는 데이터베이스 스냅샷을 이용해 이러한 작업이 가능하게 됩니다. 1. 데이터베이스 스냅샷이란 데이터베이스 스냅샷은 특정 시점의 고정된 읽기 전용의 데이터베이스입니다. 특정 시점에 데이터베이스 스냅샷이 만들어지고 나면 원본 데이터베이스의 데이터가 변경되어도 데이터베이스 스냅샷은 변경되지 않습니다. 만일 오후 6시 시점에.. 2008. 12. 26.
APM + Snort + ADODB + BASE + oinkmaster 설치 1. APM 1.1 apache homepage : http://www.apache.org # wget http://www.apache.org/dist/httpd/httpd-2.2.4.tar.gz # tar xvzf httpd-2.2.4.tar.gz # cd httpd-2.2.4 # ./configure --prefix=/usr/local/apache --with-charset=euc_kr \ > --enable-module=so --with-included-apr # make # make install # vi /usr/local/apache/conf/httpd.conf 아래 내용을 변경 „ ServerRoot “/usr/local/apache” apache의 기본 디렉토리 내용 확인 „ Documen.. 2008. 12. 26.
ModSecurity® Reference Manual Version 2.5.7 (September 24, 2008)Copyright © 2004-2008 Breach Security, Inc. (http://www.breach.com)IntroductionModSecurity is a web application firewall (WAF). With over 70% of attacks now carried out over the web application level, organisations need all the help they can get in making their systems secure. WAFs are deployed to establish an increased external security layer to detect and/or p.. 2008. 12. 24.
웹서버 헤더에서 PHP 버전 정보 숨기기 웹 서버 응답 메시지 헤더 정보 숨기기 - 웹서버 해더 정보란 다음과 같이 클라이언트가 Apache 웹서버에 접속했을 때 웹서버에서는 응답 메시지의 헤더를 말한다. [root@hcjung conf]# telnet xxx.xxx.xxx.xxx 80 Trying xxx.xxx.xxx.xxx... Connected to xxx.xxx.xxx.xxx. Escape character is‘ ^]’. GET / HTTP/1.1 HTTP/1.1 400 Bad Request Date: Tue, 15 Oct 2002 11:25:10 GMT Server: Apache/1.3.19 (Unix) PHP/4.0.4pl1 - 이 정보는 공격자에 의해 Apache 웹서버 버전별 또는 구동되고 있는 응용프로그램에 잘 알려진 취약점을.. 2008. 12. 18.
MS-SQL 테이블 구조 또는 데이타 복사 SELECT * INTO 생성될 테이블명 FROM 원본 테이블 명 예) SELECT * INTO target FROM source 단 ) 제약조건이나, Identity 정보는 복사되지 않는다. MS-SQL 쿼리분석기에서 테이블구조만 복사 Select * into (만들고싶은 테이블) From (소스테이블) Where 0=1 MS-SQL 동일 테이블에서 특정 필드값만 변경해서 복사 하는 방법 INSERT INTO AA ( 필드1, 필드2, 필드3, 필드4, 필드5 ) SELECT '2007', 필드2, 필드3, 필드4, 필드5 FROM AA WHERE 필드1='2006' 서버에서 테이블 복사하는 법은? 간단하게 BACKUP DATABASE 디비명 TO DISK='경로' WITH INIT restore da.. 2008. 12. 17.