How web applications are secured

  Рет қаралды 30,495

Web Dev Cody

Web Dev Cody

Күн бұрын

Пікірлер: 82
@danielocampo543
@danielocampo543 3 ай бұрын
I learned more from this than 5 security videos, please do more like this !!!!!
@alex-ca-p3i
@alex-ca-p3i 3 ай бұрын
sent this video to marc lou
@animeverse5912
@animeverse5912 3 ай бұрын
lmao
@preetjariwala9300
@preetjariwala9300 3 ай бұрын
lol he's probably watching this rn
@WebDevCody
@WebDevCody 3 ай бұрын
Y’all are naughty
@comosaycomosah
@comosaycomosah 3 ай бұрын
@@preetjariwala9300 seething at the comments preparing his block button while searching out bros name on x
@felixallistar
@felixallistar Ай бұрын
omg i scrolled to comments to say this and i got beat
@HarisMuneer26
@HarisMuneer26 3 ай бұрын
Really did a great job with this video. It really provides all the necessary details needed for a web dev security. I remember going through hundreds of videos just to learn these points individually.
@QtheCoder
@QtheCoder 3 ай бұрын
Yep, theae are the kinds of videos that kept me on your channel. 👍
@QtheCoder
@QtheCoder 3 ай бұрын
The diagram walk-through then a code session would be golden
@Jeanpierrec19
@Jeanpierrec19 3 ай бұрын
I can sometimes be critical of your videos ( I watch them anyway ) but this one I can say is 100% spot on and amazingly presented.
@butwhothehellknows
@butwhothehellknows 3 ай бұрын
Good job babe!!!!! Woot woot beginners crew check in here 🎉
@juliopoloarq
@juliopoloarq 3 ай бұрын
Love how supportive you are!
@kazmi401
@kazmi401 3 ай бұрын
Marc lou was first one on this. not you
@dreamsachiever212
@dreamsachiever212 3 ай бұрын
@@kazmi401 underrated comment 4sure
@butwhothehellknows
@butwhothehellknows 3 ай бұрын
@@kazmi401 huh?
@mryasinize
@mryasinize 3 ай бұрын
I really like this man for making such content for us beginners. Really helps to understand important concepts at a high level. Please bring more content like this one 👍
@dreamsachiever212
@dreamsachiever212 3 ай бұрын
golden content. Easy to do when using separate backend as nest.js
@rida_brahim
@rida_brahim 3 ай бұрын
i love backend and i will focus on it next coming months, thanks for the video man
@HjalmarsProjekt
@HjalmarsProjekt 3 ай бұрын
Good stuff!! Checking in from Sweden! 🇸🇪
@salamandr4111
@salamandr4111 3 ай бұрын
very cool vid! would be nice to see another video from you about rate limiting and how to implement it & best practices
@wasaabbi
@wasaabbi 3 ай бұрын
golden content, loved that❤ You clearly have talent to present packed informations with understandable manner . It would be supper cool to have each step detailed with simple example to follow. You should’ve your own course, Id buy that
@davesiarez7229
@davesiarez7229 3 ай бұрын
crazy how i understood all of these stuff just by building one system.
@ellisotoo
@ellisotoo 3 ай бұрын
Awesome high-level overview. Well thought out.
@casadogaspar
@casadogaspar 3 ай бұрын
This is the kind of content that make me follow you.
@continuouslearner
@continuouslearner 3 ай бұрын
Cody for President. Nice one cody more such videos please.
@MasterEd725
@MasterEd725 3 ай бұрын
Love these types of videos!!! Please do more videos like THIS!!!!!!!!!!👍
@pranjalagnihotri6072
@pranjalagnihotri6072 2 ай бұрын
If you have an app a good idea is to add SSL Pinning to it really helps a ton if user/hacker wants to reverse engineer your API (network calls) and inspect the payload etc etc it will add a extra layer of strength which is hard to bypass and you can ensure your API usage is being done by the app only
@dayvee5634
@dayvee5634 3 ай бұрын
Oh please do Role-Based Authorization.
@drendelous
@drendelous 3 ай бұрын
ty for starting the video without 10 minute roundabouts
@filipesommer8253
@filipesommer8253 3 ай бұрын
🎵 Soft kitty, script kiddie, little ball of fur 🎵
@AndreasFroyland
@AndreasFroyland 3 ай бұрын
Thank you! Incredible valueable knowledge.
@davistodt3866
@davistodt3866 Ай бұрын
Please do another one, which goes into more detail on specific implementations (but still framework agnostic), such as oauth2 and using jwts vs session cookies
@harshitpant07
@harshitpant07 3 ай бұрын
This my go to: either find a platform/app which provide similar services as you and try to abuse it or just think if it were me how would I bypass this or abuse then you will know a million ways to bypass your security and its time to work.
@db5552
@db5552 3 ай бұрын
Thank you for this :>>
@thirtykey
@thirtykey 3 ай бұрын
next video: comprehensive dos and don'ts for avoiding DDoS attacks
@DjangoElRey
@DjangoElRey 3 ай бұрын
Hey from Germany ❤ perhaps you could go more into detail about when to use the different API types: trpc, Server action, RSC? WOULD BE NICE 🎉
@hfislwpa
@hfislwpa 3 ай бұрын
Great video needed this! Thanks
@thein3rovert-l9c
@thein3rovert-l9c 3 ай бұрын
I love this❤, thanks a lot
@okadz7037
@okadz7037 3 ай бұрын
you are legendary👑 keep up
@yourchannel5714
@yourchannel5714 3 ай бұрын
Could you make a video on connecting different backends to different frontends? Like svelte / go or react / nodejs. Coming from nextjs where everything is just set up for you i'm struggling to find info on how to progress into more "real" full stack development. Been learning a ton from you thanks a lot!!!
@roycohen.
@roycohen. 3 ай бұрын
Great video, thanks man.
@xd9050
@xd9050 3 ай бұрын
keep cooking ser !
@-lumqua-827
@-lumqua-827 3 ай бұрын
Web dev Cody cool topic Great explanation
@AkshatRamanathan
@AkshatRamanathan 3 ай бұрын
Need more on auth stuff ❤
@Anonym-mw5lz
@Anonym-mw5lz 3 ай бұрын
great video
@Tyheir
@Tyheir 3 ай бұрын
Great vid.
@donle9553
@donle9553 3 ай бұрын
Thx man :X Could you advise any Sec cert that can be attached to the web, verifies that that SAAS safe enough ? so business customers will have less concern before using some kind of automated pentest Most of the time all they know to say is "using 3rd party SAAS is forbidden" and keep doing stuff manually like dumps and at the same time, some of them do use crked desktop app or even the OS. LOL
@melihguleyupoglu6594
@melihguleyupoglu6594 3 ай бұрын
easy to follow and useful video, thank you. Your keyboard sounds nice. can you tell me its name?
@avparadox
@avparadox 3 ай бұрын
It was a great video. Can you make some actionable code video around it? Code teaches better ❤. Happy Coding
@alessandrosalzo
@alessandrosalzo 3 ай бұрын
“Never trust the users input”. First law of software developers imo.
@MrArod1207
@MrArod1207 3 ай бұрын
Great video!!
@patolorde
@patolorde 3 ай бұрын
Great content
@ghost91827
@ghost91827 3 ай бұрын
What keyboard are you using? Sounds cool)
@carry_boats
@carry_boats 3 ай бұрын
thx bruh
@userasd360
@userasd360 3 ай бұрын
where can one find these eraser workspaces or even the images are fine.
@mohammed.haydar
@mohammed.haydar 3 ай бұрын
Could you make a dedicated video about RateLimiting using NextJS server actions or NextJS APIs
@WebDevCody
@WebDevCody 3 ай бұрын
I think I have one maybe
@mohammed.haydar
@mohammed.haydar 3 ай бұрын
@@WebDevCody Awesome, just checking it out r n btw would you extend your previous vid about next15, maybe walkthrough us on how to upgrade existing projects, and how the breaking changes might affect existing projects?
@breakjee163
@breakjee163 3 ай бұрын
​​@@mohammed.haydar that'll be a new video in every major version then
@rhrkv
@rhrkv 3 ай бұрын
great explanation, i feel like i know how to implement all of these, i didn't know more about NextJS like an expert (but i trust my self to be able to implement all of these though because the word terms u said, it's kinda similar to word which is referenced in php framework i'm currently working on) About rate limiting, the cookie data saved on a file (it"s default btw) will it be a problem from a performance perspective? i see the most popular ones are memory based thing, redis or whatever it is...
@WebDevCody
@WebDevCody 3 ай бұрын
Cookies are storied in the browser. I’m not sure what you mean by file
@rhrkv
@rhrkv 3 ай бұрын
@@WebDevCody the file that saved on server, with a bunch of cookies data from visitor/client
@maherkhalil007
@maherkhalil007 3 ай бұрын
great
@notMichal
@notMichal 3 ай бұрын
Do you have some examples of bad security practices out in the wild? Asking for a friend
@WebDevCody
@WebDevCody 3 ай бұрын
A common one I’ve seen is letting your API accept a user ID in the post request body and then they use that user ID and think that it’s the authenticated user ID instead of checking the actual session
@sulek23
@sulek23 3 ай бұрын
@@WebDevCody Is it better then to send user ID in the JWT? Or maybe in the httpOnly secure cookie?
@alitonoliveira1700
@alitonoliveira1700 3 ай бұрын
Sometimes we don't need authentication or authorization, we just want our domain to be able to hit our api endpoints.
@anonAcc575
@anonAcc575 3 ай бұрын
I have been too lazy and haven't put post request rate limiting to my cloudflare tunnel. Does reactjs prevent script tags from executing? I think solidjs does "sanitize" automatically
@WebDevCody
@WebDevCody 3 ай бұрын
Not of the frameworks don’t let you render html directly to the page unless using dangerous set html. You should still always sanitize the data that goes into your database because you may forget and try to display it in the browser if you end up making a new ui or open your api for others to integrate with it
@sulek23
@sulek23 3 ай бұрын
Is it safe to store user ID in jwt? Or maybe in the httpOnly & secure cookie?
@WebDevCody
@WebDevCody 3 ай бұрын
Yes usually the userId (called sub sometimes) is stored in the jwt. If the jwt is properly verified, you can trust the userId in it. No, you don’t store the userId in a cookie ever. You need to generate a sessionId which links to the userId. The reason is you can’t allow anyone to guess the userId because then they could potentially just hit your api with their own cookie. Remember a cookie is just a header and anyone can use curl to fake the userId
@eniolaogundipe2264
@eniolaogundipe2264 3 ай бұрын
Can the rate limiting be set on the reverse proxy ???
@WebDevCody
@WebDevCody 3 ай бұрын
Sure, but I’ve found in real systems some endpoints need more restrictions because they use more cpu or do big sql queries. Also, often you need to rate limited based on userId, so as long as your reverse proxy supports that, sure.
@jaedonfarr
@jaedonfarr 3 ай бұрын
Video game dev when?
@developedbyed
@developedbyed 3 ай бұрын
get on it Cody, we want flappy bird
@navishthings
@navishthings 3 ай бұрын
Bro lucia v3 tutorial
@kashmirtechtv2948
@kashmirtechtv2948 2 ай бұрын
No. We don't use NEXT anymore
How To Build Feature Flags Like A Senior Dev In 20 Minutes
20:33
Web Dev Simplified
Рет қаралды 119 М.
How do we scale web applications?
21:11
Web Dev Cody
Рет қаралды 61 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 290 М.
How I structure my next.js applications
23:19
Web Dev Cody
Рет қаралды 37 М.
10 Signs Your Software Project Is Heading For FAILURE
17:59
Continuous Delivery
Рет қаралды 44 М.
The Secret Language Scaling WhatsApp and Discord
28:32
Theo - t3․gg
Рет қаралды 191 М.
The proper way to secure your databases
14:11
Web Dev Cody
Рет қаралды 22 М.
What is the "best way" to develop software applications?
18:37
Web Dev Cody
Рет қаралды 294 М.
How to Roll Your Own Auth
13:05
Ben Awad
Рет қаралды 127 М.
System Design Concepts Course and Interview Prep
53:38
freeCodeCamp.org
Рет қаралды 548 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 416 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН