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. ASP.NET
  4. Custom control development - Security issues

Custom control development - Security issues

Scheduled Pinned Locked Moved ASP.NET
javascripthtmldesignalgorithmssecurity
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.
  • P Offline
    P Offline
    Palli Rummi
    wrote on last edited by
    #1

    Hi All, I am developing a datetime picker custom control. I have written a JavaScript library to view dates in a popup window. In the markup of this control I am loading a JSON object which is stored in a hidden field. This JSON object contains some static data like date format and date separator of the control ect. This static data are using to build popup window. Here I want your expert advice. Are there any security problems in this design? Is it possible to crack JSON object stored in hidden field and smash the control? I can encrypt the JSON object. But the decryption algorithm can only write in JavaScript. So it is easy to trace. Kindly guide me on this issue. Thanks and regards, Palli

    A 1 Reply Last reply
    0
    • P Palli Rummi

      Hi All, I am developing a datetime picker custom control. I have written a JavaScript library to view dates in a popup window. In the markup of this control I am loading a JSON object which is stored in a hidden field. This JSON object contains some static data like date format and date separator of the control ect. This static data are using to build popup window. Here I want your expert advice. Are there any security problems in this design? Is it possible to crack JSON object stored in hidden field and smash the control? I can encrypt the JSON object. But the decryption algorithm can only write in JavaScript. So it is easy to trace. Kindly guide me on this issue. Thanks and regards, Palli

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      yes .. Javascript always have this problem. I think you can use serverside controls to solve this security problems. Use ICallbackEventHandler to handle callbacks on every event of your html calendar. actually callbacks works with javascript also. And easier to handle too.

      Abhishek Sur

      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