Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Server side validation using Perl

Server side validation using Perl

Scheduled Pinned Locked Moved Web Development
perldatabasesysadminhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 968922
    wrote on last edited by
    #1

    Hi friends, am currently making an online booking system which accepts customers name, ID no. and credit card number among other details. This data is then sent to the remote database via the internet. Please help me with the server-side validation code using Perl scripting language. You can also advise me accordingly. thanx friends. Micom micom village

    A 1 Reply Last reply
    0
    • U User 968922

      Hi friends, am currently making an online booking system which accepts customers name, ID no. and credit card number among other details. This data is then sent to the remote database via the internet. Please help me with the server-side validation code using Perl scripting language. You can also advise me accordingly. thanx friends. Micom micom village

      A Offline
      A Offline
      alex barylski
      wrote on last edited by
      #2

      As a general rule of thumb web database security usually goes something like principle of least privilege. 1) Strip out any non essential characters 2) Check the format/validate 3) Check the length of data (although i'm sure languages like Perl and PHP or MySQL use dynamic memory allocation, so i'm not sure why length checking is important, except for just incase theres a bug, type situations.) 4) You may have to escape special characters (single quote, etc) Use regex to quickly and easily strip non-required characters and check the format of the input. See Regex Library[^] to save yourself some work. Cheers :) How do I print my voice mail?

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups