Cript querystring return value potentially dangerous

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

  1. #1

    Default Cript querystring return value potentially dangerous

    hi,

    this code cript a querystring by Rijndael class:
    _______________________
    RijndaelManaged rjm = new RijndaelManaged();
    rjm.KeySize = 128;
    rjm.BlockSize = 128;
    rjm.Key = ASCIIEncoding.ASCII.GetBytes(cÂ*hiave);
    rjm.IV = ASCIIEncoding.ASCII.GetBytes(iÂ*v);
    Byte[] input = Encoding.UTF8.GetBytes(S);
    Byte[] output = rjm.CreateEncryptor().TransforÂ*mFinalBlock(input,
    0,input.Length);
    return Convert.ToBase64String(output)Â*;
    ______________________________

    In one page i have this javascript with cript querystring
    ''
    javascript:window.open('DownloÂ*adDocumento.aspx?i d=hiWQqPNzFsÂ*0ONpwkTsrFCw%3d%3d&est=ohPÂ*sZliSmWS E0hwYNIq7nA%3d%3d .....
    ''

    ASP.NET return this error........................why ?
    ______________________________Â*___
    Exception Details: System.Web.HttpRequestValidatiÂ*onException: A
    potentially dangerous Request.QueryString value was


    detected from the client (id="...iWQqPNzFs0ONpwkTsrFCw=Â*=").
    ______________________________Â*____

    thank you

    Paj



    Paj Guest

  2. Similar Questions and Discussions

    1. Getting "A potentially Dangerous Request.Cookies Value" error
      Hello, I recently upgraded from VS.NET 2002 to VS.NET 2003. Since I did that, I receive the following error from time to time: A potentially...
    2. A potentially dangerous querystring ... [ValidateRequest]
      All, When i use .net FRamework 1.1, for my web application, i get an error saying "A potentially dangerous querystring was detected from the...
    3. Potentially odd animated gif question...
      Greetings. I'm new to Fireworks... as in I just got the thing about nine hours ago *lol*. I've been tinkering with the various capabilites and...
    4. Cript::Primes tests fail while trying to implement Crypt::RSA from CPAN
      Anyone tried installing Crypt::RSA successfully onto linux recently from CPAN, Crypt::Primes seems to be my prob......... I'm having a lotta...
    5. A potentially dangerous Request.QueryString value was detected
      Hi, The querystring contains a custom error message while we are trapping any duplicate record entry. The exact string is as given below: ...
  3. #2

    Default Re: Cript querystring return value potentially dangerous

    Base64 has a few characters that might still trigger the .NET 1.1 input
    validation checker. You should URL encode it before sending it to the user.

    Joe K.

    "Paj" <microsoft.com> wrote in message
    news:com... 


    Joe 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