Transfer Complex Python Objects via Sockets

Поділитися
Вставка
  • Опубліковано 9 лют 2025

КОМЕНТАРІ • 31

  • @farzadmf
    @farzadmf Рік тому +22

    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 Рік тому +2

      ty

    • @TheLukasBer
      @TheLukasBer Рік тому +1

      What should I use instead?

    • @aionfurayu5660
      @aionfurayu5660 Рік тому +2

      ​@@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 Рік тому +2

      ​@@TheLukasBerI've heard JSON is much better

  • @richardhoppe4991
    @richardhoppe4991 Рік тому

    Great content as always. Slowly working my way through your networking labs. Cheers!

  • @julianreichelt1719
    @julianreichelt1719 Рік тому +1

    Another awesome video!

  • @style1708
    @style1708 Рік тому +3

    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 Рік тому +1

    How about multi clients making simultaneous requests? How would the server respond?

  • @siddharthpandey3950
    @siddharthpandey3950 Рік тому

    Insightfull

  • @sants9383
    @sants9383 Рік тому

    como faço pra deixar o controle de janelas alí na barra superior??

    • @morningbae
      @morningbae Рік тому +1

      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_.