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  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


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.

 


ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl
FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com

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