Let's chat on Twitter! twitter.com/AlexanderBYoung
@jlcdrivewayramps7343 Жыл бұрын
simple. clear. I cant stand tutorials which are too complex. they confuse more than help. keep it simple and you did. thank you.
@patrickcameron29504 жыл бұрын
I'm a lot closer to wrapping my head around nonces than I was before - thank you! Looking forward to digging through your other videos.
@RyanDewhurst4 жыл бұрын
Hey! Ryan here from WPScan. Great video. Just something to note that wasn't mentioned is that Chrome and other browsers will soon be enabling "SameSite=Lax" cookies by default, which will prevent most CSRF attacks in modern web browsers, when they implement it by default. Nonces should absolutely still be used of course, but the risk of a CSRF attack should also be reduced when web browsers implement SameSite by default.
@LevyCarneiro4 жыл бұрын
Great format with you facing diagonally. Best format I've seen for screencast videos.
@manavbudhia4 жыл бұрын
Great to see your video after long time..
@wassy834 жыл бұрын
Thank you so much!
@Pharoxx1054 жыл бұрын
Could you explain how to use a nonce with cached form pages? I want to serve the form page from a static cache
@patrickcameron29504 жыл бұрын
Perhaps best to just exclude that page from caching?
@leebuckle82884 жыл бұрын
People in the UK reading the title like -.-
@MoserDamasceno4 жыл бұрын
Thank you!
@rauljauregi66154 жыл бұрын
nice! Thank you very much
@gorangagrawal2 жыл бұрын
How to get NOnce for Headless WordPress? Custom endpoint i.e with REST API? And if yes then should we secure the Nonce endpoint by checking like current_user_can() or should just let it be without any checks?
@amitbiswas18854 жыл бұрын
What happens if user open this form as not logged in state and then login in another tab, return to first tab and submit the form? Nonce error happens. Why? how to deal with that situation?
@TheMarouuu4 жыл бұрын
Great stuff!
@Zak_Nike14 күн бұрын
No nonce jokes😮 I'm obviously in the wrong place
@vladtircomnicu16304 жыл бұрын
Super useful
@alex_ishchenko4 жыл бұрын
Thanks!
@afflictionmarketing53034 жыл бұрын
I don't understand it. Because the nonce filed is a hidden field. Evey when bot submit the request still isset return true and query get executed. ????
@АлександрГригорий-е6о4 жыл бұрын
Note that the nonces are unique to the current user's session, so if a user logs in or out asynchronously any nonces on the page will no longer be valid. codex.wordpress.org/WordPress_Nonces
@Draanor4 жыл бұрын
Nonces are to stop replay attacks, they are to help ensuring that a request was made from a valid source and that the request is only run only once and that the primed request can expire if the user fails to submit. Nonces are basically useless on forms that don't require user authentication.
@АлександрГригорий-е6о4 жыл бұрын
Hello, what are you using for bundling JS?
@WPCasts4 жыл бұрын
I actually wasn't bundling it. I was just using the browser-supported ES6 :)
@msvmanikantasrivishnu77884 жыл бұрын
1st like :-)
@WPCasts4 жыл бұрын
🎉 woot!
@ReLLaKaT3164 жыл бұрын
Noooonce
@AndrewRhyand4 жыл бұрын
Always love how you dig deeper into WP more than the average channel! Check out the function check_ajax_referer() (developer.wordpress.org/reference/functions/check_ajax_referer/). It pretty much does what you built, but with a simple function call. It's super handy.
@muhammadfarooqi3 жыл бұрын
it's not useful.... it is very useful....:) thankx