When you publish the website select the option "include only files needed to run the website". After publishing the website your code will be placed into a .dll file. This .dll and your aspx pages will be written to the place that you chose to publish your website...but the .vb files (the files containing your code) will not be (since they have been compiled into the .dll file). The only thing that the end user will have access to are the aspx pages...but not your code.
Comment