Compile or Protect ASP Code?

Discussion in 'ASP General' started by Bill, Sep 25, 2005.

  1. Bill

    Bill Guest

    Hey, is it possible to protect ASP code in some way? Can it be compiled, or
    otherwise protect the source somehow?

    Thanks,

    -Bill.
    Bill, Sep 25, 2005
    #1
    1. Advertising

  2. Bill

    Jeff Cochran Guest

    On Sun, 25 Sep 2005 15:39:56 -0400, "Bill" <> wrote:

    >Hey, is it possible to protect ASP code in some way? Can it be compiled, or
    >otherwise protect the source somehow?


    Wrap it into a DLL, but if you're going to that effort you may as well
    go to a .NET app. Otherwise, not really.

    Jeff
    Jeff Cochran, Sep 25, 2005
    #2
    1. Advertising

  3. Bill

    Bill Guest

    "Jeff Cochran" wrote...
    > On Sun, 25 Sep 2005 15:39:56 -0400, "Bill" wrote:
    >
    > >Hey, is it possible to protect ASP code in some way? Can it be compiled,

    or
    > >otherwise protect the source somehow?

    >
    > Wrap it into a DLL, but if you're going to that effort you may as well
    > go to a .NET app. Otherwise, not really.
    >


    Thanks for the reply, Jeff.

    Are you saying that a .NET web app can be compiled or protected? How?

    Bill.
    Bill, Sep 26, 2005
    #3
  4. "Bill" <> wrote in message
    news:...
    > "Jeff Cochran" wrote...
    >> On Sun, 25 Sep 2005 15:39:56 -0400, "Bill" wrote:
    >>
    >> >Hey, is it possible to protect ASP code in some way? Can it be compiled,

    > or
    >> >otherwise protect the source somehow?

    >>
    >> Wrap it into a DLL, but if you're going to that effort you may as well
    >> go to a .NET app. Otherwise, not really.
    >>

    >
    > Thanks for the reply, Jeff.
    >
    > Are you saying that a .NET web app can be compiled or protected? How?


    an aspx page, only exposes the HTML pages (aspx) and teh compiled code (not
    simply readable by using notepad), is inside a subfolder inside a single DLL
    (assembly).

    If you want to 'protect' your stuff, you could use a licensing approach.
    Remember, that if somebody really wants to decode your code, or hack it,
    they -will- succeed. However, you are the author of intellectual property
    and you are advancing features, the 'hacked version' won't be the blessed
    version. In short, trust your customers a little more.
    Egbert Nierop \(MVP for IIS\), Sep 26, 2005
    #4
  5. "Bill" <> wrote in message
    news:...
    > "Jeff Cochran" wrote...
    >> On Sun, 25 Sep 2005 15:39:56 -0400, "Bill" wrote:
    >>
    >> >Hey, is it possible to protect ASP code in some way? Can it be compiled,

    > or
    >> >otherwise protect the source somehow?

    >>
    >> Wrap it into a DLL, but if you're going to that effort you may as well
    >> go to a .NET app. Otherwise, not really.
    >>

    >
    > Thanks for the reply, Jeff.
    >
    > Are you saying that a .NET web app can be compiled or protected? How?


    Yes - use code behind pages for any .NET server code. When you compile the
    app, all you need then are the aspx pages and the dll in the bin folder.

    --
    Tom Kaminski IIS MVP
    http://www.microsoft.com/windowsserver2003/community/centers/iis/
    http://mvp.support.microsoft.com/
    http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
    Tom Kaminski [MVP], Sep 26, 2005
    #5
  6. Bill

    Bill Guest

    "Tom Kaminski [MVP]" mvps (D.O.T) org> wrote...
    > "Bill" wrote in message

    {> > Are you saying that a .NET web app can be compiled or protected? How?
    >
    > Yes - use code behind pages for any .NET server code. When you compile

    the
    > app, all you need then are the aspx pages and the dll in the bin folder.
    >
    > --
    > Tom Kaminski IIS MVP


    Thanks, Tom!

    -Bill.
    Bill, Sep 26, 2005
    #6
  7. Bill

    Bullschmidt Guest

    This can help a little by removing comments and making all lines of code
    start at the far left:
    PCbit
    http://www.pcbit.com
    Advanced HTML Optimizer

    Best regards,
    J. Paul Schmidt, Freelance Web and Database Developer
    http://www.Bullschmidt.com
    Classic ASP Design Tips, ASP Web Database Sample

    <<
    Hey, is it possible to protect ASP code in some way? Can it be compiled,
    or otherwise protect the source somehow?
    >>


    *** Sent via Developersdex http://www.developersdex.com ***
    Bullschmidt, Sep 29, 2005
    #7
    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.

Share This Page