ugaemi / blog-comments

โ†ช๏ธ ๊ฐœ๋ฏธ์˜ ๊ฐœ๋ฐœ๋…ธํŠธ ๋Œ“๊ธ€ ๊ด€๋ฆฌ
https://ugaemi.com
0 stars 0 forks source link

tdd/TDD-csrf-token/ #11

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

๐Ÿ” TDD csrf token ๋ฌธ์ œ ํ•ด๊ฒฐ | ๊ฐœ๋ฏธ์˜ ๊ฐœ๋ฐœ๋…ธํŠธ

์ด์Šˆ ์š”์ฆ˜ ํŒŒ์ด์ฌ์„ ์ด์šฉํ•œ ํด๋ฆฐ์ฝ”๋“œ๋ฅผ ์œ„ํ•œ ํ…Œ์ŠคํŠธ ์ฃผ๋„ ๊ฐœ๋ฐœ ์ฑ…์„ ๋”ฐ๋ผํ•ด๊ฐ€๋ฉฐ TDD๋กœ Django๋ฅผ ๋‹ค๋ฃจ๋Š” ๋ฒ•์„ ๋ฐฐ์›Œ๊ฐ€๊ณ  ์žˆ๋‹ค. ์–ด์ œ๋Š” ์ž…๋ ฅ ํผ์„ ๋งŒ๋“œ๋Š” ๋ถ€๋ถ„์„ ๋งŒ๋“ค๊ณ  ํ…Œ์ŠคํŠธํ•ด๋ณด์•˜๋Š”๋ฐ ์ž๊พธ ์‹คํŒจ๋ฅผ ํ–ˆ๋‹ค. ์ด์œ ๋Š” ์•ˆ์˜ csrf token ๋•Œ๋ฌธ์ด์—ˆ๋‹ค. CSRF(Cross-Site Request Forgery)๋ž€ CSRFโ€ฆ

https://ugaemi.com/tdd/TDD-csrf-token/

leeyh-kor commented 3 years ago

์•ˆ๋…•ํ•˜์„ธ์š”!! ์ €๋„ ๋’ค๋Šฆ๊ฒŒ ๊ฐ™์€ ์ฑ… ๋ณด๋ฉด์„œ ๊ณต๋ถ€ํ•˜๊ณ  ์žˆ๋Š”๋ฐ, ์˜ค๋ž˜๋œ ์ฑ…์ด๋ผ module ์ด๋ฆ„ ๊ฐ™์€ ๊ฒƒ์ด ๋ฐ”๋€๊ฒŒ ๋งŽ์•„์„œ ํ—ค๋งค๋‹ค๊ฐ€ ์ด ๋ธ”๋กœ๊ทธ์—์„œ ๋„์›€ ๋ฐ›๊ณ  ๊ฐ‘๋‹ˆ๋‹ค! ๊ฒŒ์‹œ๊ธ€ ์ž˜ ์ฝ์—ˆ์Šต๋‹ˆ๋‹ค~

ugaemi commented 3 years ago

@leeyh-kor

๋„์›€์ด ๋˜์…จ๋‹ค๋‹ˆ ๋‹คํ–‰์ž…๋‹ˆ๋‹ค :D ์™„๋…ํ•˜์‹œ๊ธธ ๋ฐ”๋ž˜์š”!!