Form Validation and Sanitization with Javascript and Python

Поделиться
HTML-код
  • Опубликовано: 22 ноя 2024
  • RSVP for Classes at - www.SiliconDojo...
    Support Classes at - donorbox.org/etcg
    Find All Classes at - www.elithecomp...
    LinkedIn at - / eli-etherton-a15362211
    Code and Notes - github.com/Sil...
    Cyber Security starts at the input field. When you build a system that allows users to send data to your server you need to make sure that they are not able to compromise your systems with an injection attack, or that they simply add garbage data into your systems.
    Validation processes allow you to verify that the data the user entered looks like the type of data that is needed. You can determine if the data looks like a email address, or name, or URL.
    Sanitization means you scrub the data of anything text that may cause issues for your system such as additional HTM formatting, or escapes.
    Security is a multilayer process and so we'll show how you deal with data on the users side with Javascript, and then how you can recheck the data on your side with Python.
    Don't let your systems try to find the avg(2,21,55,'bob')
    We will discuss:
    We'll show how to use Javascript to validate user data
    How to prevent data from being sent until it conforms to rules
    Dynamically changing a form to show users where the problem is
    Checking data on the server side with Python
    Sanitizing data
    and more...

Комментарии • 8

  • @RenierEngelbrecht
    @RenierEngelbrecht 5 часов назад

    Education, is a real in life. You are actually making life easier for people in understanding and grasping concepts that is sometimes, difficult to understand.
    You are doing a great job in making people understand.

  • @jamess1787
    @jamess1787 6 часов назад +1

    It can't be a coincidence that the video length is 1:33:37. That's elite with an extra 3... 1337ly speaking of course.

  • @randaldavis8976
    @randaldavis8976 7 часов назад +1

    Regex can be different in different languages Perl vs Python

  • @hanes2
    @hanes2 51 минуту назад

    You don’t just use react and import a form validation library? What is this black magic /s

  • @udaypatel3006
    @udaypatel3006 5 часов назад

    the "g" in "RegEx" should always be like the "g" in "Gary", not pronounced like the "j" in "jelly".
    It's "Regular Expression" for a reason; not "Rejular Expressions"

    • @VideosViraisVirais-dc7nx
      @VideosViraisVirais-dc7nx 2 часа назад

      You pronounce USA like you do with United States? U-Sh-A.
      Haha sounds funny😊😊😊