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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Writable foldersWritable folders
Previous
 
Next
New Post
8/15/2011 2:40 AM
 
I am using dnn on a shared server and it works fine.  However I am wonder exactly which folders need to be writable as at the moment I have the entire root folder and children writable which is a security risk.
I appreciate any help with this! Thanks.
 
New Post
8/15/2011 6:13 AM
 
DNN requires the application pool user - or the network service user, depending on your server version to ALWAYS have full access to your root folder and all folders below that.

Depending on the life cycle of any single visit to your site any number of files in many different locations may be accessed by this user.

For example - say you login as the administrator/host and use the restart server option to restart your application pool, this is done by effectively re-saving your web.config file - an action which triggers asp.net to restart the currently running application - in this case dnn.

The same goes for actions like installing a new module, in which case dnn needs to be able to write to pretty much any folder that such an install could demand, from /bin/ to /app_code/  to /desktopmodules/ or the /Portal/ folder.

Also depending on the type of modules you have installed - any folder in your hosting may need to be accessed - though as a rule most modules stick to /portal/0/ or a sub folder of their own install inside /desktopmodules/  BUT thats not something that they MUST do.

Now with regard to the concept of security risk - the application pool user - is a permission that is specific to a given application pool - and as such granting that user full access rights - ONLY grant the DNN CORE and MODULES access rights - the end user does not get any rights that are not granted by the dnn registration system.

Westa
 
New Post
8/15/2011 6:37 AM
 
Thanks Westa for your very fast response!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Writable foldersWritable folders


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