﻿<?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 » Issues  » Security and 1.7.0</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 29 May 2026 12:44:26 GMT</lastBuildDate><ttl>20</ttl><item><title>Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24044.aspx</link><description>After wrestling all week with the update for SF, I finally posted my application code to the server (click-once deployment).  Users today are telling me that they have access to everything in my secured application...all menus and all forms.  RBS does not seem to be engaged.  Not good.</description><pubDate>Mon, 03 Aug 2009 13:45:34 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24089.aspx</link><description>Have Fun!!! :D</description><pubDate>Mon, 03 Aug 2009 13:45:34 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24087.aspx</link><description>I don't mean to point fingers at the update.  My problem resided in the assembly nightmare (points at the GAC).  So many goofy things were going on ever since the attempts to update that all I am doing is using that as a checkpoint.  I was hoping there was some kind of security settings that may have been reset because of mismatching assemblies.  In a different thread, I discovered that form control properties were reset because of assembly problems.  I was thinking this was a similar issue.&lt;br&gt;
&lt;br&gt;
It is working.  I can actually start my vacation, now.  :w00t:</description><pubDate>Mon, 03 Aug 2009 13:42:59 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24082.aspx</link><description>[quote]The code that I added sets the default action. The application works, now. The code I commented out *did* work before the update.[/quote]&lt;br&gt;
&lt;br&gt;
The code that you set is what should have been set all along.  I know that everybody like pointing fingers at updates (me included), but this hasn't changed since the very beginning of the RBS of SF.  At any rate, glad you got it going.</description><pubDate>Mon, 03 Aug 2009 13:30:35 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24081.aspx</link><description>Hi Bill,&lt;br&gt;
&lt;br&gt;
This is what I have in my AppMain.vb InitApplication()&lt;br&gt;
[codesnippet]&lt;br&gt;
'-- Set the default actions for security enabled objects within the application&lt;br&gt;
        SecurityBasics.DefaultPermissionInfo = New PermissionInfo(PermissionAction.Deny, _&lt;br&gt;
            "Access Denied.", DeniedActions.Message)&lt;br&gt;
        SecurityBasics.DefaultPermissionAction = PermissionAction.Deny&lt;br&gt;
        SecurityBasics.DefaultBlockedMsg = "Access Denied."&lt;br&gt;
        'SecurityBasics.DefaultBlockedMsgKey = "AccessDeniedKey"&lt;br&gt;
        SecurityBasics.BlockedReplacementCharacter = "*"c&lt;br&gt;
        SecurityBasics.BlockedReplacementRegex = "[A-Za-z0-9@]"&lt;br&gt;
[/codesnippet]&lt;br&gt;
&lt;br&gt;
If this is an old application, try creating a new SF project and compare the code in the program.cs with yours, probably something may have changed before.</description><pubDate>Mon, 03 Aug 2009 13:21:44 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24080.aspx</link><description>Here is what I did in the InitApplication method:&lt;br&gt;
&lt;br&gt;
SecurityBasics.DefaultPermissionAction = PermissionAction.Deny;&lt;br&gt;
//SecurityBasics.DefaultPermissionInfo = new PermissionInfo(PermissionAction.Deny);&lt;br&gt;
&lt;br&gt;
The code that I added sets the default action.  The application works, now.  The code I commented out *did* work before the update.  &lt;br&gt;
&lt;br&gt;
Why this new code works?  I dunno.  :blink:</description><pubDate>Mon, 03 Aug 2009 13:10:38 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24078.aspx</link><description>Each role that I cycle through for the SF user after authenticating is coming back as Granted, although only one, Accounting, has been allowed for that user.  All roles should be denied expect the accounting role/permission.  Why would that be happening?</description><pubDate>Mon, 03 Aug 2009 12:51:50 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24076.aspx</link><description>An SF user using standard authentication has full access.  The user has only accounting access.  For some reason, the permissions are not being read properly.  It is as if the default for all roles/permissions is 'granted'.  I will write something to review the user's privileges.</description><pubDate>Mon, 03 Aug 2009 11:55:47 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24071.aspx</link><description>Well, the first thing I would do is to log in with an SF user using standard authentication to see if you have the same results.  Next, I would take a single user, verify the permissions, etc. and immediately after logging in, I would write a little test and verify that the user's permissions were granted and denied appropriately.&lt;br&gt;
&lt;br&gt;
If this works, then I would back up one step and try it for an AD authentication and go through the same process.&lt;br&gt;
&lt;br&gt;
So let's work from the most granular level first by looking at permissions for a particular user to ensure that they are pulled (and stored) int he DB properly.</description><pubDate>Mon, 03 Aug 2009 09:54:00 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24070.aspx</link><description>Let's say I had a problem with assemblies not matching (and, I did).  In what way could the security subsystem be changed so that it is not actually working?  When my assemblies were messed up, some controls were overwritten.  Perhaps, something was changed in security somewhere.  Is there any place that I could look to determine why the security is not working.  The app works fine...it is as if everyone has access to everything despite the fact that I have this code in my program.cs:&lt;br&gt;
&lt;br&gt;
[codesnippet]SecurityBasics.DefaultPermissionInfo = new PermissionInfo(PermissionAction.Deny);[/codesnippet]</description><pubDate>Mon, 03 Aug 2009 09:33:06 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24052.aspx</link><description>Bill,&lt;br&gt;
&lt;br&gt;
I don't think that this one is on us.  We have been doing this for quite some time now and we too have rolled this out into the field.  I think that there is something else going on within your code.  If you are using AD for authentication, this definitely cannot be SF as we don't do the authentication at this point.  This is all pass-through.  The only thing handled by SF when authenticating off of AD is that once you authenticate, then we use the user name to associated permissions, etc. to the user.&lt;br&gt;
&lt;br&gt;
More information is definitely needed on this one.</description><pubDate>Mon, 03 Aug 2009 08:25:53 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24046.aspx</link><description>I am integrating AD with RBS in SF.  Since I am both a network admin as well as set as a system admin in the RBS, I am unable to tell when debugging.  It was brought to my attention after I had released the update.  Never expected a problem with security.  And, it is a sticky one, too.</description><pubDate>Sun, 02 Aug 2009 12:08:08 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Security and 1.7.0</title><link>http://forum.strataframe.net/FindPost24045.aspx</link><description>Bill, I haven't rolled out 1.70 to my customers but the security is working when I run the application on my development PC. Is the security failing on your development system?</description><pubDate>Sun, 02 Aug 2009 07:35:31 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item></channel></rss>