Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  folder permissions problem
Previous Previous
 
Next Next
New Post 5/15/2008 10:57 AM
Unresolved
User is offline David Habib
11 posts
10th Ranked


folder permissions problem 

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 12:16 PM
User is offline Jeff Cochran
1087 posts
6th Ranked


Re: folder permissions problem 

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 4:18 PM
User is offline David Habib
11 posts
10th Ranked


Re: folder permissions problem 

Thanks for the response Jeff.

Dave

 
New Post 5/20/2008 11:02 AM
User is offline David Habib
11 posts
10th Ranked


Re: folder permissions problem 

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 Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  folder permissions problem
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNN SEO
Seablick Consulting specializes in DNN search engine optimization (SEO), DNN consulting, as well as support & training.
seablick.com
Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP