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...Module ForumsModule ForumsIFrameIFrameHelp securing Iframe contentHelp securing Iframe content
Previous
 
Next
New Post
3/4/2008 3:42 PM
Accepted Answer 

I see.

Well, I don't think you will be able to achieve anything via IIS without having to sync DNN authentication with Active Directory and that definitely introduces another point of possible break...

You might be able to set up just one page, though, that would act as a semaphor for file display inside an IFrame module while still hiding the real url from malicious users. You could have IFrame point to, say, iframeshow.aspx and pass to it an id of the file that should be displayed. Insude iframeshow.aspx you could check if the user is authenticated and, if they are, pull up the file url from some datasource - XML, DB, CSV, you name it! Then your server side code would read that file and push it to the user as BinaryStream. In that case, the real url will be completely hidden from users.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
3/4/2008 4:01 PM
 

DUH......Thank you Vitaly, that will work perfectly.  I was also thinking the AD route using ADAM at the server; but your approach is MUCH simpler and cleaner with less break points.

Cheers

~Charlie

 
New Post
3/4/2008 5:38 PM
 

Hey, my pleasure! By the way (no pressure) - feel free to share your code with us, may be others will be able to benefit from such a setup or, may be, we'll be able to include it in the module somehow... But don't feel obligated :)


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameHelp securing Iframe contentHelp securing Iframe content


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.