본문 바로가기

web116

Using CORS IntroductionAPIs are the threads that let you stitch together a rich web experience. But this experience has a hard time translating to the browser, where the options for cross-domain requests are limited to techniques like JSON-P (which has limited use due to security concerns) or setting up a custom proxy (which can be a pain to set up and maintain).Cross-Origin Resource Sharing (CORS) is a W3.. 2015. 10. 8.
cors ie & ff 브라우져 레벨 설정. Cross-Origin Requests (CORS) in Internet Explorer, Firefox, Safari and Chrome If your WebDAV server is located on a different domain, on a different port or using different protocol (HTTP / HTTPS) such requests are considered to be cross-origin requests and by default are prohibited by user agent. Below we describe how to enable cross-origin requests in each of 4 major browsers. In FireFox, Safa.. 2015. 10. 8.
포워드 프록시(forward proxy) 리버스 프록시(reverse proxy) 의 차이 http://www.lesstif.com/pages/viewpage.action?pageId=21430345 아파치 웹서버(apache web server) 에는 mod_proxy 라는 프록시 기능을 하는 모듈이 내장되어 있고 이 모듈은 forward proxy 와 reverse proxy 두 가지 기능을 다 수행한다. 그러면 forward 와 reverse 방식의 차이점은 무엇일까. 아래 그림을 보면 쉽게 이해할 수 있을 것이다. Forward Proxy 클라이언트가 example.com 에 연결하려고 하면 사용자 PC 가 직접 연결하는게 아니라 포워드 프록시 서버가 요청을 받아서 example.com 에 연결하여 그 결과를 클라이언트에 전달(forward) 해 준다. 포워드 프록시는 대개 캐슁 기능이.. 2015. 10. 8.
CORS Same Origin Policy 우회. 원본 : http://apponline.tistory.com/316 [REST API][보안] REST API의 이해와 설계-#3 API 보안 - 2IT/뉴스 2015/02/12 18:03 네트워크 (전송) 레벨 암호화 가장 기본적이고 필수적인 REST API 보안 방법은 네트워크 전송 프로토콜에서 HTTPS 보안 프로토콜을 사용하는 방법이다. HTTPS 프로토콜만 사용한다 하더라도, 메시지 자체를 암호화 해서 전송하기 때문에, 해킹으로 인한 메시지 누출 위협을 해소화 할 수 있다. 그런데, HTTPS를 사용하더라도, 이러한 메시지를 낚아채거나 변조하는 방법이 있는데, 이러한 해킹 방법을 Man-in-The-Middle-Attack 이라고 한다. 정상적인 HTTPS 통신의 경우, 다음과 같이 서버에서 제.. 2015. 10. 8.
javascript ajax 크로스 도메인 요청 하기 (CORS) 원본 : http://adrenal.tistory.com/16 javascript ajax 크로스 도메인 요청 하기 (CORS)웹앱개발 2015/03/22 16:55 개요 웹 개발시 자바스크립트로 외부 서버의 경로로 ajax요청을 날리면 에러가 나면서 요청이 실패한다. 웹 브라우저의 콘솔창에 아래와 같은 메시지를 보게 된다. 크롬 No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ‘[요청한 도메인]' is therefore not allowed access. 파이어폭스 교차 원본 요청 차단: 동일 출처 정책으로 인해 [요청한 도메인]에 있는 원격 자원을 읽을 수 없습니다. 자원을 같은 도메인으로 이동시키.. 2015. 10. 8.
press [key enter] to event trigger & work template $("#sForm :text").keypress(function(e){ 2015. 8. 21.