HomeHomeUsing DotNetNuk...Using DotNetNuk...Administration ...Administration ...Browser Back button opening up security holes???Browser Back button opening up security holes???
Previous
 
Next
New Post
6/16/2008 12:49 AM
 

Brandon, I'm not at all suggesting that we should change Firefox's default setting (which normally caches secure pages in memory) so as to make it cache the same on disk. Setting browser.cache.disk_cache_ssl  to true  was to confirm what Cathal said-that Firefox caches pages in memory by default and changing that to a disk cache meant that DNN was able to take advantage of that change with Authenticated Cacheability set to ServerAndNoCache doing what it was meant to do (invalidate the cache on a logout). However, this is not a solution to the problem. A viable and sustainable solution, IMHO, would be one that would enable DNN to invalidate cached secure pages stored even in memory, and the examples I'd given of other websites doing exactly that, but not DNN led me to believe that the invalidation strategy adopted by DNN is perhaps flawed and therefore needs to be reviewed. However, I'm still waiting for someone who can tell me where to set these as they may prove to be the solution(s) to this problem :-

response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1))

response.Cache.SetCacheability(HttpCacheability.NoCache)

response.Cache.SetNoStore()

 
New Post
6/17/2008 6:04 AM
 

I think the key point here is that when you are using a machine to access your site, YOU the user is required to clear history etc to ensure 100% compliance.

With the disconnected nature of the web, the differences in browers and browser configurations, the only true way to prevent the issue you are talking about is to actually manually clear the cache and cookies.

Really it isnt much of a risk, unless you are making these changes on a public or shared PC and leaving the browser session open with full history.


-Mitchel Sellers
Microsoft C# MVP, MCITP
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 recommend PowerDNN and 3Essentials for DotNetNuke Hosting and BaseCamp for project management
 
New Post
6/17/2008 10:23 PM
 

Thank you, Mitch for taking the time to respond.

As far as possible, we should mitigate the issue through code or settings.
In default.aspx.vb, under If Request.IsAuthenticated = True and before the last End IF added the lines :

response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1))
response.Cache.SetNoStore()


and now it works, thanks to Cathal. Issue resolved in Firefox!

 
New Post
6/27/2008 11:28 AM
 

I have a single username and password that I use for my seasonal employee's page.  I have set it up that the User Profile page is (supposedly) not displayed. When the user logs in, then clicks the Browser's Back Button, they are taken back to the login screen, however, the "Logout" link now becomes a "Login" link.  They can click that link and it will bring them to a page that says they are already logged in.  All they need to do now is click their "Username" and they now have access to their User Profile, including changing the email address and the password.  This, to me, is a security violation.  If I am stating that the User Profile should not be displayed (In the User Settings) because I don't wish them to have this ability to make the changes, but now there is a way for them to get around this, that is not secure.  I have had the password changed for this particular User Name two times now by a couple clever teenage employees.

Any help here would be GREATLY appreciated.

Thanks,

Mark Gordon

 
New Post
7/1/2008 8:39 AM
 

Mark,

AFAIR the display user profile option is simply a way of ensuring that the details a user registered with can't get altered after registration. However, their username/password will always be editable (they're an intrinsic part of the user, not extended properties such as the profile). What you're talking about is "security by obscurity" rather than a security violation. Fixing that quirk would not stop the user having the ability to change their password - the user can simply provide the correct url which will validate that they have the rights to see their user details and display correctly. I would recommend that you do not share 1 dotnetnuke user across multiple actual users, that is not a very safe setup. If you need to grant access to a shared page, create a role (e.g "seasonal employee") and add users to that role.

Cathal

 
Previous
 
Next
HomeHomeUsing DotNetNuk...Using DotNetNuk...Administration ...Administration ...Browser Back button opening up security holes???Browser Back button opening up security holes???


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.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.