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  |  

telerik -- supercharge your DNN websites
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
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
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Browser Back button opening up security holes???
Previous Previous
 
Next Next
New Post 6/16/2008 1:49 AM
User is offline iadalang
81 posts
10th Ranked


Re: Browser Back button opening up security holes??? 

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 7:04 AM
User is offline Mitch Sellers
5818 posts
www.mitchelsellers.com
3rd Ranked




Re: Browser Back button opening up security holes??? 

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
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
 
New Post 6/17/2008 11:23 PM
User is offline iadalang
81 posts
10th Ranked


Re: Browser Back button opening up security holes??? 

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 12:28 PM
User is offline Mark Gordon
26 posts
10th Ranked


Re: Browser Back button opening up security holes??? use  

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 9:39 AM
User is offline cathal connolly
2829 posts
www.cathal.co.uk
5th Ranked










Re: Browser Back button opening up security holes??? use  

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 Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  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.

 


Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com
Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca
Vekkin Solutions
Vekkin Solutions provides complete website solutions and custom module development to churches and small businesses.
www.vekkin.com

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