Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Policy, GeoPolicy 소스 코드 보안 취약점 노출 #63

Open
cheonjeongdae opened this issue Feb 28, 2020 · 1 comment
Open

Policy, GeoPolicy 소스 코드 보안 취약점 노출 #63

cheonjeongdae opened this issue Feb 28, 2020 · 1 comment
Assignees
Labels

Comments

@cheonjeongdae
Copy link
Contributor

Controller 에서 JSP 페이지에 값을 EL로 표시하는 것은
소스 보기로 많은 보안 취약점을 노출 시킵니다.
ex) geoserver password, cesium ion key
아래와 같은 방법으로 코딩을 수정해 주세요.

  1. geoserver password, cesium ion key을 포함하지 않는 값을 기본값으로 하고
    필요시 full 정보를 보내줌
  2. ajax 요청을 통한 전달로 수정
    아래와 같이 el로 전달 하는것을 ajax 요청으로 수정
    policy : ${geoPolicyJson},
    dataGroup : {},
    baseLayers : ${baseLayerJson}
  3. Java, Js 간 암호화 알고리즘을 사용하여 암, 복호화 처리 할것
  • 이게 궁극적인 골

3월 말까지는 개선 할것

ssshpark added a commit that referenced this issue Feb 28, 2020
사용자 메인페이지 policy 요청 방식 ajax로 변경 #63
ssshpark added a commit that referenced this issue Feb 29, 2020
@cheonjeongdae
Copy link
Contributor Author

ajax 처리 결과가 비동기 이므로....
mago3D init 부분을 callback 처리 할것

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants