httprequest.validateinput()

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default httprequest.validateinput()

    Can you create a new class that inherits from httprequest
    and override the validateinput method, is this possible,
    advisable, best practice or is there another way to
    accomplish this. Any articles or code samples would be
    appreciated.
    Kirk Guest

  2. Similar Questions and Discussions

    1. HELP! SSL HTTPRequest Problem
      I have two servers in a web farm that are (as far as I can tell) configured exactly the same. One server works fine when runnin the following code,...
    2. modify HttpMethod or HttpRequest propertys
      I have a web service. It works fine. Now the incoming HttpMethod and RequestType (HttpRequest object) is "Post" instead of "POST". This value...
    3. How to use client certificate private key from httprequest.clientcertificate
      I have web site setup with client certificate for user authentication mapping the client certificate to an existing NT user account. I would like...
    4. Method not found: System.Collections.Specialized.NameValueCollection System.Web.HttpRequest.get_QueryString().
      I just recently started getting the above error on a page I am posting MULTIPART/FORM-DATA. We have SoftArtisans FileUp component and Filter...
  3. #2

    Default Re: httprequest.validateinput()

    Hi Kirk,

    See [1] and [2] to learn more about how this new 1.1 feature works, that
    should give you a good idea of the possibilities.


    [1] [url]http://weblogs.asp.net/vga/posts/6329.aspx[/url]
    [2] [url]http://weblogs.asp.net/vga/posts/7170.aspx[/url]

    --
    Victor Garcia Aprea
    Microsoft MVP | ASP.NET
    Looking for insights on ASP.NET? Read my blog:
    [url]http://obies.com/vga/blog.aspx[/url]
    To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
    and not by private mail.

    "Kirk" <kirk.smithson@linksys.com> wrote in message
    news:04bd01c34fdc$7c96c180$a401280a@phx.gbl...
    > Can you create a new class that inherits from httprequest
    > and override the validateinput method, is this possible,
    > advisable, best practice or is there another way to
    > accomplish this. Any articles or code samples would be
    > appreciated.

    Victor Garcia Aprea [MVP] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139