obfuscation question

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

  1. #1

    Default obfuscation question

    Hi,

    Will obfuscation help in securing hard coded key in asp.net application?

    Thank you

    Vadim


    vadim Guest

  2. Similar Questions and Discussions

    1. Email obfuscation extension
      I have tried to write my own extension to perform this task in DW8 but it doesn't seem to work properly, so I tried some of the ones posted on...
  3. #2

    Default Re: obfuscation question

    No. Obfuscation tool only understands compiler syntax and symbols, not the
    data. Example: If you name a variable as string
    ComputerIpAddress="127.0.0.1", obfuscator only renames or scrambles the
    variable name "ComputerIpAddress", not its value.

    As for your concern about hardcoding your secret key inside your program can
    be done in a number of ways. For example: if your secret key is something
    like "123#AbcXzqOK*&76", then do not code as string sKey="the value", store
    the data in array of bits, this make it harder for any tool to disassemble
    the code. This is just a thought.

    John

    "vadim" <vadim@dontsend> wrote in message
    news:Oyi5cogOEHA.3624@TK2MSFTNGP10.phx.gbl...
    > Hi,
    >
    > Will obfuscation help in securing hard coded key in asp.net application?
    >
    > Thank you
    >
    > Vadim
    >
    >

    WJ Guest

  4. #3

    Default Re: obfuscation question

    Vadim,

    Some obfuscators provide a "string encryption" feature, which uses an
    embedded "encryption" algorithm to change application string values. This is
    not a bullet-proof option though. And in general, storing secrets in the
    application source code (of .NET/Java applications) is not a good idea.
    Check this article, it can give you some ideas (it also contains references
    to other resources, such as articles about obfuscation, which you may find
    helpful): "Safeguard Database Connection Strings and Other Sensitive
    Settings in Your Code" at
    [url]http://msdn.microsoft.com/msdnmag/issues/03/11/ProtectYourData/[/url].

    Alek

    "vadim" <vadim@dontsend> wrote in message
    news:Oyi5cogOEHA.3624@TK2MSFTNGP10.phx.gbl...
    > Hi,
    >
    > Will obfuscation help in securing hard coded key in asp.net application?
    >
    > Thank you
    >
    > Vadim
    >
    >

    Alek Davis 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