진주성 블로그 방문하기
진주성 블로그 방문하기
보안 아파치 웹서버 보안설정
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
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
110 | Cain & Abel is a password recovery tool | 2018.03.12 | 8070 |
109 | SUN 솔라리스 보안취약점 조치 방안 | 2018.03.05 | 546 |
108 | hpux ndd tuning | 2018.02.28 | 923 |
107 | UNIX,Linux Command 비교 | 2018.02.27 | 2617 |
106 | hpux 소프트웨어 설치및 제거 | 2018.02.27 | 371 |
105 | HPUX Trust Mode | 2018.02.21 | 1052 |
104 | Linux 보안및 성능향상을 위한 sysctl.conf 설정 | 2018.02.20 | 3972 |
103 | HP-UX 보안가이드라인 | 2018.02.14 | 941 |
102 | ISAC (정보공유분석센터) | 2018.02.03 | 216 |
101 | [리눅스] 다른 서버에 있는 파일 가져오기(SCP 이용) | 2018.01.25 | 346 |
100 | 개인정보 피해방지 10계명 | 2017.12.29 | 154 |
99 | 포렌식 복사 도구 – forecopy_handy | 2017.11.11 | 590 |
98 | 개인정보 보호법 | 2017.11.09 | 96 |
97 | /etc/xinetd.conf 설정 값 | 2017.11.09 | 114 |
96 | 전자서명법 - 공인인증서 | 2017.11.09 | 103 |