<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : [SOLVED] Security</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : [SOLVED] Security</description>
  <pubDate>Thu, 11 Jun 2026 18:01:34 -700</pubDate>
  <lastBuildDate>Wed, 19 Sep 2007 12:57:30 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=428</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>[SOLVED] Security : Great! </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1225#1225</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 428<br /><strong>Posted:</strong> 19-Sep-2007 at 12:57pm<br /><br />Great!]]>
   </description>
   <pubDate>Wed, 19 Sep 2007 12:57:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1225#1225</guid>
  </item> 
  <item>
   <title>[SOLVED] Security : Two issues worked against me:...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1223#1223</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 428<br /><strong>Posted:</strong> 19-Sep-2007 at 12:28pm<br /><br />Two issues worked against me: <DIV>&nbsp;</DIV><DIV>1)&nbsp; The "acc.Value" from the above code returns an ALL CAPS string.&nbsp; I just needed to make the ProfileCatalog entries reflect that.</DIV><DIV>2)&nbsp; The domain name is included in the group name (or local machine, if a local group), so I needed to remove the domain name from the string.</DIV><DIV>&nbsp;</DIV><DIV>It is working, now.&nbsp; <img src="http://www.ideablade.com/forum/smileys/smiley32.gif" height="17" width="18" border="0" align="absmiddle" alt="Clap" /></DIV><span style="font-size:10px"><br /><br />Edited by Linguinut - 19-Sep-2007 at 12:29pm</span>]]>
   </description>
   <pubDate>Wed, 19 Sep 2007 12:28:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1223#1223</guid>
  </item> 
  <item>
   <title>[SOLVED] Security : All rolesshould be retrieved from...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1220#1220</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 428<br /><strong>Posted:</strong> 19-Sep-2007 at 12:06pm<br /><br /><P>All roles&nbsp;should be retrieved from the Active Directory.</P><DIV>The LoginManager did not have the GetUserRoles method implemented, so I added code to iterate through the WindowsIdentity groups collection and slipped each group name into the string collection that is returned to create the IPrincipal object.</DIV><DIV>&nbsp;</DIV><DIV><EM>This does not work</EM>.&nbsp; Either the LoginManager is not being called (although the LoginManagerRequired property of the ibConfig file is set to true--debugging now), or I implemented the&nbsp;GetUserRoles method improperly, as follows.&nbsp; </DIV><DIV><FONT color=#2b91af size=2><BR>WindowsIdentity</FONT><FONT size=2> wid = </FONT><FONT color=#2b91af size=2>WindowsIdentity</FONT><FONT size=2>.GetCurrent(</FONT><FONT color=#0000ff size=2>false</FONT><FONT size=2>);<BR></FONT><FONT color=#2b91af size=2>List</FONT><FONT size=2>&lt;</FONT><FONT color=#0000ff size=2>string</FONT><FONT size=2>&gt; groups = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>List</FONT><FONT size=2>&lt;</FONT><FONT color=#0000ff size=2>string</FONT><FONT size=2>&gt;();<BR></FONT><FONT color=#2b91af size=2>IdentityReferenceCollection</FONT><FONT size=2> irc = wid.Groups.Translate(</FONT><FONT color=#0000ff size=2>typeof</FONT><FONT size=2>(</FONT><FONT color=#2b91af size=2>NTAccount</FONT><FONT size=2>));<BR></FONT><FONT color=#0000ff size=2>foreach</FONT><FONT size=2> (</FONT><FONT color=#2b91af size=2>NTAccount</FONT><FONT size=2> acc </FONT><FONT color=#0000ff size=2>in</FONT><FONT size=2> irc)<BR>{<BR>groups.Add(acc.Value);<BR>}<BR></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> groups.ToArray();</DIV></FONT><DIV>&nbsp;</DIV><DIV>Another consideration is the "Applicable to server only" statement.&nbsp; If I am running this app without BOS (for development purposes), then is the login manager not being used?</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>Bill</DIV><span style="font-size:10px"><br /><br />Edited by Linguinut - 19-Sep-2007 at 12:11pm</span>]]>
   </description>
   <pubDate>Wed, 19 Sep 2007 12:06:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1220#1220</guid>
  </item> 
  <item>
   <title>[SOLVED] Security : How are you authorizing (assigning...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1201#1201</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 428<br /><strong>Posted:</strong> 18-Sep-2007 at 1:42pm<br /><br /><P>How are you authorizing (assigning roles)?&nbsp; Are roles stored in the your database?&nbsp; How do they find their way into the Principal for the running application?</P><DIV>See the Login() method at LoginManager (in CabanaCo.Cabana.Model) line 76.</DIV><DIV>&nbsp;</DIV><DIV>Bill J.</DIV>]]>
   </description>
   <pubDate>Tue, 18 Sep 2007 13:42:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1201#1201</guid>
  </item> 
  <item>
   <title>[SOLVED] Security : Yup. Essentially. That is exactly...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1196#1196</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 428<br /><strong>Posted:</strong> 18-Sep-2007 at 12:18pm<br /><br />Yup.&nbsp; Essentially.&nbsp; That is exactly what I expected; however, that is not what is happening.&nbsp; I made myself a member of the sales group, but the module does not load.&nbsp; I also added the "Domain Admins" group to the module (which I am already a part of) --&nbsp;&lt;Role Allow="Domain Admins"/&gt;&nbsp;--, but that did not work, either.&nbsp; Is there something else I need to "turn on" or "turn off" within the app?<DIV>&nbsp;</DIV><DIV>I expect this would work on a view level, too, if I utilized the proper attributes and reflection.&nbsp; Is that right?&nbsp; </DIV>]]>
   </description>
   <pubDate>Tue, 18 Sep 2007 12:18:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1196#1196</guid>
  </item> 
  <item>
   <title>[SOLVED] Security : CAB only loads the Spiratex.Aspire.Sales...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1195#1195</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 428<br /><strong>Posted:</strong> 18-Sep-2007 at 11:04am<br /><br /><P>CAB only loads the Spiratex.Aspire.Sales module if the current Principal responds true to IsInRole("Sales").</P><DIV>Is that the question?</DIV><DIV>&nbsp;</DIV><DIV>Bill J.</DIV>]]>
   </description>
   <pubDate>Tue, 18 Sep 2007 11:04:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1195#1195</guid>
  </item> 
  <item>
   <title>[SOLVED] Security : How does the following actually...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1187#1187</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 428<br /><strong>Posted:</strong> 17-Sep-2007 at 10:47am<br /><br /><P>How does the following actually work?</P><DIV><FONT color=#0000ff size=2>&lt;</FONT><FONT color=#a31515 size=2>Section</FONT><FONT color=#0000ff size=2> </FONT><FONT color=#ff0000 size=2>Name</FONT><FONT color=#0000ff size=2>=</FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2>Sales</FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2>&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;</FONT><FONT color=#a31515 size=2>Dependencies</FONT><FONT color=#0000ff size=2>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;</FONT><FONT color=#a31515 size=2>Dependency</FONT><FONT color=#0000ff size=2> </FONT><FONT color=#ff0000 size=2>Name</FONT><FONT color=#0000ff size=2>=</FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2>Foundation</FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2> /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/</FONT><FONT color=#a31515 size=2>Dependencies</FONT><FONT color=#0000ff size=2>&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;</FONT><FONT color=#a31515 size=2>Modules</FONT><FONT color=#0000ff size=2>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;</FONT><FONT color=#a31515 size=2>ModuleInfo</FONT><FONT color=#0000ff size=2> </FONT><FONT color=#ff0000 size=2>AssemblyFile</FONT><FONT color=#0000ff size=2>=</FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2>Spiratex.Aspire.Sales.dll</FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;</FONT><FONT color=#a31515 size=2>Roles</FONT><FONT color=#0000ff size=2>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;</FONT><FONT color=#a31515 size=2>Role</FONT><FONT color=#0000ff size=2> </FONT><FONT color=#ff0000 size=2>Allow</FONT><FONT color=#0000ff size=2>=</FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2>Sales</FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2>/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/</FONT><FONT color=#a31515 size=2>Roles</FONT><FONT color=#0000ff size=2>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/</FONT><FONT color=#a31515 size=2>ModuleInfo</FONT><FONT color=#0000ff size=2>&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/</FONT><FONT color=#a31515 size=2>Modules</FONT><FONT color=#0000ff size=2>&gt;<BR>&lt;/</FONT><FONT color=#a31515 size=2>Section</FONT><FONT color=#0000ff size=2>&gt;<BR><BR><FONT color=#000000>Will this work if I have an AD group called 'Sales'?</FONT></FONT></DIV><span style="font-size:10px"><br /><br />Edited by Linguinut - 17-Sep-2007 at 1:50pm</span>]]>
   </description>
   <pubDate>Mon, 17 Sep 2007 10:47:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1187#1187</guid>
  </item> 
  <item>
   <title>[SOLVED] Security : Well, for one, I could load/not...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1181#1181</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 428<br /><strong>Posted:</strong> 14-Sep-2007 at 9:37am<br /><br /><P>Well, for one, I could load/not load modules based on the user's role.&nbsp; This involves the ProfileCatalog.xml file in some way.&nbsp; Also, I want to make sure that I am not missing out on taking advantage of IOC/dependency injection.&nbsp; A service would be a great place to put this kind of thing, I imagine.&nbsp; That kind of application structure is a bit different.</P><P>Nevertheless, I am looking at any documentation, samples and videos that I can lay my hands on.&nbsp; I am currently reviewing (again) your seminar on Securing Your Application.</P><P>Thanks!<BR>Bill</P>]]>
   </description>
   <pubDate>Fri, 14 Sep 2007 09:37:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1181#1181</guid>
  </item> 
  <item>
   <title>[SOLVED] Security : Idon&amp;#039;t know why you would...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1177#1177</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 428<br /><strong>Posted:</strong> 13-Sep-2007 at 7:01pm<br /><br /><P>I&nbsp;don't know why you would look at role-based authorizarion in Cabana applications any differently than you would look at role-based authorization in any other kind of IdeaBlade application.&nbsp; In particular, I encourage you to look at the Advanced Tutorial on Role-based Authorization.</P>]]>
   </description>
   <pubDate>Thu, 13 Sep 2007 19:01:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1177#1177</guid>
  </item> 
  <item>
   <title>[SOLVED] Security : No problem. I can introduce the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1175#1175</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 428<br /><strong>Posted:</strong> 13-Sep-2007 at 5:23pm<br /><br />No problem.&nbsp; I can introduce the security aspect later in the project.]]>
   </description>
   <pubDate>Thu, 13 Sep 2007 17:23:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1175#1175</guid>
  </item> 
  <item>
   <title>[SOLVED] Security : This question is a little like...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1173#1173</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 428<br /><strong>Posted:</strong> 13-Sep-2007 at 5:13pm<br /><br />This question is a little like asking "In 25 words or less...discuss China".<DIV>&nbsp;</DIV><DIV>I'm out of the office through Monday.&nbsp; I'll be happy to address this when I return on Tuesday.</DIV><DIV>&nbsp;</DIV><DIV>Bill J.</DIV>]]>
   </description>
   <pubDate>Thu, 13 Sep 2007 17:13:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1173#1173</guid>
  </item> 
  <item>
   <title>[SOLVED] Security : What is the best way to handle...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1172#1172</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 428<br /><strong>Posted:</strong> 13-Sep-2007 at 1:18pm<br /><br />What is the best way to handle role-based security in the CAB? <DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>Bill</DIV><span style="font-size:10px"><br /><br />Edited by Linguinut - 19-Sep-2007 at 12:30pm</span>]]>
   </description>
   <pubDate>Thu, 13 Sep 2007 13:18:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=428&amp;PID=1172#1172</guid>
  </item> 
 </channel>
</rss>