Results 1 to 8 of 8

Thread: Protecting Code [RESOLVED]

  1. #1

    Thread Starter
    Lively Member Bolerophone's Avatar
    Join Date
    Dec 2003
    Location
    Himalayas
    Posts
    123

    Resolved Protecting Code [RESOLVED]

    hi,

    i hv a question, suppose I am writing code for a website in ASP.NET. Now my website is hosted on some server. Now how can I make sure that my code does not stolen by their.
    I do not want anyone to access my code how can I make sure??

    The real situation is that our company is writing code for a govt organisation. Now they host all their pages on a common server nic.in. How can we make sure that people at nic do not misuse or tamper with our code??
    Last edited by Bolerophone; Dec 18th, 2004 at 12:07 AM.
    Jobs: "Do u want to sell colored sugar water or change the world?"

    Get Firefox Now!!!
    Mendhak leaving town.

  2. #2
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727

    Re: Protecting Code

    get your own server would be the securest way

  3. #3
    Hyperactive Member tailz's Avatar
    Join Date
    Jul 2002
    Posts
    306

    Re: Protecting Code

    For starters, are you talking about the code (the .aspx.vb files) or the dll itself?

    If the former then you don't need to upload them to a production server....

  4. #4

    Thread Starter
    Lively Member Bolerophone's Avatar
    Join Date
    Dec 2003
    Location
    Himalayas
    Posts
    123

    Re: Protecting Code

    If the former then you don't need to upload them to a production server....

    then what would be the place to post my code then???? I guess gettting my own server is the only option.
    Jobs: "Do u want to sell colored sugar water or change the world?"

    Get Firefox Now!!!
    Mendhak leaving town.

  5. #5
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: Protecting Code

    You cold code all your business logic methods within dll assemblies & just call these files from your webform codebehind pages.

    If you're really paranoid, you can then use a program like Dotfuscator to protect people from disassembling your dll's and looking at the underlying code too.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  6. #6
    Hyperactive Member tailz's Avatar
    Join Date
    Jul 2002
    Posts
    306

    Re: Protecting Code

    When you talk about source, or code. I think .VB files, modules, classes etc.

    When you compile an asp.net site, you get a resulting DLL and a bunch of ASPX files. Thats all that is required on the server (plus web.config) and should not exposed to prying eyes. You should not be uploading code to the site.

    Also, getting your own server isn't the cheapest option (as I just discovered) but if you are paranoid about another sharer on your server, stealing and decompiling your DLL then...... I dunno just get own server.

  7. #7

    Thread Starter
    Lively Member Bolerophone's Avatar
    Join Date
    Dec 2003
    Location
    Himalayas
    Posts
    123

    Re: Protecting Code [RESOLVED]

    You cold code all your business logic methods within dll assemblies & just call these files from your webform codebehind pages.

    I guess this is one option we can go with, I don't know we can do it for this project or not but for future we sure will.

    Thanks all
    Jobs: "Do u want to sell colored sugar water or change the world?"

    Get Firefox Now!!!
    Mendhak leaving town.

  8. #8
    Hyperactive Member tailz's Avatar
    Join Date
    Jul 2002
    Posts
    306

    Re: Protecting Code [RESOLVED]

    I have to ask...

    How is that any different from using code within the default dll assembly?

    Just dont see how the code can be better protected than it already is

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width