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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  folder permissions problem
Previous Previous
 
Next Next
New Post 5/15/2008 11:57 AM
Unresolved
User is offline David Habib
12 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 1:16 PM
User is offline Jeff Cochran
1626 posts
5th 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 5:18 PM
User is offline David Habib
12 posts
10th Ranked


Re: folder permissions problem 

Thanks for the response Jeff.

Dave

 
New Post 5/20/2008 12:02 PM
User is offline David Habib
12 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.

 


Adaptive InfoSystems, Inc.
We provide custom programming and various levels of support for DotNetNuke and the .Net framework.
www.aisysweb.com
Multipartner Virtual Data Rooms
The Virtual Data Rooms (VDR) provided by an expert advisor, far from any ordinary software company!, supporting the sellers and their consultants. Multipartner builds and services higly professional Virtual Data Rooms (VDR) specifically tailored to M&A, Real Estate and NPL deals.
www.multipartner.com
DNN SEO
Seablick Consulting specializes in DNN search engine optimization (SEO), DNN consulting, as well as support & training.
seablick.com

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