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  |  

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


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  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
1391 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
5566 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
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
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.

 


Alliance Systems & Programming Inc
Alliance is not just our name... it's how we do business. We partner with our clients, learning their business processes and standards and then applying our expertise to help them improve their workflow and profitability.
www.Alliancesys.com
Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com
TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com

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