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 ...folder permissions problemfolder permissions problem
Previous
 
Next
New Post
5/15/2008 1:57 PM
 

I created a folder using the DNN File Manager, and I set the permission on it to only allow Admins and Registered Users view access to it.  I then uploaded a pdf file to this new folder.

My goal is that if a user clicks on a link to this pdf, they will be forced to login to DNN. 

Unfortunately, this doesn't seem to work.  No matter what I set the permissions to, unauthenticated users are still able to view the pdf in their browser with no login.  What am I doing wrong?

Thanks,Dave

 
New Post
5/15/2008 3:16 PM
 

DNN Filemanager permissions are not the same as Windows NTFS permissions.  And since it's a PDF, it doesn't go through the ASP.NET DLL so forms authentication can't affect it.  You need to use a Repository module so files are served from the database, through the DNN ASP.NET authentication.

Jeff

 
New Post
5/19/2008 7:18 PM
 

Thanks for the response Jeff.

Dave

 
New Post
5/20/2008 2:02 PM
 

So I looked into the Repository module and the Documents module.  Unfortunately, I don't think they help my situation.  It seems like both modules suppress showing a document link if you don't have permissions, rather than allowing you to see the link, and then prompting to login if you click on it. 

Even if I found out how to do this, if the user is ever able to get the full URL to the file in the document library, they can then always access it through this URL, circumventing any permission settings through DNN.

Am I missing a way to protect a file from URL access without forcing a DNN login?

Thanks,Dave

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...folder permissions problemfolder permissions problem


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