Results 1 to 4 of 4

Thread: Make vb.net function secure on web...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2006
    Posts
    170

    Make vb.net function secure on web...

    I have a VB.Net exe application that has a function in it that contains my encryption method that is used through out my application. This function is used to generate all my encrypted passwords and files etc. therefore for obvious reasons I do not want this to be visible to end users. In my application this is fine as it is compiled as a .exe. However I want to now create a ASP.Net web based version of my application.

    Now here comes the question, if I was to create a web version of my application then this function would be visible to the end users along with a large number of other functions that if edited could bypass security and license control. I would like to know what is the best way to keep my ASP.Net webbased version secure from tampering, or is ASP.Net not the best for this?

    Really looking for some guidance on how others deal with this.

    Thanks

    Simon

  2. #2
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Make vb.net function secure on web...

    I haven't done any ASP programming, but I believe you can run it on the server or the client. If you decrypted everything on the server and pass back only what you allow the user to see, there is no issue.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  3. #3
    Hyperactive Member
    Join Date
    Jun 2008
    Posts
    407

    Re: Make vb.net function secure on web...

    Well if you've never made a web based program before then your going to have a lot of fun. If you made a simple one it would become very obvious that it would be safe on the web if you stuck the code on the server.

    If you stick the code in the .vb file then no one will be able to see it or download it unless they have access to the server.
    My Websites
    SharpMP3 - MP3 Design Articles www.sharpmp3.com
    Yobbers - Job Search www.yobbers.com
    Lets Trend - Methods For Riding Stock Trends www.letstrend.com

  4. #4
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: Make vb.net function secure on web...

    The ASP code is processed by the server, the user only sees the HTML that it has been given. The only time you pass "code" to the browser is for client side scripts. For example, look at the source of this website, you will see the HTML even though the website is created in php, along with the client side script. ASP.Net has the ability to compile your website into libraries, just like the .exe you get in a forms application. Think its a 'web project' you need as opposed to a 'web site' in the New menu. I've only had to create 2 or 3.

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