how to secure asp.net code?

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

  1. #1

    Default how to secure asp.net code?

    I am writing a web site for my client using asp.net. But I don't want him to
    able to read the code and reuse it in future. How can I protect the code
    and still give him a copy? Any idea? just wild guess like compiling the
    project into .exe, component or dll. I have no idea. Please advise!

    Isabella


    Isabella Guest

  2. Similar Questions and Discussions

    1. code for basic registration to secure page
      hello there I know that this already exists, I just need to find the snippet or formated codes and where they are located. thanks
    2. Secure the code of a published WS?
      Hello. When I initially published a WS that I developed using VS there was a bug in the code. In a client app that I wrote to test the WS I added...
    3. Secure PDF's merged into 1 document from 2 different Secure Files, possible?
      I have multiple Secured PDF files that I have created. There is a possibility that my end user will need to merge multiple PDF files into 1 main PDF,...
    4. secure intranet site with non secure sites?
      I log into a domain open an secure intranet site and then when I go to yahoo.com it messes up my secure intranet site that I have open. Cant...
    5. "Microsoft must deliver 'secure environments' not tools to write 'secure code'" : draft article
      Hello Please see bellow the final draft of an article soon to be published. I would appreciate your comments and corrections of anything that I...
  3. #2

    Default Re: how to secure asp.net code?

    obfuscation
    [url]http://www.devx.com/SummitDays/Article/11351[/url]

    Randy
    [url]http://www.kbcafe.com[/url]

    "Isabella" <isabella_lau@hotmail.com> wrote in message news:<e9jAvBRsDHA.2380@TK2MSFTNGP09.phx.gbl>...
    > I am writing a web site for my client using asp.net. But I don't want him to
    > able to read the code and reuse it in future. How can I protect the code
    > and still give him a copy? Any idea? just wild guess like compiling the
    > project into .exe, component or dll. I have no idea. Please advise!
    >
    > Isabella
    Randy Charles Morin Guest

  4. #3

    Default Re: how to secure asp.net code?

    Hello Randy,

    I am curious how an asp.net user can access the managed code from the web
    anyway.


    Thank you


    Anton


    Anton Sommer Guest

  5. #4

    Default Re: how to secure asp.net code?

    Isabella,

    Unlike older versions of ASP, with ASP.NET you do not have to include the
    ..vb source code files when you deploy the web application. The vb code will
    be compiled into a dll, which will reside in the /bin subdirectory on your
    site.

    However, it is fairly easy for someone to decompile a .NET dll into its
    source code. Obfiscation, which was mentioned by the other responder, will
    make the decompiled code more or less useless.

    So depending on how tech savvy you think this customer is, the fact that the
    ..vb files are already compiled into a DLL might be enough. But if you think
    they're likely to attempt to decompile, you should look into obfuscation.

    -Michael


    "Isabella" <isabella_lau@hotmail.com> wrote in message
    news:e9jAvBRsDHA.2380@TK2MSFTNGP09.phx.gbl...
    > I am writing a web site for my client using asp.net. But I don't want him
    to
    > able to read the code and reuse it in future. How can I protect the code
    > and still give him a copy? Any idea? just wild guess like compiling the
    > project into .exe, component or dll. I have no idea. Please advise!
    >
    > Isabella
    >
    >

    Michael Ames Guest

  6. #5

    Default Re: how to secure asp.net code?

    By default, you can't.

    Randy
    [url]http://www.kbcafe.com[/url]

    "Anton Sommer" <anton.schamy_no_spam_@arcor.de> wrote in message news:<bprsov$6oq$03$1@news.t-online.com>...
    > Hello Randy,
    >
    > I am curious how an asp.net user can access the managed code from the web
    > anyway.
    >
    >
    > Thank you
    >
    >
    > Anton
    Randy Charles Morin 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