Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDocument authenticationDocument authentication
Previous
 
Next
New Post
7/8/2008 12:05 AM
 

This should help with understanding the folder types.  In turn, perhaps this could assist you in helping us troubleshoot this further.

http://www.mitchelsellers.com/blogs/articletype/articleview/articleid/167/pageid/83.aspx


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
7/9/2008 11:52 AM
 

I was able to redirect to the log in page, if the users click on the file link without authenticating themselves...this is what i did...if you look at the linkclick.aspx web config entry, it points to "DotNetNuke.Services.FileSystem.FileServerHandler". So i went to the DNN code "FileServerHandler.vb" and there was this method called "ProcessRequest" which is reponsible for displaying that custom error message ("You do not have access to this resource"). Inside that method, it checks for authentication and that is where you need to customize the code...So i removed the custom error message and did the following steps -> i added a session variable which holds the path to the file (when you add a link module, you get a link to a file...store that link in this session variable). Then I  got the log in tab id from the portal settings...Then I redirected user to the log in tab id and added a query string to the URL...so the URL would look something like 'http:www.test.com/66/tabid/FileRequest=true"...After that once the user enter the credentials and click log in, i check for the query string...if it is null, i redirect them to the home tab...if query string is not null, i have the session variable which holds the path to the file...so i redirect them to that session variable path and the users were able to open or save the document after that...

 
New Post
7/12/2008 2:04 PM
 

Great fix, and thank you for posting it.  However, if you haven't already done so, I would suggest breaking your changes out to your own provider project to make upgrading later easier.  The only difference would be that you'd have to add another provider node in your XML, and specify the new provider name.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
7/14/2008 6:59 PM
 

Just a quick question...Since I added a "Links" module to my webpage, the links are secure...However i need to update the existing links which point to a simple file system and hence are not secure...I need to replace the existing links with the links from the "Links" Module..However, there are tons of links on my web site...Do i need to update each link? That is going to be very painful...Does anyone know of a easier way to do this?

 
New Post
8/6/2008 3:32 PM
 

This is just an FYI...You dont have to update all links manually. You can do some database scripts that could update the links. I had about 700-800 links in my application. I basically wrote 3 stored procs and 1 function to update the links. Also the core DNN file handler class needed to be tuned a bit to reflect the new links. The idea is that all contents with DNN is stored within the database table. So apply your scripts to modify the column of that table which holds the contents of your application. Hope this helps

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDocument authenticationDocument authentication


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out