﻿<?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  » Create a basic windows auth app in an isolated DB?</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 12:30:11 GMT</lastBuildDate><ttl>20</ttl><item><title>Create a basic windows auth app in an isolated DB?</title><link>http://forum.strataframe.net/FindPost3822.aspx</link><description>Hello,&lt;br&gt;
&lt;br&gt;
I am tying to set up a basic project, and I think I have it mostly there.   I am a little stuck on how to set up the connections and the main StrataFrame database for security.&lt;br&gt;
&lt;br&gt;
I have my database with all the StrataFrame security objects added to it (ie, my tables + SFSxxx).  &lt;br&gt;
I had a working project (usable BOs, etc), but started out with the 'with security' template this time.&lt;br&gt;
I have set the AllowWindowsAuth=true&lt;br&gt;
* when I try to flag a user as 'use windows auth', I am still required to enter a password for them&lt;br&gt;
&lt;br&gt;
How do I configure the application so that login requests (and the security editor) are all handled by/routed to my application database, while leaving all the normal stuff in the main, shared SF database.  After that, how can I map the user to a windows user?  Ideally there would be no mapping, just group permissions assigned via windows groups. Maybe I am misunderstanding somewhat? &lt;br&gt;
&lt;br&gt;
Sorry for the not-directly-technical question.  Everything is abstracted, so I am not just setting the connection string myself which would, I think, clear up my confusion.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Andrew Backer</description><pubDate>Wed, 25 Oct 2006 13:10:56 GMT</pubDate><dc:creator>Andrew Backer</dc:creator></item><item><title>RE: Create a basic windows auth app in an isolated DB?</title><link>http://forum.strataframe.net/FindPost3843.aspx</link><description>We have a Step-by-Step document that is going to be in the next version of the security help that tells you step-by-step what you need to do to get the security working.&amp;nbsp; It's a topic with links to the other topics within the application but it essentially gives you a checklist of things to do to get the security working.</description><pubDate>Wed, 25 Oct 2006 13:10:56 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Create a basic windows auth app in an isolated DB?</title><link>http://forum.strataframe.net/FindPost3842.aspx</link><description>Ok, I think I understand it a bit better.  Through a mis-understanding I managed to make everything work up to a point but then fail in a 'legitimate' way.  &lt;br&gt;
&lt;br&gt;
I mentioned I had the security tables in my application database.  Though this was not commented on in the reply, this made the app load up fine.&lt;br&gt;
&lt;br&gt;
I had not provided any security connection string. Also not mentioned, but I did not know I had to.   Because I did not do this, it tried to use my [i]application[/i] database.  I have added a connection string I created manually to go to the main strataframe database.  &lt;br&gt;
&lt;br&gt;
When I want to move security to the application database, I suppose I will need to modify the connection string in code.  Not sure how I can use the design-time security editor after that point.  Perhaps I need an entirely new SF database for this (or each) project.&lt;br&gt;
&lt;br&gt;
This is all a bit confuzing, but I can see how it seems simple once you know it.  Practical considerations still remain, but now that I understand who controls what and where and under which circumstances, I think it is manageable for a small # of projects.</description><pubDate>Wed, 25 Oct 2006 12:47:15 GMT</pubDate><dc:creator>Andrew Backer</dc:creator></item><item><title>RE: Create a basic windows auth app in an isolated DB?</title><link>http://forum.strataframe.net/FindPost3839.aspx</link><description>Sorry for the confusion. &lt;br&gt;
&lt;br&gt;
[i]How do I configure the application so that login requests (and the security editor) are all handled by/routed to my application database[/i]&lt;br&gt;
It appears this is not possible.  I must have one database with everything and then "deploy".  Unclear how this works with  &gt;1 project using security and needing different setups.&lt;br&gt;
&lt;br&gt;
[i]After that, how can I map the user to a windows user?[/i]&lt;br&gt;
On further reflection, windows user name probably = user name on form.  Still must enter password, even if it will be ignored, which is the reason for the confusion.  &lt;br&gt;
&lt;br&gt;
[i]Ideally there would be no mapping, just group permissions assigned via windows groups[/i]&lt;br&gt;
Mapping for users must be entered by hand.  No apparent a way to map win-groups to sf-groups, this may need a custom app-level hack. &lt;br&gt;
&lt;br&gt;
[i]"Security within the Application -&gt; Logon - &gt; Loggin into the Application"[/i]&lt;br&gt;
I found the relevant help file.  I have 3 strataframe helps linked already, this is the 4th.&lt;br&gt;
The topic contains a paragraph and two screen shots, but the comment about the password being ignored is more relevant.&lt;br&gt;
&lt;br&gt;
Still looking at what is going on.  Maybe there is a nugget in the documentation.</description><pubDate>Tue, 24 Oct 2006 16:11:01 GMT</pubDate><dc:creator>Andrew Backer</dc:creator></item><item><title>RE: Create a basic windows auth app in an isolated DB?</title><link>http://forum.strataframe.net/FindPost3823.aspx</link><description>Setting the AllowWindowsAuth to True does not automatically log the user in....it still shows a logon screen.&amp;nbsp; The difference is that when using the windows authentication, the user is logged in checking the Windows environment rather than the SF user database.&lt;/P&gt;&lt;P&gt;You can see some more on this in the help docs under:&lt;/P&gt;&lt;P&gt;Security within the Application -&amp;gt; Logon - &amp;gt; Loggin into the Application</description><pubDate>Mon, 23 Oct 2006 16:53:29 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>