{"id":550,"date":"2008-11-20T20:33:45","date_gmt":"2008-11-21T03:33:45","guid":{"rendered":"https:\/\/www.zubairalexander.com\/stage\/?p=550"},"modified":"2018-01-28T17:26:25","modified_gmt":"2018-01-29T00:26:25","slug":"good-stuff-to-know-about-sharepoint-files-folders-urls-sites-and-the-like","status":"publish","type":"post","link":"https:\/\/www.zubairalexander.com\/blog\/good-stuff-to-know-about-sharepoint-files-folders-urls-sites-and-the-like\/","title":{"rendered":"Good Stuff to Know About SharePoint Files, Folders, URLs, Sites and the Like"},"content":{"rendered":"<p><span style=\"font-family: Verdana;\">When working with SharePoint, one question that comes up often is what are the restrictions on file names, folders, and URLs. I have been gathering information from various Microsoft resources to compile a list. The following applies to WSS 2.0, WSS 3.0, SPS 2003, and MOSS 2007.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\"><strong>File &amp; Folder Restrictions<\/strong> <\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; You cannot use the characters <\/span><strong> <span style=\"font-family: 'Verdana'; color: black;\">&#8221; # % &amp; * : &lt; &gt; ? \\ \/ { | } ~<\/span><\/strong> <span style=\"font-family: Verdana;\">in a file or folder name.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; A file or folder name in a URL cannot contain more than 128 characters in WSS 2.0\/3.0 and MOSS.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; You cannot start or end a file name or folder with a period. For example, <em>.MyFile.docx<\/em> and <em>MyFile.docx.<\/em> are both invalid names.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; Periods are not allowed consecutively in the middle of a file or folder name. For example, <em>My..Project.file<\/em> is not a valid name.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\"> <strong>URL Restrictions<\/strong><\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; As a best practice do not use URLs longer than 256 so users can include the links in the links list, as mentioned in Miscellaneous section below.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\"> <strong>Site Restrictions<\/strong><\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; You cannot use the characters <\/span><strong> <span style=\"font-family: 'Verdana'; color: black;\">&#8221; # % &amp; * : &lt; &gt; ? \\ \/ { | } ~<\/span><\/strong><span style=\"font-family: 'Verdana'; color: black;\"> in a site name.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; You cannot start a site name with an underscore. For example, <em>_MySite<\/em> is not a valid name for a site or a subsite.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; Periods are not allowed consecutively in the middle of a site name. For example, <em>My..Site<\/em> is not a valid name.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; You cannot start or end a site name with a period. For example, <em>.MySite<\/em> and <em>MySite.<\/em> are both invalid names.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\"> <strong>Document Libraries<\/strong><\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; If you use one of the following characters in a Document Library they will be removed: Comma, hyphen, period, left and right parenthesis ().<\/span><\/p>\n<p><span style=\"font-family: Verdana;\"><strong>Miscellaneous Tips<\/strong> <\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; Do not use underscores in a site name. Although allowed, Microsoft discourages it.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; Link list items cannot be more than 256 characters.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; If you want to restrict users from creating site names that are too long and will cause problems, you can use the site creation management Web part from Bamboo.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; Blocked file uploads can be easily bypassed in SharePoint by simply renaming the file. For example, <em>report.exe<\/em> can be easily uploaded by renaming it to <em>report.exz<\/em>. You will be able to save it to another location and then rename it back. However, you won&#8217;t be able to execute it on the server because it will be blocked by SharePoint.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; ForeFront Security for SharePoint will block files based on their content.<\/span><\/p>\n<p><span style=\"font-family: Verdana;\">&#8211; Former MVP and now Microsoft employee Angus Logan has documented a method to validate SharePoint file names on upload.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When working with SharePoint, one question that comes up often is what are the restrictions on file names, folders, and URLs. I have been gathering information from various Microsoft resources to compile a list. The following applies to WSS 2.0, WSS 3.0, SPS 2003, and MOSS 2007. File &amp; Folder Restrictions &#8211; You cannot use [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":5312,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[54,11],"tags":[],"class_list":["post-550","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sharepoint","category-tips-tricks"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/sharepoint_2013_logo.png","_links":{"self":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/comments?post=550"}],"version-history":[{"count":0,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/550\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media\/5312"}],"wp:attachment":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media?parent=550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/categories?post=550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/tags?post=550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}