ASP.net control Security

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

  1. #1

    Default ASP.net control Security

    Hi All,


    I have created a custome control for ASP.net. That control has lot of
    javascript files & images. Is there any way to protect those from
    users. Like if I sell/distribute those file to others, I have to give
    javascript & image files seperately. I want to protect those image
    (like logo) from the developer using that control, so that they cannot
    change those images. Also same with the script, as scripts are main
    area which gives the feature. Is there any dotnet solution to such
    problems. Can I use resource to encapsulate such files within an
    assembly? Do I have to create new file (for images) everytime by
    reading data from resource. This will slower down the page loading. Can

    I also hide scripts, coming on to clients browser. Please give me some
    solution which dotnet have provided, otherwise I have to use other
    alternatives like encryption, multiple javascript files to locate
    correct file etc etc, which I hate to do.

    I think using dhtml behaviour with htc will work fine. Can any body
    will suggest?


    regards,

    hungrymind@gmail.com Guest

  2. Similar Questions and Discussions

    1. Security question for a Winforms user control on a web page
      I have a winforms user control that I need to use in our web page. The control connects to a remoting object. When I try and make the initial...
    2. Get UserGroup of Active Directory to control the security
      Hi, I have an ASP.Net Intranet App with C#. I don't need to ask users about by User and PWD since they are already logged in. This is acheived...
    3. Can't configure security for client side control
      I've created a Windows.Forms control and placed it on an aspx page with the <object> tag and verified that it works nicely. But, when I add...
    4. ASP.NET security control
      Hi All, I will be writing an asp.net application which require users to log on before they can view the particular information. so here the...
    5. WindowsForm control gives security warnings under IE
      I have written a .NET WindowsForm control which is deployed on the server and runs on the client machines in the IE browser. All the control is...
  3. #2

    Default Re: ASP.net control Security

    Well, if you're using javascript in the browser then there's little you can
    do to protect it, since the browser needs the source code (the javascript)
    to execute it.

    As for the javascript on the server, many apps request external files to
    support their custom controls. The validation controls are a prime example
    of that. If you're worried about your customers stealing your IP, then that's
    what a lisence agreement is all about. If they misuse or steal your IP you
    need to have a legal avenue. Once you give your code to someone, even if
    you obfuscate and doo all the other tricks, with enough time and effort they'll
    be able to access it.

    -Brock
    DevelopMentor
    [url]http://staff.develop.com/ballen[/url]


    > Hi All,
    >
    > I have created a custome control for ASP.net. That control has lot of
    > javascript files & images. Is there any way to protect those from
    > users. Like if I sell/distribute those file to others, I have to give
    > javascript & image files seperately. I want to protect those image
    > (like logo) from the developer using that control, so that they cannot
    > change those images. Also same with the script, as scripts are main
    > area which gives the feature. Is there any dotnet solution to such
    > problems. Can I use resource to encapsulate such files within an
    > assembly? Do I have to create new file (for images) everytime by
    > reading data from resource. This will slower down the page loading.
    > Can
    >
    > I also hide scripts, coming on to clients browser. Please give me some
    > solution which dotnet have provided, otherwise I have to use other
    > alternatives like encryption, multiple javascript files to locate
    > correct file etc etc, which I hate to do.
    >
    > I think using dhtml behaviour with htc will work fine. Can any body
    > will suggest?
    >
    > regards,
    >


    Brock Allen 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