<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint world of ECM and Information Management : Security</title><link>http://msmvps.com/blogs/laflour/archive/tags/Security/default.aspx</link><description>Tags: Security</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>SharePoint Tip #36. Do you know “a cause of HTTP 400 Bad Request error when login to site” ?</title><link>http://msmvps.com/blogs/laflour/archive/2009/06/09/sharepoint-tip-36-do-you-know-a-cause-of-http-400-bad-request-error-when-login-to-site.aspx</link><pubDate>Mon, 08 Jun 2009 14:15:07 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1694552</guid><dc:creator>Michael</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/laflour/rsscomments.aspx?PostID=1694552</wfw:commentRss><comments>http://msmvps.com/blogs/laflour/archive/2009/06/09/sharepoint-tip-36-do-you-know-a-cause-of-http-400-bad-request-error-when-login-to-site.aspx#comments</comments><description>&lt;p&gt;Sometimes, you may find that you get “HTTP 400 Bad Request” error, or “HTTP 401.1 - Unauthorized: Logon Failed” error when navigate to &lt;strong&gt;local&lt;/strong&gt; SharePoint sites and asked for credentials tree times.&lt;/p&gt;  &lt;p&gt;This mostly happens for Web sites that use Integrated Authentication and have a name that is mapped to the local loopback address. More details in &lt;a href="http://support.microsoft.com/kb/896861" target="_blank"&gt;KB896861&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;Such situation is “behavior-by-design” and caused by Windows security updates, when authentication fails if the FQDN (fully qualified SND name) or the custom host header does not match the local computer name. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;: run REGEDIT and create DWORD “DisableLoopbackCheck” equal “1” in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa.&lt;/p&gt;  &lt;p&gt;PS: I actually had all my sites inaccessible after bunch of security updates on Windows 2008 before and after installing SharePoint SP2.&lt;/p&gt;  &lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.danielbrown.id.au/Lists/Posts/Post.aspx?List=e6afca32-6eca-4e1d-ae25-02099bb9b3b6&amp;amp;ID=284" target="_blank"&gt;Source&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;Have anything to add?! Send your tips to be published via &lt;/i&gt;&lt;a href="http://msmvps.com/blogs/laflour/contact.aspx"&gt;&lt;i&gt;this form&lt;/i&gt;&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1694552" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/laflour/archive/tags/SharePoint+Tips+and+Tricks/default.aspx">SharePoint Tips and Tricks</category><category domain="http://msmvps.com/blogs/laflour/archive/tags/Security/default.aspx">Security</category></item><item><title>SharePoint Tip #32. Do you know “which identity is used when you deploy WorkFlow from Visual Studio and SharePoint Designer”?</title><link>http://msmvps.com/blogs/laflour/archive/2009/05/03/sharepoint-tip-32-do-you-know-which-identity-is-used-when-you-depoy-workflow-from-visual-studio-and-sharepoint-designer.aspx</link><pubDate>Sun, 03 May 2009 01:30:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1691674</guid><dc:creator>Michael</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/laflour/rsscomments.aspx?PostID=1691674</wfw:commentRss><comments>http://msmvps.com/blogs/laflour/archive/2009/05/03/sharepoint-tip-32-do-you-know-which-identity-is-used-when-you-depoy-workflow-from-visual-studio-and-sharepoint-designer.aspx#comments</comments><description>&lt;p&gt;SharePoint provides you two approaches to design and deploy WorkFlows - via SharePoint Designer(SPD) and using Visual Studio. But you should be aware that deployment of WorkFlows has some differences in the security model that might cause you permissions issues.&lt;/p&gt;
&lt;p&gt;SharePoint&amp;nbsp;has its own security model to resolve the user&amp;#39;s windows identity for all activities. It uses either IIS application pool user or the WSS Timer user for scheduled stimulations. Such behavior is the same for both Visual Studio and SharePoint Designer workflows, when actual windows identity doesn&amp;#39;t matter.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;There are two differences in the resolving SPUser name, when you deploy WF from Visual Studio and SharePoint Designer:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Visual Studio developed Workflows&lt;/strong&gt;&amp;nbsp;are deployed at the server level, run under the&amp;nbsp;&lt;i&gt;System Account&lt;/i&gt;. They do not require any
permissions by the user/initiator of the workflow.Also these workflows
are strong named and placed in the GAC. The actual SPUser user name come from SPWorkflowActivationProperties, which is System Account.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SharePoint Designer developed workflows&lt;/strong&gt;&amp;nbsp;(or usually called &amp;lsquo;Declarative&amp;rsquo; workflows) have only the permissions that the initiator has. Any actions that the workflow needs to perform &lt;i&gt;will inherit the permissions of the initiator&lt;/i&gt; and &lt;strong&gt;NOT &lt;/strong&gt;the &lt;i&gt;System account&lt;/i&gt;. The SPUser get from the WorkflowContext.Site object, that impersonated to the workflow&amp;#39;s author, the
user who started the workflow.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Sources: &lt;a href="http://cglessner.blogspot.com/2008/09/sharepoint-workflows-and-security.html" target="_blank"&gt;1&lt;/a&gt;, &lt;a href="http://blogs.msdn.com/aaronsaikovski/archive/2009/02/16/sharepoint-workflow-permissions-tip.aspx" target="_blank"&gt;2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;Have anything to add?! Send your tips to be published via&amp;nbsp;&lt;/i&gt;&lt;a href="http://msmvps.com/blogs/laflour/contact.aspx"&gt;&lt;i&gt;this form&lt;/i&gt;&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1691674" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/laflour/archive/tags/Workflow/default.aspx">Workflow</category><category domain="http://msmvps.com/blogs/laflour/archive/tags/SharePoint+Tips+and+Tricks/default.aspx">SharePoint Tips and Tricks</category><category domain="http://msmvps.com/blogs/laflour/archive/tags/Security/default.aspx">Security</category></item><item><title>SharePoint Tip #28. Do you know “that Limited Access permission used to traverse access to items”?</title><link>http://msmvps.com/blogs/laflour/archive/2009/03/29/sharepoint-tip-28-do-you-know-that-limited-access-permission-used-to-traverse-access-to-items.aspx</link><pubDate>Sun, 29 Mar 2009 02:04:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1682860</guid><dc:creator>Michael</dc:creator><slash:comments>13</slash:comments><description>&lt;p&gt;SharePoint provides different levels of permissions, from the &amp;ldquo;Full Access&amp;rdquo; to &amp;ldquo;Limited Access&amp;rdquo;. Last one is not documented clearly and designed to cover some side-effects of item&amp;rsquo;s hierarchy.&lt;/p&gt;
&lt;p&gt;Cite from &amp;ldquo;&lt;a href="http://office.microsoft.com/en-us/help/HA101001491033.aspx"&gt;Permission levels and permissions&lt;/a&gt;&amp;rdquo; article:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;&lt;em&gt;The Limited Access permission level is designed to be combined with fine-grained permissions to give users access to a specific list, document library, item, or document, without giving them access to the entire site. However, to access a list or library, for example, a user must have permission to open the parent Web site and read shared data such as the theme and navigation bars of the Web site. The Limited Access permission level cannot be customized or deleted&lt;/em&gt;&amp;rdquo; &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;quot;Limited Access&amp;quot; allows no direct access to site content at all, but is intended to allow users to traverse the site in order to access the items within it that they have explicit permissions to see. &lt;/p&gt;
&lt;p&gt;For example, the user might have access only to one page of a site, but still need access to style sheets and other supporting site infrastructure in order to view it. In that case the user would need &amp;quot;Limited Access&amp;quot; permissions on the site and &amp;quot;Restricted Access&amp;quot; to the page.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;Current &amp;quot;SharePoint Tips and Tricks&amp;quot; series has been moved to its own &amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;&lt;a href="http://sharepoint.devs-sandbox.com/index.php?/Tips-and-Tricks/Administration/tip-28-how-to-use-qlimited-accessq-permission.html"&gt;SharePoint SandBox&lt;/a&gt;&lt;/strong&gt;&lt;strong&gt;&amp;quot; site, to leave the place for others SharePoint posts on this blog&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1682860" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/laflour/archive/tags/SharePoint+Tips+and+Tricks/default.aspx">SharePoint Tips and Tricks</category><category domain="http://msmvps.com/blogs/laflour/archive/tags/Security/default.aspx">Security</category></item><item><title>SharePoint Tip #13. Do you know “that people picker selects disable account by default”?</title><link>http://msmvps.com/blogs/laflour/archive/2009/02/17/sharepoint-tip-13-do-you-know-that-people-picker-selects-disable-account-by-default.aspx</link><pubDate>Mon, 16 Feb 2009 14:36:20 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1672605</guid><dc:creator>Michael</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/laflour/rsscomments.aspx?PostID=1672605</wfw:commentRss><comments>http://msmvps.com/blogs/laflour/archive/2009/02/17/sharepoint-tip-13-do-you-know-that-people-picker-selects-disable-account-by-default.aspx#comments</comments><description>&lt;p&gt;People Picker is a nice feature of SharePoint which allows search for a user/group when assigning permissions for example. But it has one issue, selecting accounts and groups which are “disabled” by default. To do this you need to apply LDAP filters via STSADM command&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm -o setproperty -pn peoplepicker-searchadcustomfilter -url &lt;/font&gt;&lt;a href="http://&amp;lt;site&amp;gt;"&gt;&lt;font face="Courier New"&gt;&amp;quot;&amp;gt;&amp;quot;&amp;gt;http://&amp;lt;site&amp;gt;&lt;/font&gt;&lt;/a&gt;&lt;font face="Courier New"&gt; –pv (!userAccountControl=514)&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sharepoint.microsoft.com/blogs/fromthefield/Lists/Posts/Post.aspx?ID=66" target="_blank"&gt;Source&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Have anything to add?! Send your tips to be published via &lt;/em&gt;&lt;a href="http://msmvps.com/blogs/laflour/contact.aspx"&gt;&lt;em&gt;this form&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1672605" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/laflour/archive/tags/SharePoint+Tips+and+Tricks/default.aspx">SharePoint Tips and Tricks</category><category domain="http://msmvps.com/blogs/laflour/archive/tags/Security/default.aspx">Security</category><category domain="http://msmvps.com/blogs/laflour/archive/tags/Administration/default.aspx">Administration</category></item><item><title>SharePoint Tip #2. Do you know “why OOTB Roles must be customized”?</title><link>http://msmvps.com/blogs/laflour/archive/2009/01/28/sharepoint-tip-2-do-you-know-why-ootb-roles-must-be-customized.aspx</link><pubDate>Tue, 27 Jan 2009 20:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1666534</guid><dc:creator>Michael</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/laflour/rsscomments.aspx?PostID=1666534</wfw:commentRss><comments>http://msmvps.com/blogs/laflour/archive/2009/01/28/sharepoint-tip-2-do-you-know-why-ootb-roles-must-be-customized.aspx#comments</comments><description>&lt;p&gt;SharePoint has predefined set of OOTB permissions level, such as: Full Control, Contributor, Designer, and etc. But those permissions not always provide you desired functionality &amp;ndash; its either too wide or very narrow.&lt;/p&gt;
&lt;p&gt;Start out with a small set of users who have the fewest permissions possible, to avoid [Your_Headache = Number_of_Users X User_Permissions]&amp;nbsp; because out-of-the-box permissions levels either too liberal or they are too limiting&lt;/p&gt;
&lt;p&gt;The most commons scenario of role customization you can meet is Design role in publishing sites. When you have an approval workflow and assigned specific user to &amp;ldquo;Design&amp;rdquo; role as approver you need to take into account that &amp;ldquo;Design&amp;rdquo; role has delete permissions. So, what actually happens, sooner or later, is that your approver accidently deletes what he needs to approve :) It&amp;rsquo;s not what you expect from him. &lt;/p&gt;
&lt;p&gt;The solution for this is to edit OOTB permissions for Designer roles and to prohibit &amp;ldquo;delete items&amp;rdquo; action, or create new role. And pay attention to roles you are using in production system just to avoid such cases.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;ldquo;&lt;i&gt;Have anything to add?! Send your tips to be published via &lt;/i&gt;&lt;a href="http://msmvps.com/blogs/laflour/contact.aspx" target="_blank"&gt;&lt;i&gt;this form&lt;/i&gt;&lt;/a&gt;&amp;ldquo;&lt;a href="http://blah.winsmarts.com/2007-4-SharePoint_2007__Fine_grained_permission_control.aspx"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1666534" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/laflour/archive/tags/SharePoint+Tips+and+Tricks/default.aspx">SharePoint Tips and Tricks</category><category domain="http://msmvps.com/blogs/laflour/archive/tags/Security/default.aspx">Security</category><category domain="http://msmvps.com/blogs/laflour/archive/tags/Administration/default.aspx">Administration</category></item></channel></rss>