rhymix/modules/editor
Min-Soo Kim 30fd0c428c Improve cookie security; Secure flag
SSL 항상 사용 옵션인 경우 쿠키도 이에 맞추어 SSL 인 경우에만 사용되도록 secure flag 를 추가합니다.
선택적 SSL 인 경우 SSL 이 적용되지 않은 구간에서도 쿠키를 읽을 수 있어야 하므로, 적용하지 않습니다.

이 PR 로 변경되는 내용

- Context 클래스에 checkSslEnforce 메소드 추가
- SSL 항상 사용 옵션일 경우, 가능한 secure 플래그를 달아서 쿠기 굽기
- SSO 쿠키의 경우 javascript 접근이 필요 없을 것으로 예상 ( https://github.com/rhymix/rhymix/pull/1034 ) 되어서 `httpOnly` 플래그도 추가.

안드로이드 웹뷰의 경우 StackOverFlow 의 Reading secure cookies in android WebView 라는 글을 참고하면, 읽어오는 것이 가능하다고 합니다. 주소에 프로토콜을 적지 않을 경우 secure flag 가 달린 쿠키는 정상적으로 읽어오지 않는 듯 하니 안드로이드 웹뷰를 사용하시는 분들은 대응이 필요할 것으로 보입니다.

https: //github.com/rhymix/rhymix/pull/1034 를 실수로 merge 하여서 다시 올립니다.
Co-Authored-By: Kijin Sung <kijin@kijinsung.com>
2018-07-29 12:15:24 +09:00
..
components php7.2호환을 위해 변경한 클래스 Object 를 BaseObject으로 변경 2017-11-28 20:01:28 +09:00
conf Move editor frame function to editorView::dispEditorFrame 2018-02-26 14:11:13 +09:00
lang Fix #958 missing option for comment content style 2017-12-09 02:19:23 +09:00
queries fix #2229 자동저장 기능에 IP 대신 암호키를 대조하도록 변경 2018-03-07 02:18:17 +09:00
ruleset Add admin editor page (not complated lang file) 2011-09-07 08:45:00 +00:00
schemas fix #2229 자동저장 기능에 IP 대신 암호키를 대조하도록 변경 2018-03-07 02:18:17 +09:00
skins Improve cookie security; Secure flag 2018-07-29 12:15:24 +09:00
styles Fix #837 delete unnecessary editor content styles 2017-06-27 15:29:37 +09:00
tpl Apply editor replacement to all .editable_preview elements 2018-03-06 21:39:04 +09:00
editor.admin.controller.php Save comment content style 2017-12-09 03:15:57 +09:00
editor.admin.view.php Also hide dreditor from list of installed editor skins 2017-09-28 19:28:46 +09:00
editor.api.php copyright add to php files 2013-11-08 05:52:51 +00:00
editor.class.php fix #2229 자동저장 기능에 IP 대신 암호키를 대조하도록 변경 2018-03-07 02:18:17 +09:00
editor.controller.php Exclude editor components that are not actually directories 2018-03-13 19:48:49 +09:00
editor.model.php fix #2229 자동저장 기능에 IP 대신 암호키를 대조하도록 변경 2018-03-07 02:18:17 +09:00
editor.view.php Reapply CKEditor option to dispEditorFrame 2018-03-06 22:04:25 +09:00