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. Using microsoft AntiXss cross site script encoder to encode standard input controls on an ASP .NET page

Using microsoft AntiXss cross site script encoder to encode standard input controls on an ASP .NET page

Scheduled Pinned Locked Moved ASP.NET
csharpjavascripthtmldatabasesecurity
1 Posts 1 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.
  • S Offline
    S Offline
    Steve Holdorf
    wrote on last edited by
    #1

    Hello, I have been assigned the task of using the microsoft AntiXss library to encode all of the input text controls on several asp .net web pages. I was told to use the EncodeHTML method to assign/retreve values to (textboxes, listboxes, etc.) After inspecting the EncodeHTML it looks like it is only used with streaming html sent out the Request object and not used for accessing control text in the code behind. Can someone explain to me if you can access asp textboxes .text values in the code behind, without using the Request object, like is usually the norm. Also, A decission has been made to do away with all query strings of the application and store everything in session. Is this the best way to go because not only are query strings used in the code behind but also in the javascript. If there are security issues with the query strings could not the AntiXss library help here instead of for asp form textboxes? Any advise and examples of using the AntiXSS with standard asp controls would be great! Thanks, Steve Holdorf

    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