Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to publish website without source codeHow to publish website without source code
Previous
 
Next
New Post
5/17/2008 9:34 AM
 

HI,

I am trying to publish my local dnn application without the source code files and without success!!!

Every time I do that I will get an error on my live server which is on our intranet!

Is there something I have to be awair of when and do "Publish Website" from Visual Studio 2005?

 

Thanks!

 
New Post
5/17/2008 12:58 PM
 

Hi Zoran,

The "Publish Website" option in VS is not a supported deployment path for DNN (and precompilation will not work at all).  You will need to copy your files manually to your target directory.  Take a look at the installation guide (located here: http://www.dotnetnuke.com/LinkClick.aspx?fileticket=gOZGbvrVKJw%3d&tabid=478&mid=857) for more guidance.

Hope this helps!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
5/17/2008 5:24 PM
 

Thanks Brandon!

Isn't that a little bit unsecure if you put also source code to your website.

Is there somewhere a security guide?

 
New Post
5/19/2008 11:26 AM
 

Hi Zoran,

IIS does not serve the .vb files which constitute the UI layer of the DotNetNuke application (which are available here anyway), and proper ACLs prevent unauthorized editing.  Since DNN is not (and really cannot be) strongly named, and the base code is publicly available, even if the "publish website" codeless deployment scenario were supported, anyone breaching your server could just replace an assembly and achieve similar damage to server-side code changes.  In most setups, you are likely neither more nor less secure with the .vb code on your website. 

The main benefit from precompilation relates to application performance.  I know that one reason that DNN does not support website publishing relates to its custom handling of localization; it is perhaps possible that in the future that this functionality will be migrated to the ASP.NET 2.0 localization system and the deployment option will be back on the table (if localization is, in fact, the only thing preventing it).

A couple security guides are available under Resources/Documentation/Downloadable Files above, including DNN Installation Hardening, at http://www.dotnetnuke.com/LinkClick.aspx?fileticket=qkVjRRDHNwU%3d&tabid=478&mid=857.

Hope this helps!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
5/20/2008 11:36 AM
 

If you are concerned about the security of code you have created in custom modules, those you can compile before installating/sharing with others.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to publish website without source codeHow to publish website without source code


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out