Edge
Test your edge
http://dev.modern.ie/
How funny, check this out!
http://ie6countdown.com/index.html
Edge
Test your edge
http://dev.modern.ie/
How funny, check this out!
http://ie6countdown.com/index.html
Mapping Crawled Properties to Managed Properties can get real tough!
So using PowerShell …
Note after running the above script notice that the xml contains the crawled properties!
For example ows_created_x0020_By =’CONTOSO\brianc’
So when mapping your crawled properties to the managed properties we can now get a true example.
Transition Steps – Making the Old New Again!
Old Create Content Screen _layouts/15/create.aspx
Good Series from FBWeb on SharePoint 2013 Upgrades
http://blog.fpweb.net/series/sharepoint-2013-upgrades-in-a-nutshell/
What's New
http://technet.microsoft.com/en-us/library/cc303422.aspx
What's Gone
http://technet.microsoft.com/en-us/library/ff607742%28v=office.15%29.aspx#section1
Office Issues – Office 2010 and 2013 products on same PC
http://sharepoint-community.net/profiles/blogs/sp2013-problem-office-2010-and-an-office-2013-product-on-same
What Might Not Work
http://en.share-gate.com/blog/not-working-after-sharepoint-migration-to-2013
Documents can be redirected to document sets but there is a trick.
Copy and paste the Document Set URL since document sets do not appear when you browse during rule creation. Thank you Michal
http://www.sharepointanalysthq.com/2010/09/using-the-content-organizer-to-route-to-a-document-set/
The Content Organizer has the following limitations that you should beware of:
Here is the list of shortcomings:
Some other important points to notice:
See Also:
SharePoint 2010 Content Organizer Part 1 - A Cool New Feature for Managing Your Content [TechNet]
Metadata-based routing and storage overview (SharePoint Server 2010) [TechNet]
http://sharepointlessons.blogspot.com/2010/03/content-organizer-document-routing.html
http://www.get-sp.com/2014/05/problems-with-content-organizer-10.html
Note that you can use a wildcard entry as per this blog thx Todd
Microsoft now recommends using no host header
https://technet.microsoft.com/en-us/library/cc424952.aspx#section2a
https://sergeluca.wordpress.com/2014/01/13/creating-host-named-site-collections-in-sharepoint-2013/
Note you will need to add the following for the above example powershell to work properly.
Three lines of powershell from Technet
New-SPWebApplication -Name 'Contoso Sites' `
-port 80 -ApplicationPool ContosoAppPool `
-ApplicationPoolAccount `
(Get-SPManagedAccount 'Contoso\JDoe') `
-AuthenticationProvider ~
(New-SPAuthenticationProvider `
-UseWindowsIntegratedAuthentication)
New-SPSite 'http://nyc-sp1' -Name 'Portal' `
-Description 'Portal on root' `
-OwnerAlias 'contoso\administrator' `
-language 1033 -Template 'STS#0'
New-SPSite 'http://portal.contoso.com' `
-HostHeaderWebApplication 'http://nyc-sp1' `
-Name 'Portal' -Description 'Customer root' `
-OwnerAlias 'contoso\administrator' `
-language 1033 -Template 'STS#0'
I don’t like the database name from Technet code so think about creating database with a better name!
add -databasename ContosoSites
So the future for Microsoft is to use Host Named Site Collections and since we have no GUI, my challenge has been to script this via PowerShell. But many examples on the web have come up short and since I have been real busy this project has been put on the back burner. Finally!
For my students, I am using 20331 Lab 8 but you can use any SharePoint farm, but you will need to modify the IP address and domain names as needed.
A Record
webapp.contoso.com – 172.16.1.22
CNAME Records
root.contoso.com - webapp.contoso.com
companyA.contoso.com - webapp.contoso.com
companyB.contoso.com - webapp.contoso.com
Using regedit navigation to
add values for the all four sites added to DNS earlier.
1: # Using 20331 lab 8 vm
2: # DNS and TCPIP prerequisites
3: # create A record for webapp.contoso.com `
to 172.16.1.22 and add 172.16.1.22 to NIC
4: # create cname records to webapp.contoso.com`
for webapp, root, companya, companyb
5: # add sites to backconnectionhostnames if`
needed
6:
7: # Load SharePoint PowerShell Snapin
8: Add-PSSnapin microsoft.sharepoint.powershell
9:
10: # Web Application Variables
11: $webapphostheadersimple = 'webapp.contoso.com'
12: $webapphostheader = 'http://webapp.contoso.com'
13: $webappname = 'Portal WebApp'
14: $language = '1033'
15: $ipaddress = '172.16.1.22'
16:
17: # Site Collection Variables
18: $RootSC = 'http://root.contoso.com'
19: $rootSCname = 'Root Site'
20: $HNSC1 = 'http://companyA.contoso.com'
21: $HNSC1name = 'Company A'
22: $HNSC2 = 'http://companyB.contoso.com'
23: $HNSC2name = 'Company B'
24:
25: $rootsitetemplate = 'STS#0'
26: $sitetemplate = 'BLANKINTERNET#0'
27: $webdb = 'wss_content_portal'
28:
29: # Account Variables
30: $owneralias = 'contoso\administrator'
31: $serviceaccount = 'contoso\spcontosocomapppool'
32:
33: # Create Authentication Provider
34: $ap = new-spauthenticationprovider -usewindowsintegratedauthentication
35:
36: # Create New Web Application
37: new-spwebapplication -name $webappname `
-hostheader $webapphostheadersimple -port 80 `
-applicationpool $webappname -applicationpoolaccount`
$serviceaccount -databasename $webdb `
-allowanonymousaccess -authenticationprovider $ap
38:
39: # Create IIS Binding
40: new-webbinding -name $webappname `
-hostheader "*" -ipaddress $ipaddress `
-port 80 -protocol http
41:
42: # Create root site collection
43: new-spsite $RootSC -hostheaderwebapplication`
$webapphostheader -name $rootSCname –description `
$rootSCname -owneralias $owneralias -language`
$language -template $rootsitetemplate
44:
45: # Create host named site collection for CompanyA
46: new-spsite $HNSC1 -hostheaderwebapplication`
$webapphostheader -name $HNSC1name -description`
$HNSC1name -owneralias $owneralias -language`
$language -template $sitetemplate
47:
48: # Create host named site collection for`
CompanyB
49: new-spsite $HNSC2 -hostheaderwebapplication`
$webapphostheader -name $HNSC2name -description`
$HNSC2name -owneralias $owneralias -language`
$language -template $sitetemplate
Appears to work fine with unassigned binding for webapp.contoso.com
$site = Get-SPSite http://portal.contoso.com/sites/demo
$uri = New-Object System.Uri("http://demo.contoso.com")
$site.Rename($uri)
Thx Todd - How to Rename SharePoint 2013 Site Collections Without Prayer or Sobbing
So the future for Microsoft is to use Host Named Site Collections and since we have no GUI, my challenge has been to script this via PowerShell. But many examples on the web have come up short and since I have been real busy this project has been put on the back burner. Finally!
For my students, I am using 20331 Lab 8 but you can use any SharePoint farm, but you will need to modify the IP address and domain names as needed
http://thecloudengineer.blogspot.com/2014/09/creating-host-name-site-collection-via.html
How do you create multiple site collections via PowerShell?
The following script allows you to create a site collection with a dedicated content db and url.
First you set an array with the site collection names, then add managed path, content db and site collections for each url in the array.
$a = ("Engineering", "Sales")
ForEach($url in $a)
{
New-SPManagedPath -relativeurl /$url -webapplication http://intranet.contoso.com -explicit
New-SPContentDatabase -Name WSS_Content_Intranet_$url -WebApplication http://intranet.contoso.com
New-SPSite -Url http://intranet.contoso.com/$url -ContentDatabase WSS_Content_Intranet_$url -OwnerAlias CONTOSO\SP_Admin -Template "STS#0"
}
Special Site Collections
Hosted Named Site Collections (great article)
http://blogs.msdn.com/b/kaevans/archive/2012/03/27/what-every-sharepoint-admin-needs-to-know-about-host-named-site-collections.aspx
http://blogs.msdn.com/b/markarend/archive/2012/05/30/host-named-site-collections-hnsc-for-sharepoint-2010-architects.aspx (scripts confirmed)
How to Create Host Named Site Collections (I found some good code samples and reposted below in case of site deletion) Note you need to add the DNS entries for both.
http://mshorrosh.blogspot.com/2014/02/quick-guide-to-implementing-host-name.html
1: #"Add SharePoint Cmdlets"
2: add-pssnapin microsoft.sharepoint.powershell
3:
4: # Web App Variables
5: $WebAppDefault = "SharePoint - HSNC Example"
6: $Port = "80"
7: $AppPool = "HSNCAppPool"
8: $Account = "domain\svc-apppoolaccount"
9:
10: # Root Site Variables'
11: $RootHHDefault = "myrootsite.com"
12: $RootURLDefault = "http://myrootsite.com"
13: $Owner = "domain\svc-farmaccount"
14: $RootDB = "RootDB"
15: $Lang = "1033"
16: $Template = "blankinternetcontainer#0"
17:
18: # HSNC Site Variables
19: $HNSCSITE1 = "http://hnsc1.com"
20: $HNSCSITE2 = "http://hnsc2.com"
21:
22: # Create Web App
23: New-SPWebApplication -Name $WebAppDefault -hostHeader $RootHHDefault -Port $port -ApplicationPool $AppPool -ApplicationPoolAccount (Get-SPManagedAccount $Account) -AuthenticationProvider (New-SPAuthenticationProvider –UseWindowsIntegratedAuthentication) -DatabaseName $RootDB -AllowAnonymousAccess
24: echo "Web App created"
25:
26: # Create Root Site Collection
27: New-SPSite $RootURLDefault -Name 'Root Site' -Description 'External Root Site Collection' -OwnerAlias $Owner -language $Lang -Template $Template
28: echo "Root Site Collection created"
29:
30: # Create HNSC 1
31: New-SPSite $HNSCSITE1 -HostHeaderWebApplication (get-spwebapplication $RootURLDefault) -Name 'Site 1' -Description 'HNSC Site1' -OwnerAlias $Owner -language $Lang -Template $template
32: echo "HNSC 1 Site Collection created"
33:
34: # Create HNSC 2
35: New-SPSite $HNSCSITE2 -HostHeaderWebApplication (get-spwebapplication $RootURLDefault) -Name 'Site 2' -Description 'HNSC Site2' -OwnerAlias $Owner -language $Lang -Template $template
36: echo "HNSC 2 Site Collection created"
http://www.sharepointdiary.com/2014/06/create-host-named-site-collections-in-sharepoint-2013.html
1: Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
2: #Set variables for New web application creation
3: $WebAppName = "HNSC Host Web Application"
4: #Variables for new Application Pool
5: $AppPoolName = "HNSC App Pool"
6: #Get the existing Managed Account
7: $AppPoolAccount = Get-SPManagedAccount "Crescent\SvcAppPool"
8: #To utilize existing AppPool, Use: Get-SPServiceApplicationPool <AppPoolName>
9: $ContentDatabase = "SP13_HNSC_Content"
10: $AuthProvider = New-SPAuthenticationProvider –UseWindowsIntegratedAuthentication
11: #Create the web application
12: $WebApp = New-SPWebApplication -ApplicationPool $AppPoolName -ApplicationPoolAccount $AppPoolAccount
1: $ServerName = "http://G1WFE01"
2: New-SPSite -URL $ServerName -Name "HNSC Root" -OwnerAlias "Global\SvcOwner"
1: $HostURL = "http://WFE01"
2: $OwnerID = "Crescent\Support"
3: $OwnerMail= "Support@Crescent.com"
4: $SiteURL = "http://sales.crescent.com"
5: $TemplateVal ="sts#0" #Team Site
6: #Create the HNSC
7: New-SPSite -url $SiteURL -HostHeaderWebApplication $HostURL -owneralias $OwnerID -owneremail $OwnerMail -Template $TemplateVal
1: New-SPManagedPath "Teams" –Hostheader
1: $HostURL = "http://WFE01"
2: $OwnerID = "Crescent\Salaudeen"
3: $OwnerMail= "Support@Crescent.com"
4: $SiteURL = "http://Sales.crescent.com/teams/cloud"
5: $SiteName = "Clould Sales Team"
6: $TemplateVal ="sts#0"
7: #Get the Host named site collection by its name
8: $webApp = Get-SPWebApplication $HostURL
9: #Create new Host-named site under the managed path
10: New-SPSite $SiteURL -OwnerAlias $OwnerID -HostHeaderWebApplication $webApp -Name $SiteName -Template $TemplateVal
Edward Snowden, SharePoint, and Security
https://www.credera.com/blog/technology-insights/microsoft-solutions/edward-snowden-sharepoint-security/
https://en.wikipedia.org/wiki/Penetration_test
https://windsorwebdeveloper.com/comptia-pentest-study-guide/
https://www.kali.org/
https://nmap.org/
Tutorials – NMAP Zenmap MegaPing
https://www.youtube.com/channel/UCtudLj18oXlrzrPHqKC5bLA
WikiLeaks CIA Files: The 6 Biggest Spying Secrets Revealed By the Release of 'Vault (2017)
“”1,2,3, and 5 were revealed with the documents that Edward Snowden released to The Guardian and was subsequently detailed in at least a couple of the books written about that leak including Data and Goliath by Bruce Schneier and The Snowden Files by Luke Harding.
The NSA and CIA also maintain a cache of vulnerabilities they have discovered but kept to themselves and not shared with Microsoft, Android/Google or Apple as well as the other operating system vendors so they can perform surveillance on any company running those OS.
This activity has been approved by the FISA court all in the name of Homeland security but not necessarily restricted to that activity.” George
Plan security hardening for SharePoint Server 2016
https://technet.microsoft.com/en-us/library/cc262849(v=office.16).aspx
MS16-101 Prevents SharePoint From Changing Managed Account Passwords
https://thesharepointfarm.com/2016/09/ms16-101-prevents-sharepoint-from-changing-managed-account-passwords/Technet on Planning Security Hardening (2010 or 2013)
https://technet.microsoft.com/en-us/library/cc262849(v=office.15).aspx
https://technet.microsoft.com/en-us/library/cc262849(v=office.14).aspx
Good Article on SharePoint Groups vs. AD Groups and effect on Search Crawls
http://blogs.msdn.com/b/kaevans/archive/2013/05/06/clarifying-guidance-on-sharepoint-security-groups-versus-active-directory-domain-services-groups.aspx
Preview as user (Third Party)
http://blog.mastykarz.nl/previewing-pages-content-targeting-user-segments-sharepoint-2013/
Updates
Interesting Vulnerability Site on SharePoint
Lists - http://www.cvedetails.com/vulnerability-list/vendor_id-26/product_id-11116/Microsoft-Sharepoint-Server.html
Stats - http://www.cvedetails.com/product/11116/Microsoft-Sharepoint-Server.html?vendor_id=26
Great Security Articles by Liam Cleary
https://www.helloitsliam.com/
PenTest (Part 1 and 2)
https://www.helloitsliam.com/2014/11/06/sharepoint-2013-pentest-part-1/
https://www.helloitsliam.com/2014/11/10/sharepoint-2013-pentest-part-2/
https://www.helloitsliam.com/2014/11/06/10-ways-to-a-more-secure-sharepoint-infographic/
”SO you wanna hack SharePoint” Presentation - TechEdOLD LINKS – Broken due to new site
http://blog.helloitsliam.com/Lists/Posts/Post.aspx?ID=121
Is SharePoint Secure?
part 1 http://blog.helloitsliam.com/Lists/Posts/Post.aspx?ID=100
part 2 http://blog.helloitsliam.com/Lists/Posts/Post.aspx?ID=101
part 3 http://blog.helloitsliam.com/Lists/Posts/Post.aspx?ID=103
part 4 http://blog.helloitsliam.com/Lists/Posts/Post.aspx?ID=105
Is SharePoint Vulnerable
http://blog.helloitsliam.com/Lists/Posts/Post.aspx?ID=116
Effect of SharePoint Security Groups and/or AD Security Groups on Search Crawl Performance
http://blogs.msdn.com/b/kaevans/archive/2013/05/06/clarifying-guidance-on-sharepoint-security-groups-versus-active-directory-domain-services-groups.aspx
Best practices for using fine-grained permissions in SharePoint Server 2013
http://technet.microsoft.com/en-us/library/gg128955.aspx
Troubleshoot common fine-grained permissions issues for SharePoint Server 2013
http://technet.microsoft.com/en-us/library/dn169566.aspx
UAG - SharePoint Publishing Guide
http://technet.microsoft.com/en-us/library/dd857299.aspx
Firewall Ports
azure acs
http://msdn.microsoft.com/en-us/library/windowsazure/jj136814.aspx
office 365
http://blogs.technet.com/b/educloud/archive/2011/11/30/what-firewall-ports-do-i-need-open-to-connect-to-office-365-for-education.aspx
http://ahandyblog.wordpress.com/cloud-technologies/firewall-ports-for-office-365/
Articles
Copy Permissions Between Site Collections Using AD Groups
https://social.technet.microsoft.com/wiki/contents/articles/8138.sharepoint-2010-copying-permissions-between-site-collections.aspx
Fine Grained Permissions Guide
http://technet.microsoft.com/library/gg128953(office.14).aspx
More from SharePoint Galaxy
Authentication
http://thecloudengineer.blogspot.com/2013/02/authentication.html
TMG UAG
http://thecloudengineer.blogspot.com/2011/07/golden-5-rules-on-sharepoint-security.html
Document Security
http://thecloudengineer.blogspot.com/2011/09/sharepoint-document-security.html
SharePoint Designer
http://thecloudengineer.blogspot.com/2012/03/sharepoint-designer-security.html
Books
Actual book http://www.amazon.com/Office-Sharepoint-Security-Microsoft-Corporation/dp/0735626545
Free Ebook http://technet.microsoft.com/en-us/library/cc287889(v=office.12).aspx