진주성 블로그 방문하기
진주성 블로그 방문하기
보안 아파치 웹서버 보안설정
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
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
170 | Tibero test sql문, SCHEMA_OBJECT_SAMPLE | 2023.10.25 | 9 |
169 | 급증하는 키싱(Qishing) 공격 | 2023.11.14 | 9 |
168 | Webtob Install for Windows and command | 2023.10.24 | 10 |
167 | Webtob Install for Linux | 2023.10.23 | 11 |
166 | Tibero 관리 3 | 2023.10.25 | 12 |
165 | Red Hat Enterprise Linux Certification Matrix for Dell PowerEdge Servers | 2023.11.02 | 14 |
164 | Jeus 8.5 + WebtoB 연동및 운영 | 2023.10.24 | 16 |
163 | Jeus 8.5 설치및 운영 | 2023.10.24 | 20 |
162 | tibero 7 install for linux | 2023.11.06 | 20 |
161 | Tibero 관리 2 | 2023.10.25 | 23 |
160 | wmic useraccount list brief | 2021.04.01 | 28 |
159 | Red Hat Enterprise Linux technology capabilities and limits | 2021.05.13 | 30 |
158 | Linux system service bug gives you root on every major distro | 2022.02.05 | 33 |
157 | 2021년도 주요정보통신기반시설 기술적 취약점 분석ㆍ평가 방법 상세가이드 | 2022.06.23 | 36 |
156 | Jeus7 Getting Start Guide | 2021.03.09 | 37 |