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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Security TrustSecurity Trust
Previous
 
Next
New Post
1/9/2007 12:57 PM
 
I have been stuck in the middle of a module developer and a hosting company. I purchased a store module and have been unable to get it to work. Developer says it is the hosts fault because of a security setting. Host says they will not change security level.

The setting in question is SerializationFormatter in server.config.

My questions:
Does DNN need
SerializationFormatter added to the server.config to run properly?
Should the host have
SerializationFormatter or does this pose risks to the server?
Do most hosts have
SerializationFormatter included in server.config?

My hosts server.config has the following settings:

<IPermission class="SecurityPermission"
version="1" Flags="Assertion, Execution, ControlThread, ControlPrincipal, RemotingConfiguration"/>

Software developer says the server.config should be:

<IPermission class="SecurityPermission" version="1"
Flags="Assertion, Execution, ControlThread, ControlPrincipal,RemotingConfiguration,SerializationFormatter"/>
 
New Post
1/9/2007 2:44 PM
 

This permission is not required by DNN to operate.  We operate just fine in a standard Medium Trust environment.

This permission is only granted by default in Full Trust.  Any hoster which is running a medium or high trust environment is unlikely to have this permission granted.  It is unreasonable for any software developer to believe that a host is going to alter their security policy just because one piece of software that is only used by a small portion of their customers requires this permission.

SerializationFormatter does pose some security risk for the application since binary serialization includes state information for an object including the state of private variables.


Joe Brinkman
DNN Corp.
 
New Post
1/9/2007 3:07 PM
 

I had the same issue with Medium Trust and binary serialization when I first developed the EventQueue.

What I ended up doing was writing all the the serialization of the EventQueue objects manually, which turned out to be better for performance anyway.

It's kind of ironic that I was able to keep the EventQueue working in Medium Trust by persisting stateful objects this way, but I'm sure it's not the first time.
BTW, the EventQueue does have an overload to encrypt the message before sending it to the queue if anyone is worried about the information being passed.

Anyway, you might tell the developer that there is a way around this issue, and the code in the EventQueue is pretty straight forward for serializing an object into XML, and deserializing it back to an object.


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Security TrustSecurity Trust


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