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  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  linking to files in secure folders
Previous Previous
 
Next Next
New Post 1/17/2008 5:20 AM
User is offline fritz schantz
35 posts
10th Ranked


linking to files in secure folders 

My fellow Nukemeisters,

I am having trouble doing PDF to PDF links with files inside of secure folders.  I basically have an overview PDF that has links out to other PDF files.  I don't want to park the files outside the control of DNN on the server.  That lets my users link to the files OK, but it also allows unregisterd users to see the files then.

I've tried setting up the links in the overview PDF doc as follows:

myPDF.pdf.resources
http://www.mysite.com/SECURE_DOCS/mypdf.pdf.resources

Of course neither works - how do I do this?  I'm thinking that to meet my deadline I might set up the overview as a text/html module and link out from there into the secure docs folder.  This would not be a good long term solution though, as I will be dealing with a large volume of "Overview" files, and will not be able to convert them all to html.

Thanks!

 
New Post 1/17/2008 10:31 AM
User is offline Jeff Cochran
1275 posts
6th Ranked


Re: linking to files in secure folders 

DNN operates under the context of the ASP.NET process account.  That account needs access to your secure folder, using Windows NTFS permissions.  Remove access from all other accounts and you have secured that folder for only ASP.NET processes.

Jeff

 
New Post 1/18/2008 6:43 AM
User is offline Mitch Sellers
5316 posts
www.mitchelsellers.com
3rd Ranked




Re: linking to files in secure folders 

The point of the Secure folders system is that they cannot be direclty linked.  ASP.NET will NOT server .resources files to users.  Therefore, LinkClick.aspx must be used to actuall read the file and write it out to the user on the fly. 

If you must direct link to the file, it will need to either be via the LinkClick.aspx link for the filr, or you will need to move it out of the secured folder.


-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.
View Mitchel Sellers's profile on LinkedIn

Visit mitchelsellers.com for DotNetNuke tutorials, modules and technical help

Custom DotNetNuke Services Available (Development, etc).

My sites are hosted with 3Essentials
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  linking to files in secure folders
 


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.

 


DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult
Overlook Technology
Website Development, DotNetNuke Consulting, Module Development, Portal Management
OverlookTechnology.com
DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de

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