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. General Programming
  3. Design and Architecture
  4. SSL and __VIEWSTATE

SSL and __VIEWSTATE

Scheduled Pinned Locked Moved Design and Architecture
sysadminsecurityquestion
4 Posts 4 Posters 7 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.
  • S Offline
    S Offline
    ssmith721
    wrote on last edited by
    #1

    Is it necessary to encrypt viewstate from web.config even when SSL is being used? Does it provide any additional benefit or does it just slow down the server without any additional benefit? Thanks, Sam

    M V D 3 Replies Last reply
    0
    • S ssmith721

      Is it necessary to encrypt viewstate from web.config even when SSL is being used? Does it provide any additional benefit or does it just slow down the server without any additional benefit? Thanks, Sam

      M Offline
      M Offline
      Marcus J Smith
      wrote on last edited by
      #2

      Viewstate is already encrypted as is, the option to mess with it's encryption is to utilize a stronger routine. I am not an absolute security expert but I know some things so i would suggest that anything you can keep on the server you keep there and just utilize the viewstate for holding the data of non-sensitive material. If you are accepting whether or not they like pizza, by all means use the viewstate, if you are taking an SSN, then you should probably grab that value and hold it in a session variable and replace it on the page with the bullets and dont even mean anything. Cleako

      1 Reply Last reply
      0
      • S ssmith721

        Is it necessary to encrypt viewstate from web.config even when SSL is being used? Does it provide any additional benefit or does it just slow down the server without any additional benefit? Thanks, Sam

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        ViewState is base64 encoding. SSL is encrypting the channel communications.

        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

        1 Reply Last reply
        0
        • S ssmith721

          Is it necessary to encrypt viewstate from web.config even when SSL is being used? Does it provide any additional benefit or does it just slow down the server without any additional benefit? Thanks, Sam

          D Offline
          D Offline
          dwatkins dirq net
          wrote on last edited by
          #4

          Keep in mind that viewstate also slows down the transmission time and increases the bandwidth usage because it makes your page larger. .NET holds the viewstate information in a hidden form field so the text for that data is sent on each page request. Because of this, the user could try to modify the viewstate and send it back - so keep sensitive data in the session or in some data store on the server.

          Dirk Watkins

          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