본문 바로가기

분류 전체보기99

CURL & URLConnection CURLhttps://everything.curl.dev/project/index.html The cURL project - everything curlA funny detail about Open Source projects is that they are called projects, as if they were somehow limited in time or ever can get done. The cURL project is a number of loosely coupled individual volunteers working on writing software together with a commeverything.curl.dev  GETcurl -X GET "http://localhost:800.. 2024. 6. 10.
WAS - WEB 연결하기 (with. mod_proxy) WAS - WEB 연결을 위한 작업 - apache 사용https://tomcat.apache.org/download-connectors.cgi Apache Tomcat® - Tomcat Connectors (mod_jk) DownloadsYou must verify the integrity of the downloaded files. We provide OpenPGP signatures for every release file. This signature should be matched against the KEYS file which contains the OpenPGP keys of Tomcat's Release Managers. We also provide SHA512 checksutomcat.a.. 2024. 5. 12.
Linux Apache Tomcat 연동 (동일 서버 설정) httpd.confcd /etc/httpd/confServerName 127.0.0.1:8080 AllowOverride none # Require all denied Require all granted  proxy.confcd /etc/httpd/conf.d ServerName localhost ErrorLog logs/http-error_log CustomLog logs/http-access_log common ProxyRequests Off ProxyPreserveHost On Order deny,allow Allow from all ProxyPass / http:.. 2024. 5. 11.
Cipher을 통한 암호화 서비스를 개발하면서 양방향으로 암호화를 진행해야하는 정보들이 존재하여 Cipher로 작업한 부분을 남긴다. @Component public class CipherHelper { public static String alg = "7E6YRDQ59E9UTAM9M3G4OJU2RZTGF6K4"; private static final String key = "AES/CBC/PKCS5Padding"; private static final String iv = key.substring(0, 16); // 16byte public static String encrypt(String text) throws Exception { /** * Cipher : AES 및 다양한 암호화 알고리즘을 사용하여 데이터를 암호화하고 해.. 2024. 2. 21.
CSP - Content Security Policy를 통한 XSS 방어 XSS 방어 작업을 진행하면서 특정 URL이 제대로 막히지 않고 script를 실행하는 상황이 발생하여 수많은 삽질 끝에... CSP로 작업한 부분을 작성해둔다. 문제가 된 구문 http://localhost:80/[uri]?page=1&nyx99">vjmujrnir5t=1 XSS는 무엇인가? https://www.keycdn.com/blog/x-xss-protection X-XSS-Protection - Preventing Cross-Site Scripting Attacks - KeyCDN Learn how the X-XSS-Protection HTTP response header can help better protect your website's visitors against common cross.. 2024. 2. 20.
내가 찾아볼려고 찾은 정규식 사이트 Spring - @Valid와 함께 사용할때 추가로 사용할 정규식 모음 Email https://emailregex.com/index.html Email Address Regular Expression That 99.99% Works. Almost perfect email address regular expression. Just copy and paste for a language of your choice. Feel free to contribute! emailregex.com 2024. 1. 28.