본문 바로가기

분류 전체보기100

2024 반년 회고 원래 6월 말에 하나를 작성할려고 했는데.. 올해 상반기가 너무 스펙타클하기도 했고 변환점이 많아서 이제야 작성하게 된거 같다. 제일 큰 변화는.. 역시 이직?이직 해냈다...ㅎㅎ... 작년 말부터 준비해서 2024 상반기를 거의 갈아 넣었는데 해냈다. 이제 막 한달? 됐고 앞으로 더 기대된다. 옛날에는 재미로만 다른 언어 다른 환경에서도 잘 해내겠지의 마음이었는데 ㅎ이제는 진짜 완전 새로운 환경이다 ㅋㅋㅋ 두근두근 오히려 좋아 본래는 이직 텀 사이에 개인작을 좀 진행 할까 고민했는데 좀 길게 쉬어봤다코드에서 그렇게 멀어진건 이번이 처음이랄까 ㅎㅎ이제 다시 시작하는 마음으로 오늘 작은 일기를 쓰는 것도 있다. 그동안 미뤄온 작은 프로젝트와 스터디 다시 시작할 때가 됐다! 7월 너무 습하고 더워서 힘들었고.. 2024. 7. 30.
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.