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 ...File Manager SecurityFile Manager Security
Previous
 
Next
New Post
11/29/2007 11:52 PM
 

First off. DNN is awesome! I don't want to sound like just a complainer. It works great, and has been very useful to me during the last couple of years that I have used it. File Manager appears to have different security functions. There is the drop-down with "Standard - File System," "Secure - File System," "Secure - Database." Then there are the folder permission settings. I'd like to know what effect the drop-down menu has, and also, setting folder permissions to restrict access to users seems to have no affect. User roles that should not be able to access certain folders can still access them. (i.e. the containing folder of this file should only be available to specific security roles, but everyone can view the file. I'm running DNN 4.6.2. Any help would be greatly appreciated.

 
New Post
12/1/2007 2:51 PM
 

If you want to prohibit direct access to a certain file, then set one of the "secure" options when you upload it, and grant access to registered users only (in the Folder Security Settings).

  • With the "Secure - File System" option, the uploaded files are stored with the additional ending ".resources". Files with this ending are never delivered when requesting them directly; instead, the IIS sends a "Bad request" page.
  • With the "Secure - Database" option, the file is stored in the DNN database, so there isn't a physical file any more.

If you include a secured file, it's URL will be e. g.
http://www.your-site.com/LinkClick.aspx?link=your-subdirectory/your-file.gif.
When you request this URL directly as a non-registed user, DNN answers with "You Do Not Have Permission To View The Requested File".

Note that there seems to be no direct way to include secured files in the FCK editor (e. g. in the Text/HTML module): For some reason, the "Browse Server" dialog window shows non-secured files only. Instead, you'll have to make a detour using another module that supports secured files, e. g. the media module, and copy&paste the URL you get from it.

 
New Post
12/6/2007 9:54 AM
 

xws-mika,

Thanks for your help. One thing I was getting is that you set the "Secure - File System" option when you create the folder. I thought you set this at any time and it change the entire file system. I couldn't find any docs on this feature. I did finally get this figured out in another thread. Do you know how I would link to a file, and if the user is not logged in, he would be brought to the log in page, and then be redirected back to the file?

thanks!

 
New Post
12/6/2007 2:20 PM
 

John Hildebrant wrote: Do you know how I would link to a file, and if the user is not logged in, he would be brought to the log in page, and then be redirected back to the file?

No idea, sorry! I think DNN is not designed to deliver files directly.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...File Manager SecurityFile Manager Security


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