Transfer Complex Python Objects via Sockets

  Рет қаралды 9,601

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 31
@farzadmf
@farzadmf Жыл бұрын
For whoever's watching: pickle SHOULD NOT be used for untrusted input as it can easily be used by malicious users to do all kinds of stuff
@rohithreddy75
@rohithreddy75 Жыл бұрын
ty
@TheLukasBer
@TheLukasBer Жыл бұрын
What should I use instead?
@aionfurayu5660
@aionfurayu5660 Жыл бұрын
​@@TheLukasBerLiterally anything else. Serialized objects are not worth the hassle, when sending tem over the wire.
@farzadmf
@farzadmf Жыл бұрын
@@TheLukasBer exactly as @aiofurayu5660 said: if you cannot trust your input and where it's coming from (which is almost ALWAYS the case), usually all the "fancy" serialization techniques are prone to security vulnerabilities. `json.dumps` etc. are limited in Python and I think that's by design; they don't [de]serialize complex things and avoid the security issues
@donkeypoopdragon
@donkeypoopdragon Жыл бұрын
​@@TheLukasBerI've heard JSON is much better
@richardhoppe4991
@richardhoppe4991 Жыл бұрын
Great content as always. Slowly working my way through your networking labs. Cheers!
@julianreichelt1719
@julianreichelt1719 Жыл бұрын
Another awesome video!
@style1708
@style1708 Жыл бұрын
Could you make some video about gRPC and microservices?
@yomajo
@yomajo Жыл бұрын
You love socket tutorials. May I ask what you use sockets for on production?
@rishabh1406
@rishabh1406 Жыл бұрын
Hey NeuralNine I love your content. I request you to make a group chat project that includes messaging and sharing of files .
@xzex2609
@xzex2609 Жыл бұрын
your contents are advance and it's very rare. I wonder why you don't make series on topics like back end development or server related topics from intermediate level that covers the subject from a person who know python very well but have not experience in that specific subject , i think people will kill to gain such lessons.
@tips1483
@tips1483 Жыл бұрын
You should do a video on Protobuf
@stanislav-demidov
@stanislav-demidov Жыл бұрын
Can it be used to transfer entire class with methods?
@ChristopherBruns-o7o
@ChristopherBruns-o7o 6 ай бұрын
so when client, addr =client.accept() // when is addr ever used, and how?
@MariusDiMaio
@MariusDiMaio Жыл бұрын
Good. thanks, I knew it, but i watched the video, again. I like that you use linux Gnome and Pycharm and not VSCode. I use KDE Neon. I would like that you make a video on Python and MariaDB. Could to be a idea
@ahmadzaimhilmi
@ahmadzaimhilmi Жыл бұрын
How about multi clients making simultaneous requests? How would the server respond?
@donkeypoopdragon
@donkeypoopdragon Жыл бұрын
You would probably have to use the multiprocessing library
@interstellar4267
@interstellar4267 Жыл бұрын
Threading
@lavender0666
@lavender0666 Жыл бұрын
Threading or asyncio will work for this
@siddharthpandey3950
@siddharthpandey3950 Жыл бұрын
Insightfull
@sants9383
@sants9383 Жыл бұрын
como faço pra deixar o controle de janelas alí na barra superior??
@morningbae
@morningbae Жыл бұрын
olha o BR ai
@sants9383
@sants9383 Жыл бұрын
kkk curto muito os videos dele @@morningbae
@FunFiesta79
@FunFiesta79 Жыл бұрын
Hello brother i am new here i really liked your channel , can we get job by learning Gui 😢🎉❤Thank you so much
@lavender0666
@lavender0666 Жыл бұрын
UI/UX is a job path, if you mean just building interfaces alone then it's unlikely, that would probably fall under frontend development or full stack
@FunFiesta79
@FunFiesta79 Жыл бұрын
@@lavender0666 is enough learning UI /Ux to get jop🥰
@philtoa334
@philtoa334 Жыл бұрын
Thx_.
Python Sockets Explained in 10 Minutes
9:32
NeuralNine
Рет қаралды 22 М.
Python Sockets Simply Explained
39:33
NeuralNine
Рет қаралды 171 М.
Every team from the Bracket Buster! Who ya got? 😏
0:53
FailArmy Shorts
Рет қаралды 13 МЛН
Вопрос Ребром - Джиган
43:52
Gazgolder
Рет қаралды 3,8 МЛН
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
Test-Driven Development in Python: Test First Code Later
15:44
NeuralNine
Рет қаралды 13 М.
C++ Super Optimization: 1000X Faster
15:33
Dave's Garage
Рет қаралды 338 М.
Advanced Python Dictionaries with Benedict
10:23
NeuralNine
Рет қаралды 10 М.
Debug Running Python Processes with GDB
12:19
NeuralNine
Рет қаралды 7 М.
Encrypted File Transfer via Sockets in Python
19:54
NeuralNine
Рет қаралды 24 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 347 М.
TCP vs UDP Sockets in Python
17:43
NeuralNine
Рет қаралды 33 М.
Garbage Collection in Python: Speed Up Your Code
16:41
NeuralNine
Рет қаралды 19 М.
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 91 М.