Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  How to publish website without source code
Previous Previous
 
Next Next
New Post 5/17/2008 6:34 AM
Resolved
User is offline zoran
8 posts
10th Ranked


How to publish website without source code 

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 9:58 AM
User is offline Brandon Haynes
461 posts
everysport.net
8th Ranked


Re: How to publish website without source code 

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 2:24 PM
User is offline zoran
8 posts
10th Ranked


Re: How to publish website without source code 

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 8:26 AM
User is offline Brandon Haynes
461 posts
everysport.net
8th Ranked


Re: How to publish website without source code 

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 8:36 AM
User is offline Mitch Sellers
5053 posts
www.mitchelsellers.com
3rd Ranked




Re: How to publish website without source code 

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
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.
View Mitchel Sellers's profile on LinkedIn

Visit mitchelsellers.com for DotNetNuke tutorials, modules and technical help

Custom DotNetNuke Services Available (Development, etc).

My sites are hosted with 3Essentials
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  How to publish website without source code
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com
Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com
Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP