진주성 블로그 방문하기
진주성 블로그 방문하기
보안 아파치 웹서버 보안설정
2017.11.01 07:47
아파치 웹서버 보안설정
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: *
댓글 0
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
140 | HP-UX 서버 H/W Spec 조사 | 2017.09.07 | 1563 |
139 | TCP 프로토콜 Header 구조 | 2017.11.01 | 1554 |
138 | name server 보안 (bind) | 2018.04.26 | 1492 |
137 | Oracle begin end backup | 2017.08.24 | 1488 |
136 | EP Oracle WebLogic Server | 2017.08.25 | 1468 |
135 | 정보보안 국가기술자격 출제기준 개정 안내 | 2019.03.27 | 1376 |
134 | HP-UX에서 rsyncd 를 이용한 백업 설정 | 2017.09.07 | 1368 |
133 | 시스템보안 | 2017.11.01 | 1314 |
132 | Smurf Attack / Land Attack / Ping of Death | 2017.10.17 | 1293 |
131 | usage: raspistill [options] - Image parameter commands | 2018.11.16 | 1266 |
130 | 리눅스 기본 방화벽 iptable 요약정리 | 2017.09.26 | 1206 |
129 | netcat | 2018.10.09 | 1194 |
128 | 불필요한 HTTP Method 차단 | 2019.04.01 | 1167 |
127 | UDP 플러드 공격 - NTP, DNS, SSDP Amplification DDoS Attack | 2017.10.18 | 1137 |
126 | HPUX Trust Mode | 2018.02.21 | 1052 |