You cannot see this page without javascript.

진주성 블로그 방문하기

보안 아파치 웹서버 보안설정

2017.11.01 07:47

구피천사 조회 수:3419

아파치 웹서버 보안설정

Indexes 제거
FollowSynLinks 제거
manual, cgi-bin 삭제

ServerTokens  ProductOnly
ServerSignature off
TraceEnable Off

Directory 접근제어
에러페이지 지정
chown 0 . bin conf logs
chgrp 0 . bin conf logs
chmod 755 . bin conf logs
chmod 511 /usr/local/bin/httpd

php.ini 옵션변경

magic_quotes_gpc=On

allow_url_fopen=off

 

DoS 방어 설정

<IfModule reqtimeout_module>
  RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
< /IfModule>

 

Tomcat

 

web.xml

디렉토리 리스팅 : listing 파라미터값을 false 로 수정

ssi 인젝션 : ssi 설정부분 주석

에러페이지 노출 : 에러페이지 Redirection 설정

불필요한 메소드 비활성화 : PUT, DELETE --> Method Block

server.xml

관리자페이지 노출 방지 : <Host><Context path ... 여기에 deny= " "  allow = " 127.\0\.0\.1" />

 

검색엔진 정보 노출 : robots.txt -->

User-agent: NaverBot

Disallow: /

 

User-agent: *

Disallow: /WEB-INF/

Disallow: /adminpage/

 

User-agent: *

Allow: *

 

 

 

제2010-9호-웹서버_구축_보안점검_안내서.pdf

제2010-10호-웹_어플리케이션_보안_안내서.pdf

번호 제목 날짜 조회 수
110 GeoIP 를 이용한 Apache 설정 - 국가별 접속 차단 2018.06.13 655
109 HP-UX 볼륨 추가 방법 2017.09.07 653
108 TCP 상태전이 2017.11.01 614
107 포렌식 복사 도구 – forecopy_handy 2017.11.11 590
106 route access-list file 2017.10.30 590
105 BCP 2017.11.01 589
104 HTTP Status Code HTTP 상태 코드 2018.05.03 573
103 개발보안 file 2017.11.01 563
102 Process Explorer - 윈도우용 프로세서, 메모리, TCP 모니터링용 file 2017.09.09 548
101 SUN 솔라리스 보안취약점 조치 방안 2018.03.05 546
100 ftp 보안 취약점및 대책 2017.11.05 538
99 [python] MySQL 사용법 예제 2018.10.24 523
98 uptime 갑인가? file 2017.09.13 510
97 HPUX 보안설정 가이드 file 2017.08.25 503
96 Oracle asm file 2017.08.24 494
진주성 블로그 방문하기
CLOSE