Web based upgrade`

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
9/5/2010 8:20:13 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Web based upgrade`

Hey Joe, hope you're well.

As we roll more mojoPortal driven sites out the upgrade process is becoming a little cumbersome - I wondered if you'd planned on anything like a web based upgrade similar to how WordPress implements it?

We could just log in to the admin area of each site then and pull the upgrade through - much quicker and means we can allow a less techy member of our staff to do it too.

Sorry if this has come up before :0)

Best regards

Mark

9/5/2010 8:57:30 AM
Gravatar
Total Posts 18439

Re: Web based upgrade`

Hi Mark,

There are security reasons why we would never do that. I don't think web code should be able to download and install new/more web code. That would require the entire Web including the /bin folder to be writable by the web process in order for it to download new dlls and put them into the bin folder.

It is far better to not allow the web process to write to any folder where there is execute permissions. Doing  that opens the door where unintended code could be downloaded and installed and executed. It is better to require a more privileged ftp user to install new code.

mojoPortal only needs write access to /App_Data and /Data and both of those can be marked as not executable to harden it so that no uploaded code can be executed.

While things like that in WordPress may seem very appealing and convenient it goes against good security practices and possibly is part of the reason there are frequent vulnerabilities in WordPress.

Best,

Joe

9/5/2010 9:00:35 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Web based upgrade`

Hi Joe,

That's fair enough, better to keep it secure :0)

Thanks for the response.

Mark

9/5/2010 7:20:29 PM
Gravatar
Total Posts 2253

Re: Web based upgrade`

Hi Mark,

I have written an update cmd script to aide in updating the many mojoPortal websites I host. It requires you to have access to have direct file access to the server(s) hosting the sites (not ftp) but it could be adapted to use FTP instead. If you are interested in it, send me an email.

Later,
Joe

You must sign in to post in the forums. This thread is closed to new posts.