While not exactly as soon as everyone hoped, dasBlog 2.0 is set to be released next Tuesday. The biggest change is that dasBlog is now compiled under .NET 2.0 and ALMOST fully supports medium trust. The goal of medium trust is for hosting providers to provide functional ASP.NET 2.0 hosting while also protecting against rogue or malicious applications. Unfortunately that protection comes at the cost of application flexibility. We tried our best but in the battle between security and functionally there are a few features that are limited in a medium trust environment:
dasBlog will let you know that you don't have these privileges by displaying warnings on the configuration page:
There is some good news though, these limitations won't affect most users. Many hosting providers that run limited trust environments don't run in the default medium trust, but rather a "modified full trust". In that case you may already have all the permissions you need for all of the features to work.
If your hosting provider does run the standard medium trust configuration or their custom trust level doesn't provide the necessary permissions there is still hope. Normally hosting providers allow access to a mail server that runs on port 25. In most cases it doesn't even matter if the from address dasBlog is using is hosted on that server, as long as you are authenticating with a valid SMTP user. The POP3 issues is a bit more difficult. There are legitimate reasons for a provider to limit socket access, but if you ask nicely they might make an exception for the specific POP3 host you are using.
There is only last consideration that needs to be accounted for in a reduced trust environment. You can read more details here, but the basic idea is that in the default medium trust environment you can only do outbound web connections that match your originURL. OriginURL is specified as a regular expression in your web.config file. Setting it to ".*" will let dasBlog connect to any host.
For more information about dasBlog check out http://www.dasblog.info, and if you are have any questions about medium trust or anything else feel free to post on the dasBlog forms at http://www.dasblog.us
Return to top.
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
Powered By: newtelligence dasBlog 2.3.9074.18820
All content © 2014, Tony Bunce