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

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedCheck if user is logged into DNN via external websiteCheck if user is logged into DNN via external website
Previous
 
Next
New Post
4/26/2010 9:50 PM
 

I have a standalone website that I am trying to limit access to. Currently the user logs into DNN and then they can access the page

which contains an IFRAME. This allows them to get to the external webpage when logged in. The problem is that some users have

figured out the direct link from within the IFRAME and they are bypassing the security by going directly to the url. Is there some way

that I can add an authentication check to my external website so that it will not allow them to access the content  unless the DNN

user is logged in or the request came from DNN?

 
New Post
4/27/2010 5:11 AM
 
what you need to apply to your web site is some kind of single sign on. options depend on the technology used for the other site - static HTML, PHP, ASP or ASP.Net?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/27/2010 8:19 AM
 
Sebastian Leupold wrote:
what you need to apply to your web site is some kind of single sign on. options depend on the technology used for the other site - static HTML, PHP, ASP or ASP.Net?
 

The external site is ASP.Net. I think I found a way by using Request.ServerVariables("HTTP_REFERER") to check which page they are coming from. But I would like to find a better solution.

 
New Post
4/27/2010 8:47 AM
 

A simple webservice would do the trick. I do this often between a few apps to see if a user is authorized (viable user account) or is in Roll on a DNN site or the other way around. If you need a good starting point, try Micheal Washington's IWeb module, it's very flexible and easy to extend.

HTH



 
New Post
4/27/2010 8:13 PM
 
Chris Smith wrote:

A simple webservice would do the trick. I do this often between a few apps to see if a user is authorized (viable user account) or is in Roll on a DNN site or the other way around. If you need a good starting point, try Micheal Washington's IWeb module, it's very flexible and easy to extend.

HTH

 

That would check to see if the user is a valid user in the database. I am checking to make sure the user is logged in right now. And that the request came from the dnn website. This way the end use can not simply point to the url that is inside the iframe and bypass security.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedCheck if user is logged into DNN via external websiteCheck if user is logged into DNN via external website


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