﻿<?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  » Deny by default</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 24 May 2026 22:45:12 GMT</lastBuildDate><ttl>20</ttl><item><title>Deny by default</title><link>http://forum.strataframe.net/FindPost20885.aspx</link><description>Hi,&lt;br&gt;
I found that, if any permission key given is found from database, it will auto be granted.&lt;br&gt;
Is there any setting to change this behavour to always denied if not exist? Or, I need to subclasss LoggedInUser class?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Tue, 25 Nov 2008 05:10:08 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Deny by default</title><link>http://forum.strataframe.net/FindPost20888.aspx</link><description>Sorry, I pasted from the docs and didn't properly formatted it.&lt;P&gt;Specify Default Security Settings - The default permission action, blocked message (using plain text or a message key), replacement character, and replacement regex are specified using the following assignments within the InitApplication() method.&amp;nbsp; These may be changed as desired.&lt;/P&gt;&lt;P&gt;Security Settings (Visual Basic)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Access Denied.", DeniedActions.Message)&lt;BR&gt;SecurityBasics.&lt;FONT style="BACKGROUND-COLOR: #dddddd"&gt;DefaultPermissionAction&lt;/FONT&gt;= 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;</description><pubDate>Tue, 25 Nov 2008 05:10:08 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Deny by default</title><link>http://forum.strataframe.net/FindPost20887.aspx</link><description>Hi Chan.&lt;/P&gt;&lt;P&gt;Work with the DefaultPermissionAction&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN class=BlueHighlight&gt;Specify Default&amp;nbsp;Security Settings&lt;/SPAN&gt;&amp;nbsp;- The default permission action, blocked message (using plain text or a message key), replacement character, and replacement regex&amp;nbsp;are specified using the following assignments within the &lt;SPAN class=fth&gt;InitApplication()&lt;/SPAN&gt; method.&amp;nbsp; These may be changed as desired.&lt;BR&gt;&lt;/P&gt;&lt;DIV class=CodeHeader style="MARGIN-TOP: 10px"&gt;Security Settings (Visual Basic)&lt;/DIV&gt;&lt;DIV class=Code_VisualBasic&gt;&lt;PRE&gt;'-- Set the default actions for security enabled objects within the applicationSecurityBasics.DefaultPermissionInfo = New PermissionInfo(PermissionAction.Deny, _    "Access Denied.", DeniedActions.Message)SecurityBasics.&lt;FONT style="BACKGROUND-COLOR: #3399ff" color=#ffffff&gt;DefaultPermissionAction&lt;/FONT&gt; = PermissionAction.DenySecurityBasics.DefaultBlockedMsg = "Access Denied."'SecurityBasics.DefaultBlockedMsgKey = "AccessDeniedKey"SecurityBasics.BlockedReplacementCharacter = "*"cSecurityBasics.BlockedReplacementRegex = "[A-Za-z0-9@]"&lt;/PRE&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;</description><pubDate>Tue, 25 Nov 2008 05:07:36 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>