Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
2020/12/19 セキュリティ対策をやってみよう!
Search
J.Sugiyama
December 19, 2020
0
27
2020/12/19 セキュリティ対策をやってみよう!
2020/12/19に開催されたKansai WordPress Meetup @Kobeで使用した資料です。
J.Sugiyama
December 19, 2020
Tweet
Share
More Decks by J.Sugiyama
See All by J.Sugiyama
KansaiWordPressMeetupKobe-リカバリーモード.pdf
jsugiyama
0
17
セキュリティ対策ってどういうこと?
jsugiyama
0
85
画像の編集ができるって知っとう?
jsugiyama
0
180
ええテーマ、探してみーへん?
jsugiyama
0
160
KansaiWordPressMeetupKobe-リカバリーモード.pdf
jsugiyama
0
80
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
222
9k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
173
51k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
3
360
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Transcript
,BOTBJ8PSE1SFTT.FFUVQ!,PCF ηΩϡϦςΟରࡦΛͬͯΈΑ͏
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ ͜ͷࢿྉͷ༰ʹ͍ͭͯ w 4JUF(VBSE811MVHJO w 4JUF(VBSE811MVHJOͷհ w 4JUF(VBSE811MVHJOͷػೳʹ͍ͭͯ w ࣮ࡍʹͬͯΈΑ͏ʂʢ)BOETPO5JNFʣ
w "MMJO0OF814FDVSJUZ w "MMJOPOF814FDVSJUZͷհ w "MMJOPOF814FDVSJUZͷػೳʹ͍ͭͯ w 4JUF(VBSE811MVHJOͷػೳͱൺֱ͢Δͱʁ w ͓͢͢Ίͷػೳ
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ తʹ͋ͬͨϓϥάΠϯΛબ͢ΔΑ͏ʹ͠·͠ΐ͏ʂ ʂ ҙࣄ߲ ͜ͷࢿྉͰհ͍ͯ͠Δ̎ͭͷϓϥάΠϯʹ͍ͭͯɺ ಉ࣌ʹ̎ͭͱ༗ޮԽ͢Δ͜ͱਪ͍ͨ͠·ͤΜɻ ཧ༝ wڝ߹͢Δػೳ͕͋Γɺෆ۩߹ͷݪҼʹͳΔՄೳੑ͕͋Δ wൺֱతେنͳϓϥάΠϯͱͳΔͨΊɺཧ͕ࠔʹͳΔ
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ 4JUF(VBSE811MVHJO #Z+14&$63& IUUQTXXXKQTFDVSFDPNTJUFHVBSE@XQ@QMVHJO IUUQTKBXPSEQSFTTPSHQMVHJOTTJUFHVBSE
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ z4JUF(VBSE811MVHJOͷհ 4JUF(VBSE811MVHJOɺ8PSE1SFTTʹΠϯετʔϧ͢Δ͚ͩ ͰɺηΩϡϦςΟΛ্ͤ͞Δ͜ͱ͕Ͱ͖ΔηΩϡϦςΟϓϥά ΠϯͰ͢ɻ ཧϖʔδͱϩάΠϯϖʔδͷอޢΛத৺ͱͨ͠ຊޠରԠͷ γϯϓϧɾ؆୯ϓϥάΠϯͰɺҎԼͷ߈ܸΛ͙͜ͱ͕Ͱ͖· ͢ɻ w ෆਖ਼ϩάΠϯ
w ཧϖʔδʢXQBENJOʣͷෆਖ਼ΞΫηε w ίϝϯτεύϜ +14FDVSFެࣜαΠτΑΓൈਮ IUUQTXXXKQTFDVSFDPNTJUFHVBSE@XQ@QMVHJO
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ z 4JUF(VBSE811MVHJOͷػೳʹ͍ͭͯ +14FDVSFެࣜαΠτΑΓൈਮ IUUQTXXXKQTFDVSFDPNTJUFHVBSE@XQ@QMVHJO
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ z 4JUF(VBSE811MVHJOͷػೳʹ͍ͭͯ +14FDVSFެࣜαΠτΑΓൈਮ IUUQTXXXKQTFDVSFDPNTJUFHVBSE@XQ@QMVHJO )BOETPOUJNF ࣮ࡍʹͬͯΈ·͠ΐ͏ʂ
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ 4JUF(VBSE811MVHJO ಈ࡞֬ೝ࣌ͷҙࣄ߲ʹ͍ͭͯ -PDBMʢCZqZXIFFMʣͰ࣮ࡍʹ֬ೝΛߦ͏ࡍɺ 8FCαʔόΞϓϦέʔγϣϯΛ /HJOY͔Β"QBDIFมߋ͍ͯͩ͘͠͞ɻ ϓϥάΠϯIUBDDFTTʹઃఆΛॻ͖ࠐΈ·͢ɻ ϓϥάΠϯΛ༗ޮԽͨ͠ࡍʹϩάΠϯը໘ͷ63- ͕ࣗಈతʹมߋ͞Ε·͕͢ɺ/HJOYͷॳظઃఆͰ ಈ࡞ͤͣɺ࠶ϩάΠϯ͕ෆՄʹͳΓ·͢ɻ
ʢཁNPE@SFXSJUFઃఆʣ
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ "MMJO0OF814FDVSJUZ'JSFXBMM IUUQTXPSEQSFTTPSHQMVHJOTBMMJOPOFXQTFDVSJUZBOEpSFXBMM
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ "MMJO0OF814FDVSJUZ'JSFXBMMʹ͍ͭͯ 5JQTBOE5SJDLT)2ࣾʹΑΔηΩϡϦςΟ্ϓϥάΠϯ جຊతͳηΩϡϦςΟରࡦͪΖΜɺ %#1SFpYʢXQ@ʣͷม'JMF1FSNJTTJPOͷมߋͳͲɺ ࡉ͔͍ͱ͜Ζ·Ͱଟذ͔ͭൣʹ౿ΈࠐΜͩରࡦ͕Մೳɻ ؆қతͳ͕ΒɺXQ@DPOpHQIQσʔλϕʔεɺ IUBDDFTTϑΝΠϧͷόοΫΞοϓɾϦετΞՄೳɻ ͦͷଞɺแׅతͳ944ରࡦػೳɺίΞϑΝΠϧͷมߋݕɺ ϚϧΣΞεΩϟϯɺίϐϖࢭɺ
ϩάΠϯதͷϢʔβҰཡɺϩάΠϯཤྺ֬ೝ ҰׅϩάΞτɺ#PU༻)POFZQPUɺBENJOϢʔβ*%มߋ ϒϥοΫϦετػೳɺ3&45"1*੍ݶػೳɺը૾ͳͲϦϯΫରࡦػೳɺϝϯςφϯεதը໘Γସ͑ FUDFUD
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ "MMJO0OF814FDVSJUZ'JSFXBMMʹ͍ͭͯ %BTICPBSEը໘ ઃఆը໘ͷྫ
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ "MMJO0OF814FDVSJUZ'JSFXBMM 4JUF(VBSE811MVHJOͷػೳͱൺֱ͢Δͱʁ 4JUF(VBSE811MVHJOͰͷػೳ "*0814ͷରԠ ཧϖʔδΞΫηε੍ݶ ֘ػೳͳ͠ ͨͩ͠ɺϩάΠϯϖʔδͷ63-มߋΛ༗ޮʹ͢Δͱɺ ະϩάΠϯঢ়ଶͰXQBENJOʹΞΫηεͯ͠ΤϥʔͱͳΔ ϩάΠϯϖʔδมߋ
#SVUF'PSDF3FOBNF-PHJO1BHFͰઃఆ ը૾ೝূ #SVUF'PSDF-PHJO$BQUDIBͰઃఆ ؆୯ͳࢉͷ͑Λೖྗɺ·ͨ3FDBQUDIB7͕༻Մೳ ϩάΠϯৄࡉΤϥʔϝοηʔδͷແޮԽ 6TFS-PHJO-PHJO-PDLEPXOͰઃఆ ʢݱ࣌Ͱӳޠදهʣ ϩάΠϯϩοΫ 6TFS-PHJO-PHJO-PDLEPXOͰઃఆ ϩάΠϯΞϥʔτ 6TFS-PHJO-PHJO-PDLEPXOͰઃఆ ʢ-PDL0VUൃੜ࣌ʹૹ৴ʣ ϑΣʔϧϫϯε ֘ػೳͳ͠ 9.-31$ޚ 'JSF8BMM#BTJD'JSFXBMM3VMFTͰઃఆ ߋ৽௨ ֘ػೳͳ͠
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ "MMJO0OF814FDVSJUZ'JSFXBMMʹ͍ͭͯ 4JUF(VBSE811MVHJOͲͪΒΛબͿʁ ɾ4JUF(VBSE811MVHJO ɹײతʹઃఆͰ͖ɺຊਓʹ༏͍͠ઃܭ ɹγϯϓϧʹηΩϡϦςΟΛ্͍ͤͨ͞ཧऀ͚ ɾ"MMJO0OF814FDVSJUZ'JSFXBMM ɹৄࡉɺ͔ͭᙱ͍ͱ͜Ζʹख͕ಧ͖͍͢ ɹߴͳηΩϡϦςΟઃఆΛ͍ͨ͠ཧऀ͚
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ "MMJO0OF814FDVSJUZ'JSFXBMM ͓͢͢Ίͷػೳ w4FUUJOHT817FSTJPO*OGP 8PSE1SFTTͷ7FSTJPOʢ(FOFSBUFʣΛग़ྗ͠ͳ͍Α͏ʹ͢Δػೳ DTTͳͲʹ༩͞Ε͍ͯͨWFSϓϩύςΟผͷ͕༩͞ΕΔ
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ "MMJO0OF814FDVSJUZ'JSFXBMM ͓͢͢Ίͷػೳ w6TFS"DDPVOUT%JTQMBZ/BNF 8PSE1SFTTͷαΠτ্ʹදࣔ͞ΕΔ໊લ͕ɺ 8PSE1SFTTͷϢʔβ*%ͱಉͱͳΔΞΧϯτΛ γϯϓϧʹදࣔͯ͘͠ΕΔػೳɻ Ϣʔβ໊ͱද໊ࣔҧ͏ ͷʹઃఆ͢Δ
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ "MMJO0OF814FDVSJUZ'JSFXBMM ͓͢͢Ίͷػೳ w'JMFTZTUFN4FDVSJUZ'JMF1FSNJTTJPOT 8PSE1SFTTͷओཁͳσΟϨΫτϦϑΝΠϧ͕ɺ ਪ͞Εͨ1FSNJTTJPOʹઃఆ͞Ε͍ͯΔ͔νΣοΫͯ͘͠ΕΔػೳ ਪ͞Εͨ1FSNJTTJPOͰͳ͍ͨΊɺ ܯࠂද͕ࣔ͞Ε͍ͯΔ
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ "MMJO0OF814FDVSJUZ'JSFXBMM ͓͢͢Ίͷػೳ w.JTDFMMBOFPVT6TFST&OVNFSBUJPO 63-ʹ"VUIPS*%ͷύϥϝʔλz BVUIPSzΛ༩ͯ͠ΞΫηεͨ͠ࡍɺ Τϥʔը໘Λฦ͢Α͏ʹ͢Δɻ ˞্هύϥϝʔλΛ63-ʹ༩ͯ͠ΞΫηε͢Δͱɺ ɹBVUIPSVTFS*EͷΑ͏ͳ63-ʹϦμΠϨΫτͯ͠͠·͍ɺ ɹ63-͔Β࠷ॳʹ࡞͞ΕͨཧऀϢʔβͷ
ɹ6TFS*%͕؆୯ʹόϨͯ͠·͏ݒ೦͕͋Δɻ
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ "MMJO0OF814FDVSJUZ'JSFXBMM ͓͢͢Ίͷػೳ w'JSFXBMM1SFWFOU)PUMJOLT ֎෦αΠτ͔Βը૾ͳͲΛ63-ࢦఆͰදࣔ͞ΕΔ͜ͱΛ͙ػೳɻ ʢ͍ΘΏΔϦϯېࢭʣ Ϩεϙϯε 'PSCJEEFO
ηΩϡϦςΟରࡦΛͬͯΈΑ͏ )BWFBOJDF4FDVSJUZMJGF