개발65 25.02 글로만 본 깃 정책의 재미난 경험 소프트웨어 개발을 진행하는 사람은 깃이라는 오픈소스를 사용해보지 않은 사람은 없을 것이다.나도 그동안 일반적으로 git > commit > merge > pull /fetch > sync/push 작업만 주로했었고 아직도그러하다.이번 프로젝트를 진행하면서 재미난 일을 격어서 정리한다. 해당 글은 기본적으로 깃을 사용해본 경험이 있는 분을 기준으로 한다. 이해를 돕기 위해 ( A : master , B : new-branch, C : new-branch)A작업 B자업 C작업이 존재했다. 니즈가 있어서 C작업을 B에 합쳐서 특정 파일을 생성해줘야 하는 일이 있었다.이후 C 작업물이 먼저 A(master)에 올라갔으며 이후 B가 A(master)에 올라가는 상황에서 이슈가발생했다. master에는 없는 코.. 2025. 2. 21. 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. 이전 1 2 3 4 ··· 11 다음