﻿<?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 » WinForms (How do I?)  » Detailed security</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 11 Sep 2026 15:28:35 GMT</lastBuildDate><ttl>20</ttl><item><title>Detailed security</title><link>http://forum.strataframe.net/FindPost25754.aspx</link><description>How detailed is the security in strataframe? I know menus and pages can be disabled. But can they be hidden as not seen. Also, does strataframe support field level security? &lt;/P&gt;&lt;P&gt;Rudolph</description><pubDate>Sun, 07 Feb 2010 17:28:46 GMT</pubDate><dc:creator>Coolbreeze</dc:creator></item><item><title>RE: Detailed security</title><link>http://forum.strataframe.net/FindPost25828.aspx</link><description>Thanks Trent&lt;BR&gt;Sounds good.&lt;/P&gt;&lt;P&gt;Rudolph</description><pubDate>Sun, 07 Feb 2010 17:28:46 GMT</pubDate><dc:creator>Coolbreeze</dc:creator></item><item><title>RE: Detailed security</title><link>http://forum.strataframe.net/FindPost25823.aspx</link><description>Rudolph,&lt;P&gt;The logic you are trying to produce is actually very possible and is something that we even do ourselves in our medical application.&amp;nbsp; In fact, we have one dialog that is extremely complex in our medical application called Patient Registration.&amp;nbsp; We have the ability to allow users to do the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;View but not edit&lt;/LI&gt;&lt;LI&gt;Edit some fields like the name and phone numbers, but cannot see or change anything else&lt;/LI&gt;&lt;LI&gt;Allow users to add but not edit&lt;/LI&gt;&lt;LI&gt;Other field level security such as social security cannot be read as it uses replacement characters but they can modify basic demographic information&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There are many other security permissions on this dialog as well, but the point is you can get as sophisticated and complex as you like.&amp;nbsp; I have yet to run into a scenario where I couldn't secure something that way that we needed to...that is why the RBS continues to grow and evolve to support all of these types of scenarios! :)</description><pubDate>Sun, 07 Feb 2010 10:44:51 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Detailed security</title><link>http://forum.strataframe.net/FindPost25821.aspx</link><description>Hi Rudolph.&lt;/P&gt;&lt;P&gt;One way to apply security into a SF application is to do it programatically. So lets say you would like to hide a menu item based on the user permissions, the following code could be used to accomplish that:&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If SecurityBasics.CurrentUser.GetPermission("Your Permission Key").Action = PermissionAction.Grant&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.YourMenuItem.Visible = True&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MeYourMenuItem.Visible = False&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;[/codesnippet]&lt;/P&gt;&lt;P&gt;Hope it helps.</description><pubDate>Sun, 07 Feb 2010 08:54:32 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Detailed security</title><link>http://forum.strataframe.net/FindPost25815.aspx</link><description>Rudolph, still is not clear what is it that you want.  Based on your image you already have it working, isn't that the case?&lt;br&gt;
&lt;br&gt;
If it is not working, then try to be more specific in what you want to accomplish. By reading the documentation and understanding how it works you can control every object in the form by checking for specific security permission that you should have been created first.&lt;br&gt;</description><pubDate>Sat, 06 Feb 2010 11:03:29 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Detailed security</title><link>http://forum.strataframe.net/FindPost25814.aspx</link><description>Hi&lt;/P&gt;&lt;P&gt;Thanks to all who responded. I am not certain how clear I was to you all so I have added a screen to be more graphic in my explanation. Let me know if it is possible in this fantistic framework.&lt;/P&gt;&lt;P&gt;Rudolph</description><pubDate>Sat, 06 Feb 2010 10:32:34 GMT</pubDate><dc:creator>Coolbreeze</dc:creator></item><item><title>RE: Detailed security</title><link>http://forum.strataframe.net/FindPost25768.aspx</link><description>There is also a really nice article on Les Pinter's website (&lt;A href="http://www.LesPinter.com"&gt;www.LesPinter.com&lt;/A&gt;) about Implementing Strataframe Security (article 412) that you might want to check out.</description><pubDate>Wed, 03 Feb 2010 23:07:45 GMT</pubDate><dc:creator>Russell Scott Brown</dc:creator></item><item><title>RE: Detailed security</title><link>http://forum.strataframe.net/FindPost25767.aspx</link><description>Thanks Eddy</description><pubDate>Wed, 03 Feb 2010 20:44:57 GMT</pubDate><dc:creator>Coolbreeze</dc:creator></item><item><title>RE: Detailed security</title><link>http://forum.strataframe.net/FindPost25764.aspx</link><description>Hi Rudolph,&lt;br&gt;
&lt;br&gt;
SF security is very powerful for the developer and easy to use for the End User.  I would suggest you carefully read the SF Security chapter in the help file as well as looking at the document posted by [url=http://forum.strataframe.net/Topic14216-26-1.aspx]Charles Thomas Blankenship[/url] in the "SF Users Contributed Samples" forum.</description><pubDate>Wed, 03 Feb 2010 20:19:15 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Detailed security</title><link>http://forum.strataframe.net/FindPost25763.aspx</link><description>O.k&lt;/P&gt;&lt;P&gt;Because I think it would be better to hide for instance, New on a form as oppose to when a user click on it, you Access Denied. &lt;/P&gt;&lt;P&gt;Looks more clean</description><pubDate>Wed, 03 Feb 2010 20:11:11 GMT</pubDate><dc:creator>Coolbreeze</dc:creator></item><item><title>RE: Detailed security</title><link>http://forum.strataframe.net/FindPost25758.aspx</link><description>It is extremely deep and does support field level security.  You can really customize how you want the field level security to behave as well on a per permission basis.  You can use replacement characters (i.e. xxx-xx-xxxx for a social security example) or have it show text (i.e. 'Access Denied').  As for hiding things, you bet.  You can inquire about a permission in code and basically do anything that you want:&lt;br&gt;
&lt;br&gt;
[quote]MyMenuItem.Visible = SecurityBasics.CurrentUser.GetPermission("MyKey").Action == Grant[/quote]&lt;br&gt;
&lt;br&gt;</description><pubDate>Wed, 03 Feb 2010 17:51:12 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>