ASP.net control Security

Discussion in 'ASP .Net Security' started by hungrymind@gmail.com, May 3, 2005.

  1. Guest

    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,
     
    , May 3, 2005
    #1
    1. Advertising

  2. Brock Allen Guest

    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
    http://staff.develop.com/ballen



    > 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, May 3, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Patrick
    Replies:
    2
    Views:
    661
    Steven Cheng[MSFT]
    Oct 1, 2004
  2. Dinis Cruz

    Asp.Net Security Analyser (new security tool by DDPlus)

    Dinis Cruz, Oct 8, 2003, in forum: ASP .Net Security
    Replies:
    2
    Views:
    155
    Dinis Cruz
    Oct 11, 2003
  3. Dinis Cruz
    Replies:
    1
    Views:
    128
    Susan Bradley, CPA aka Ebitz - SBS Rocks [MVP]
    Oct 17, 2003
  4. Michael Randrup
    Replies:
    3
    Views:
    308
    Henning Krause [MVP]
    Mar 27, 2006
  5. Kursat
    Replies:
    1
    Views:
    322
    Dominick Baier
    May 7, 2007
Loading...

Share This Page