Products

Solutions

Learn More

Partners

Community

Blog

About

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...File System - Secure, Standard, Database WhatFile System - Secure, Standard, Database What's that all about?
Previous
 
Next
New Post
6/14/2007 9:02 AM
 

In the file manager, (DNN 4.x) a new folder can be put into the secure, standard or datbase file system.  Is there any documentation or a forum thread explaining the differences and how these are managed? Also, can an existing folder be hanged from one to another?

I have been unable to find any explanation of how this works.

 

 
New Post
6/14/2007 9:24 AM
 

hmm.. couldn't find any usefull info either :S

first a little info on how dnn modules link to files. When DNN modules create a link to files, the link will look like linkclick.aspx?fileticket=..... Instead of directly linking to the file, dnn will stream the file to the client, first checking if the user has enough rights to download the file

There are 3 types of filestorage: standard, secure and database. You can use any of the 3 types by just creating a new folder of one of the 3 types. Standard means that files are just put on the filesystem of the webserver as normal files. Eg, if you have a file that is named "mydocument.doc", and you put it in a standard filefolder "mydocs" under the portal root, then the file would exist in this directory: "/portals/[portalID]/mydocs/mydocument.doc". This file is not protected from download, which means that if someone knows this location, the file can be downloaded from http://[yourdomain]/portals/[portalID]/mydocs/mydocument.doc.

If you select secure filesystem, all files in the folder will be appended with the extension ".resources". This extension is prohibited from download in IIS, so nobody will ever be able to download the file except through DNN.

If you select database, all files in the folder will be put in the database. Although this is very secure (because the file is not even accessible for anyone that has physical access to the portal directory, you should be carefull with this because your database might grow very large, and also, SQL server is a bit slower at serving files than windows server

 


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
6/14/2007 9:43 AM
 

It is possible to convert an standard folder and its contents to a secure folder?

I created a secure folder but then uploaded some folders into it from outside DNN and the folder icons in DNN file manager at that of standard folders i.e. not a padlock

 
New Post
6/14/2007 9:45 AM
 

hmm, that might actually be a bug. If you upload files from outside DNN to a secure folder, the files will become secure as well. Having not checked this, i have no definitive answer. If the files in those folders have the .resources extension, then the files are secure


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
6/14/2007 9:56 AM
 

I just tested it in DNN 4.5.1 and if you upload a file using the DNN file manager into a secure folder it gets the .resources extension

If you add a file to the secure folder outside DNN the file isn't initally given the .resources extension but if you syncronize files for the secure folder the extension is added

The problem is that the extension isn't added to the subfolders even if you select to recursively sync the files

Is it possible to edit the DNN DB to flag the standard folder as secure then use the file manager to "secure" the contents as a work around?

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...File System - Secure, Standard, Database WhatFile System - Secure, Standard, Database What's that all about?


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out