﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Role Based Security  » Windows Authentication</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 10:13:44 GMT</lastBuildDate><ttl>20</ttl><item><title>Windows Authentication</title><link>http://forum.strataframe.net/FindPost6250.aspx</link><description>I'm running into problems when I set&amp;nbsp;&lt;FONT size=2&gt;SecurityBasics.AllowWindowsAuth =&amp;nbsp;True in the AppMain.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;In some cases I want to allow windows authentication, but in many cases I don't, such as sales reps laptops etc...&lt;/P&gt;&lt;P&gt;When I set AllowWindowsAuth&amp;nbsp;= True and the application runs on a stand-alone machine, I get an error: "&lt;FONT color=#dd3333&gt;Current security context is not associated with an Active Directory domain or forest".&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I guess the bottom line is I need to be able to run my application in both environments. Is there a good way to handle this situation?&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Thu, 25 Jan 2007 18:14:02 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Windows Authentication</title><link>http://forum.strataframe.net/FindPost6271.aspx</link><description>The error you are getting is because the machine is not associated with a domain.&amp;nbsp; It is generally best to go one route or another.&amp;nbsp; You are going to have to know whether you are running Windows Auth or not before the login form comes up.&amp;nbsp; You may have a registry value that determines if this is a Windows Auth machine or not.</description><pubDate>Thu, 25 Jan 2007 18:14:02 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>