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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to prevent access to a folder in DotNetNuke?How to prevent access to a folder in DotNetNuke?
Previous
 
Next
New Post
1/23/2007 2:21 PM
 

We are developing an web application that extends the DotNetNuke to meet our requirements, we store lots of images and videos that we want to limit access to.

Now I know that I can set role permissions from within the dotnetnuke to limit the access, but if a user knows the actual path of the image (ex: http://www.site.com/portals/0/images/image.gif) he can download it without any problem.

I've tried to add a web.config file to deny access to anonymous users but for some reason I can still view thos images or videos, and even excel files without any restrictions. So does anyone have any solution for this?

 
New Post
1/23/2007 6:50 PM
 

FileManager has an option to use db storage, but I have not tried it.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
1/24/2007 11:06 PM
 

Thank you for the quick reply, but I'm talking about a minimum of 300 GBs of images and videos at least... and will be updated frequently, to do the DB storage for all of this is a suicide. I can't even think of the daily/weekly backups for this xxx-large db once we store everything in it.

So anyone with any other solutions? or do you have anything else in mind?

 
New Post
1/25/2007 7:37 AM
 
You can also use the FileSystem - Secure option. This will cause files to be appended with the .resources extionsion, which will make it impossible to download them through other means than through dnn

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

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

 
New Post
1/25/2007 7:51 AM
 

Not sure if this'll help but... we did something something along those lines. 

Our documents are not stored in the DNN folders.  We wrote a "securedownload" application that writes the content to the webpage without revealing it's source.  Basically, a validated user gets a dynamically generated link to the  "securedownload".  And "securedownload" looks the path up in a database based on keys generated in the link (something like sessionid and a random guid).

The content delivery in our case is very basic (pdf files).  And (as a far as we know) the documents cannot be accessed without permission.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to prevent access to a folder in DotNetNuke?How to prevent access to a folder in DotNetNuke?


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