SlideShare a Scribd company logo
1 of 7
Lab 16: Create an Extranet Site

          Objectives
          After completing this lab, you will be able to:

         •   Create an extranet site with Forms Authentication based on ASP.Net Membership and Role
             providers.
         •   Modify web.config files of both Extranet and Office SharePoint 2007 Server Administration sites
         •   Add the first Administrator user for the Extranet site using Form Authentication

          Prerequisites
          Before working on this lab, you must have:
         •   Labs 1, 2, and 15 fully completed

          Scenario
          In this lab you will create a new site targeting your extranet audience(s). You will configure your
          extranet site to use Forms Authentication.



          Estimated time to complete this lab: 45 minutes



 Exercise 1
 Create the Internet Web Application
              Create a new web application for the purpose of applying a different authentication provider.

              ∑ Open the Microsoft SharePoint 3.0 Central Administration site.

             1. Login as Administrator and click “Start” on your desktop.

             2. Select “All Programs”

             3. Select “Microsoft Office Server”

             4. Select “SharePoint 3.0 Central Administration”

             5. Select “Application Management”

             6. Click “Create or Extend Web Application”

             7. Click “Create a new Web Application”
Lab 16: Create an Extranet Site


                    In the Create New Web Application page…

                    8. In the Create a new IIS Web Site section, enter the following:

                          IIS Web Site (section):
                          Description: <your initials> Extranet
                          Port: Keep the default Port (Write the port number here: __________ )
                          Host Header: leave blank
                          Path: C:Inetpubwwwroot<your initials>Extranet
                          Security Configuration (section):
                          Authentication Provider: NTLM
                          Allow Anonymous: Keep as is (No)
                          Use Secure Sockets Layer (SSL): Keep as is (No)
                          Load Balanced URL (section): Keep as is
                          Application Pool (section):
                          Create new application pool: <your initials> ExtranetAppPool
                          Select a security account for this application pool: click the “Configurable” radio button
                          Name: litwareincAdministrator
                          Password: pass@word1
                          Reset Internet Information Services (section): Keep as is.
                          Database Name and Authentication (section):
                          Database Server Name: OS
                          Database Name: WSS_Content_<your initials> Extranet
                          Database Authentication: Windows Authentication
                          Search Server: OS
                    IMPORTANT: Before Clicking Ok – please verify that all options are configured properly as
                    indicated above. This site will be deployed to another farm in a later exercise thus the needs to use
                    your own initials for differentiation between you and the other attendees’ site.

                    9. Click Ok (takes about 3 – 4 min to complete)

                    Once completed, the “Application Created” page appears.


Exercise 2
Create the Internet web application’s site Collection
                      Create a new site collection

                          1. In the “Application Created” page, click the “Create Site Collection” link.
Lab 16: Create an Extranet Site   3



                 Make sure the Web Application is: http://os:<port number entered in step 8 of exercise 1
                 above>

                 2. In the Title and Description section enter the following:

                      Title: <Your Initials>litware Inc. Extranet Site
                      Description: This is the main Extranet site of the Litware Inc. fictitious company.
                      Web Site Address section:
                      Select Create site at this URL: (root) “/”
                      Template Selection: Click on the “Publishing” tab and select the “Publishing Portal”
                      template.
                      Primary Site Collection Administrator: litwareincAdministrator (check mane to make
                      sure it is entered correctly)
                      Secondary Site Collection Administrator: litwareincbrianc (check mane to make sure it
                      is entered correctly)
                      Select a quota template: “no quota” (default).
                 3. Click OK

                 4. Click Ok again once the Top-Level site was successfully created.

                 To test the new extranet site simply launch you browser and point it to: “http://os:<portnumber
                 entered in step 8 of exercise 1 above”>


Exercise 3
Prep the site for Form Authentication - Modify Web.Config of the Extranet site
              In this exercise you will modify the extranet site web.config to indicate to the web application that
              a new membership and role provider is available.

              ∑ We now need to modify web.config of the Extranet site to apply Forms
                 Authentication.
                 Note: The Extranet site web.config needs to be modified to allow the site to communicate to
                 the new Memberships and Roles providers.
                 1. Locate the Extranet web.config file and edit it using Visual Studio.
                 2.    Add the following
                 3. Click Start, Windows Explorer, navigate to the following folder
                    C:Inetpubwwwroot<Your Initials>Extranet.
                 4. Right click on web.config and open with Visual Studio.
                 5. Insert the following lines in web.config between </configSections> and <SharePoint> tags.
                      <connectionStrings>
                        <remove name=quot;LocalSqlServerquot; />
Lab 16: Create an Extranet Site


                           <add name=quot;LocalSqlServerquot; connectionString=quot;Data Source=localhost;Initial
                         Catalog=aspnetdb;Integrated Security=Truequot; providerName=quot;System.Data.SqlClientquot;/>
                         <add name=quot;AspNetSqlMembershipProviderquot; connectionString=quot;server=OS;
                         database=aspnetdb; Trusted_Connection=Truequot; />
                         </connectionStrings>

                     6. Insert the following text after the </httpHandlers> tags to add the Membership and Role
                        provider.

                        <!-- Start - Added by “Your Initial Here” for Forms Authentication -->
                        <membership defaultProvider=quot;AspNetSqlMembershipProviderquot;>
                         <providers>
                                  <remove name=quot;AspNetSqlMembershipProviderquot; />
                                   <add connectionStringName=quot;AspNetSqlMembershipProviderquot;
                                  passwordAttemptWindow=quot;10quot; enablePasswordRetrieval=quot;falsequot;
                                  enablePasswordReset=quot;truequot; requiresQuestionAndAnswer=quot;truequot;
                                  applicationName=quot;Extranetquot; requiresUniqueEmail=quot;falsequot; passwordFormat=quot;Hashedquot;
                                  description=quot;Stores and retrieves membership data from the Microsoft SQL Server
                                  databasequot; name=quot;AspNetSqlMembershipProviderquot;


                                  type=quot;System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0,
                                  Culture=neutral,


                                  PublicKeyToken=b03f5f7f11d50a3aquot; />
                         </providers>
                        </membership>
                        <roleManager enabled=quot;truequot; defaultProvider=quot;AspNetSqlRoleProviderquot;>
                         <providers>
                          <remove name=quot;AspNetSqlRoleProviderquot; />
                          <add connectionStringName=quot;LocalSqlServerquot; applicationName=quot;Extranetquot;
                     description=quot;Stores and retrieves roles data from the local Microsoft SQL Server databasequot;
                     name=quot;AspNetSqlRoleProviderquot; type=quot;System.Web.Security.SqlRoleProvider, System.Web,
                     Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aquot; />
                         </providers>
                        </roleManager>
                        <!-- End Added by “You Initial Here” for Forms Authentication -->


                     7. Save the file.
Lab 16: Create an Extranet Site   5



Exercise 4
Modify web.config of the Central Administrator site
                 The Central Administration site web.config will also need to be modified to allow it to select
                 users from the newly created membership database and have them become Administrator on the
                 Extranet site. The “Role” provider is not required and should not be use by The Central
                 Administrator site.


              ∑ We now need to modify web.config of the Extranet site to apply Forms
                 Authentication.
                 1. Locate the appropriate web.config file and edit it.
                 2.     Add the following
                 3. Click Start, Windows Explorer, navigate to the following folder C:Inetpubwwwrootwss
                    VirtualDirectories4e4b73d4-1f9b-42f9-bd71-d931872a00c1.
                 4. Right click on web.config and open it up with Visual Studio.
                 5. Insert the following lines in web.config between </configSections> and <SharePoint> tags.
                       <connectionStrings>
                         <remove name=quot;LocalSqlServerquot; />
                         <add name=quot;LocalSqlServerquot; connectionString=quot;Data Source=localhost;Initial
                       Catalog=aspnetdb;Integrated Security=Truequot; providerName=quot;System.Data.SqlClientquot;/>
                       </connectionStrings>
                 6. Add a second connection string to the access the new aspnetdb database.
                 <add name=quot;AspNetSqlMembershipProviderquot; connectionString=quot;server=OS;
                 database=aspnetdb; Trusted_Connection=Truequot; />

                 7. Insert the following text after the </httpHandlers> tags. Please notice that there is no Role
                    provider required for the Administration site.

                      <!-- Start - Added by “You Initial Here” for Forms Authentication -->

                      <membership defaultProvider=quot;AspNetSqlMembershipProviderquot;>

                       <providers>

                        <remove name=quot;AspNetSqlMembershipProviderquot; />

                      <add connectionStringName=quot;AspNetSqlMembershipProviderquot;
                 passwordAttemptWindow=quot;10quot; enablePasswordRetrieval=quot;falsequot; enablePasswordReset=quot;truequot;
                 requiresQuestionAndAnswer=quot;truequot; applicationName=quot;Extranetquot; requiresUniqueEmail=quot;falsequot;
                 passwordFormat=quot;Hashedquot; description=quot;Stores and retrieves membership data from the Microsoft
                 SQL Server databasequot; name=quot;AspNetSqlMembershipProviderquot;



                 type=quot;System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0,
                 Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aquot; />

                       </providers>

                      </membership>
Lab 16: Create an Extranet Site


                             <!-- End Added by “You Initial Here” for Forms Authentication -->

                          8. Save the file and close Visual Studio and Windows Explorer.

                          9. Perform an IISRESET



Exercise 5
Configure the Extranet site for anonymous access and assign the first
Administrator.
                          Form Authentication requires that the web application has anonymous access enabled.


                          1. In the Central Administration. (Start, All Programs, Microsoft Office Server, SharePoint
                             3.0 Central Administration)

                          2. Select “Application Management” (in the main Central Administration site)

                          3. In the “Application Security” section, select “Authentication Providers”

                          Make sure the Web Application is “OS: <portnumber entered in step 8 of exercise 1 above”>”
                          4. Click “Default” just below the “Zone” in the main content section.
                          5. In the “Authentication Type” section, select Forms
                          6. Locate the “Anonymous Access” section and check the “Enable anonymous access” box.
                          7. In the “Membership Provider Name” section, enter the following in the text box
                             “AspNetSqlMembershipProvider”.
                          8. In the “Role Manager Name” section, enter the following in the text box
                             “AspNetSqlRoleProvider”.
                          9. In the “Client Integration” section, select No.
                          10. Click Save.
                          Once saved the Authentication Providers page should now indicate
                          “AspNetSqlMembershipProvider” under the Membership Provider Name.
                          11. To assign the first administrator user to the Extranet site, click on the “Application
                              Management” in the breadcrumb, then click “Policy for Web Application” in the
                              “Application security” section.
                          12. Make sure the Web Application is set to os:<portnumber entered in step 8 of exercise 1
                              above> and click Add Users.
                          13. In the Add Users page, Select the “Default” zone and click Next
                          14. Click Browse in the Choose Users section
                          15. In the “Add People and Groups” dialog box, enter the “musera” user and click search
                              (right hand side magnifier glass image)
                          16. There should be only one account name displayer – musera. Click Add and then click OK.
Lab 16: Create an Extranet Site     7


                 17. Apply “Full Control – Has full control” to the “musera” user and click Finish.
                 You now added you first Administrator to your Extranet site!


Exercise 6
Add the first user of the Form Authentication Provider
                 In this exercise you will add the first user (from the membership provider) which will become
                 the Administrator of the Extranet site. This user will then be able to add other users to different
                 roles.

                 1. In the Central Administration. (Start, All Programs, Microsoft Office Server, SharePoint
                    3.0 Central Administration) under the “Application Security” section, select “Policy for
                    Web Application”.

                 2. Click “Change Anonymous Access Permission Policy” link located in the left navigation.


                 3. In the “Anonymous User Policy” page, make sure the “Web Application” is
                    http://os:<portnumber>
                 4. In the Select the Zones section, select the Default zone.
                 5. In the Permissions section, select Deny Write – Has no write access.
                 6. Click Save
                 7. Launch you browser and test the site access http://os:<port number>
                 8. In the form, enter “musera” as the user id and “pass@word1” as the password
                 9. Once authenticated, the home page of the extranet site will be displayed.
                 10. Browse the Extranet site
                 11. To add more users click the “Site Actions” link and add People and Groups by selecting
                     any of the users you added in the aspnetdb membership database.
                 12. Close all Browser sessions
                 Lab Completed!

More Related Content

What's hot

( 17 ) Office 2007 Deploy Your Extranet Site
( 17 ) Office 2007   Deploy Your Extranet Site( 17 ) Office 2007   Deploy Your Extranet Site
( 17 ) Office 2007 Deploy Your Extranet Site
LiquidHub
 
Making Sense of APEX Security by Christoph Ruepprich
Making Sense of APEX Security by Christoph RuepprichMaking Sense of APEX Security by Christoph Ruepprich
Making Sense of APEX Security by Christoph Ruepprich
Enkitec
 
Jboss Exploit
Jboss ExploitJboss Exploit
Jboss Exploit
drkimsky
 

What's hot (19)

Power shell
Power shellPower shell
Power shell
 
( 17 ) Office 2007 Deploy Your Extranet Site
( 17 ) Office 2007   Deploy Your Extranet Site( 17 ) Office 2007   Deploy Your Extranet Site
( 17 ) Office 2007 Deploy Your Extranet Site
 
Making Sense of APEX Security by Christoph Ruepprich
Making Sense of APEX Security by Christoph RuepprichMaking Sense of APEX Security by Christoph Ruepprich
Making Sense of APEX Security by Christoph Ruepprich
 
Installation of Joomla on Windows XP
Installation of Joomla on Windows XPInstallation of Joomla on Windows XP
Installation of Joomla on Windows XP
 
Demo how to create visualforce and apex controller to update, delete custom o...
Demo how to create visualforce and apex controller to update, delete custom o...Demo how to create visualforce and apex controller to update, delete custom o...
Demo how to create visualforce and apex controller to update, delete custom o...
 
Cakephp's Cache
Cakephp's CacheCakephp's Cache
Cakephp's Cache
 
03 setting up database server sample
03   setting up database server sample03   setting up database server sample
03 setting up database server sample
 
Oracle data integrator 11g installation
Oracle data integrator 11g installationOracle data integrator 11g installation
Oracle data integrator 11g installation
 
obiee 12c installation guidelines
obiee 12c installation guidelinesobiee 12c installation guidelines
obiee 12c installation guidelines
 
Prod java-error
Prod java-errorProd java-error
Prod java-error
 
Creating Sentiment Line Chart with Watson
Creating Sentiment Line Chart with Watson Creating Sentiment Line Chart with Watson
Creating Sentiment Line Chart with Watson
 
Cake php
Cake phpCake php
Cake php
 
Open mic ibm connections and ibm verse on premise integration 1
Open mic  ibm connections and ibm verse on premise integration 1Open mic  ibm connections and ibm verse on premise integration 1
Open mic ibm connections and ibm verse on premise integration 1
 
Adaptive rfc troubleshooting guide
Adaptive rfc  troubleshooting guideAdaptive rfc  troubleshooting guide
Adaptive rfc troubleshooting guide
 
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
 
web services using java
web services using javaweb services using java
web services using java
 
Why HATEOAS
Why HATEOASWhy HATEOAS
Why HATEOAS
 
Jboss Exploit
Jboss ExploitJboss Exploit
Jboss Exploit
 
Newgenlib
NewgenlibNewgenlib
Newgenlib
 

Similar to ( 16 ) Office 2007 Create An Extranet Site With Forms Authentication

( 2 ) Office 2007 Create A Portal
( 2 ) Office 2007   Create A Portal( 2 ) Office 2007   Create A Portal
( 2 ) Office 2007 Create A Portal
LiquidHub
 
( 17 ) Office 2007 Deploy Your Extranet Site
( 17 ) Office 2007   Deploy Your Extranet Site( 17 ) Office 2007   Deploy Your Extranet Site
( 17 ) Office 2007 Deploy Your Extranet Site
LiquidHub
 
Share point 2010_overview-day4-code
Share point 2010_overview-day4-codeShare point 2010_overview-day4-code
Share point 2010_overview-day4-code
Narayana Reddy
 
Share point 2010_overview-day4-code
Share point 2010_overview-day4-codeShare point 2010_overview-day4-code
Share point 2010_overview-day4-code
Narayana Reddy
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install Databases
LiquidHub
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install Databases
LiquidHub
 
Cis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry universityCis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry university
lhkslkdh89009
 

Similar to ( 16 ) Office 2007 Create An Extranet Site With Forms Authentication (20)

( 2 ) Office 2007 Create A Portal
( 2 ) Office 2007   Create A Portal( 2 ) Office 2007   Create A Portal
( 2 ) Office 2007 Create A Portal
 
( 17 ) Office 2007 Deploy Your Extranet Site
( 17 ) Office 2007   Deploy Your Extranet Site( 17 ) Office 2007   Deploy Your Extranet Site
( 17 ) Office 2007 Deploy Your Extranet Site
 
Create Applicationwith IIS 7
Create Applicationwith IIS 7Create Applicationwith IIS 7
Create Applicationwith IIS 7
 
installation and configuration of informatica server
installation and configuration of informatica serverinstallation and configuration of informatica server
installation and configuration of informatica server
 
Share point 2010_overview-day4-code
Share point 2010_overview-day4-codeShare point 2010_overview-day4-code
Share point 2010_overview-day4-code
 
Share point 2010_overview-day4-code
Share point 2010_overview-day4-codeShare point 2010_overview-day4-code
Share point 2010_overview-day4-code
 
Azure hands on lab
Azure hands on labAzure hands on lab
Azure hands on lab
 
Team lab install_en
Team lab install_enTeam lab install_en
Team lab install_en
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install Databases
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install Databases
 
Microsoft Lync Server 2010 Installation
Microsoft Lync Server 2010 InstallationMicrosoft Lync Server 2010 Installation
Microsoft Lync Server 2010 Installation
 
SharePoint 2010 authentications
SharePoint 2010 authenticationsSharePoint 2010 authentications
SharePoint 2010 authentications
 
Chapter 8 part2
Chapter 8   part2Chapter 8   part2
Chapter 8 part2
 
03 integrate webapisignalr
03 integrate webapisignalr03 integrate webapisignalr
03 integrate webapisignalr
 
Jenkins Setup Document
Jenkins Setup DocumentJenkins Setup Document
Jenkins Setup Document
 
General Principles of Web Security
General Principles of Web SecurityGeneral Principles of Web Security
General Principles of Web Security
 
Running Vue Storefront in production (PWA Magento webshop)
Running Vue Storefront in production (PWA Magento webshop)Running Vue Storefront in production (PWA Magento webshop)
Running Vue Storefront in production (PWA Magento webshop)
 
Single Sign-On for APEX applications based on Kerberos (Important: latest ver...
Single Sign-On for APEX applications based on Kerberos (Important: latest ver...Single Sign-On for APEX applications based on Kerberos (Important: latest ver...
Single Sign-On for APEX applications based on Kerberos (Important: latest ver...
 
Cis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry universityCis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry university
 
Training Alcatel-Lucent WDM PSS 183x
Training Alcatel-Lucent WDM PSS 183xTraining Alcatel-Lucent WDM PSS 183x
Training Alcatel-Lucent WDM PSS 183x
 

More from LiquidHub

Sharepoint 2013 upgrade process
Sharepoint 2013 upgrade processSharepoint 2013 upgrade process
Sharepoint 2013 upgrade process
LiquidHub
 
Share point 2013
Share point 2013Share point 2013
Share point 2013
LiquidHub
 
Share point 2010-uiimprovements
Share point 2010-uiimprovementsShare point 2010-uiimprovements
Share point 2010-uiimprovements
LiquidHub
 
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
LiquidHub
 
Managing metadata in_share_point_2010
Managing metadata in_share_point_2010Managing metadata in_share_point_2010
Managing metadata in_share_point_2010
LiquidHub
 
Fast search for share point
Fast search for share pointFast search for share point
Fast search for share point
LiquidHub
 
Simple Farm Server Deployment
Simple Farm Server DeploymentSimple Farm Server Deployment
Simple Farm Server Deployment
LiquidHub
 
Moss 2007 Deployment Detail
Moss 2007 Deployment DetailMoss 2007 Deployment Detail
Moss 2007 Deployment Detail
LiquidHub
 
Moss 2007 Backup Strategies
Moss 2007 Backup StrategiesMoss 2007 Backup Strategies
Moss 2007 Backup Strategies
LiquidHub
 
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
LiquidHub
 
5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps
LiquidHub
 
Working With Infopath 2007
Working With Infopath 2007Working With Infopath 2007
Working With Infopath 2007
LiquidHub
 
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
LiquidHub
 
Overviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshOverviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components Refresh
LiquidHub
 
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshOrganizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
LiquidHub
 
Organizingand Finding Resourceswith Office Share Point Server2007
Organizingand Finding Resourceswith Office Share Point Server2007Organizingand Finding Resourceswith Office Share Point Server2007
Organizingand Finding Resourceswith Office Share Point Server2007
LiquidHub
 

More from LiquidHub (20)

Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0
 
Sharepoint 2013 upgrade process
Sharepoint 2013 upgrade processSharepoint 2013 upgrade process
Sharepoint 2013 upgrade process
 
Share point 2013
Share point 2013Share point 2013
Share point 2013
 
Share point 2010-uiimprovements
Share point 2010-uiimprovementsShare point 2010-uiimprovements
Share point 2010-uiimprovements
 
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
 
Managing metadata in_share_point_2010
Managing metadata in_share_point_2010Managing metadata in_share_point_2010
Managing metadata in_share_point_2010
 
Fast search for share point
Fast search for share pointFast search for share point
Fast search for share point
 
Simple Farm Server Deployment
Simple Farm Server DeploymentSimple Farm Server Deployment
Simple Farm Server Deployment
 
Moss 2007 Deployment Detail
Moss 2007 Deployment DetailMoss 2007 Deployment Detail
Moss 2007 Deployment Detail
 
Moss 2007 Backup Strategies
Moss 2007 Backup StrategiesMoss 2007 Backup Strategies
Moss 2007 Backup Strategies
 
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps
 
5060 A 01
5060 A 015060 A 01
5060 A 01
 
Working With Infopath 2007
Working With Infopath 2007Working With Infopath 2007
Working With Infopath 2007
 
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
 
Overviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshOverviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components Refresh
 
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshOrganizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
 
Organizingand Finding Resourceswith Office Share Point Server2007
Organizingand Finding Resourceswith Office Share Point Server2007Organizingand Finding Resourceswith Office Share Point Server2007
Organizingand Finding Resourceswith Office Share Point Server2007
 

Recently uploaded

TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

( 16 ) Office 2007 Create An Extranet Site With Forms Authentication

  • 1. Lab 16: Create an Extranet Site Objectives After completing this lab, you will be able to: • Create an extranet site with Forms Authentication based on ASP.Net Membership and Role providers. • Modify web.config files of both Extranet and Office SharePoint 2007 Server Administration sites • Add the first Administrator user for the Extranet site using Form Authentication Prerequisites Before working on this lab, you must have: • Labs 1, 2, and 15 fully completed Scenario In this lab you will create a new site targeting your extranet audience(s). You will configure your extranet site to use Forms Authentication. Estimated time to complete this lab: 45 minutes Exercise 1 Create the Internet Web Application Create a new web application for the purpose of applying a different authentication provider. ∑ Open the Microsoft SharePoint 3.0 Central Administration site. 1. Login as Administrator and click “Start” on your desktop. 2. Select “All Programs” 3. Select “Microsoft Office Server” 4. Select “SharePoint 3.0 Central Administration” 5. Select “Application Management” 6. Click “Create or Extend Web Application” 7. Click “Create a new Web Application”
  • 2. Lab 16: Create an Extranet Site In the Create New Web Application page… 8. In the Create a new IIS Web Site section, enter the following: IIS Web Site (section): Description: <your initials> Extranet Port: Keep the default Port (Write the port number here: __________ ) Host Header: leave blank Path: C:Inetpubwwwroot<your initials>Extranet Security Configuration (section): Authentication Provider: NTLM Allow Anonymous: Keep as is (No) Use Secure Sockets Layer (SSL): Keep as is (No) Load Balanced URL (section): Keep as is Application Pool (section): Create new application pool: <your initials> ExtranetAppPool Select a security account for this application pool: click the “Configurable” radio button Name: litwareincAdministrator Password: pass@word1 Reset Internet Information Services (section): Keep as is. Database Name and Authentication (section): Database Server Name: OS Database Name: WSS_Content_<your initials> Extranet Database Authentication: Windows Authentication Search Server: OS IMPORTANT: Before Clicking Ok – please verify that all options are configured properly as indicated above. This site will be deployed to another farm in a later exercise thus the needs to use your own initials for differentiation between you and the other attendees’ site. 9. Click Ok (takes about 3 – 4 min to complete) Once completed, the “Application Created” page appears. Exercise 2 Create the Internet web application’s site Collection Create a new site collection 1. In the “Application Created” page, click the “Create Site Collection” link.
  • 3. Lab 16: Create an Extranet Site 3 Make sure the Web Application is: http://os:<port number entered in step 8 of exercise 1 above> 2. In the Title and Description section enter the following: Title: <Your Initials>litware Inc. Extranet Site Description: This is the main Extranet site of the Litware Inc. fictitious company. Web Site Address section: Select Create site at this URL: (root) “/” Template Selection: Click on the “Publishing” tab and select the “Publishing Portal” template. Primary Site Collection Administrator: litwareincAdministrator (check mane to make sure it is entered correctly) Secondary Site Collection Administrator: litwareincbrianc (check mane to make sure it is entered correctly) Select a quota template: “no quota” (default). 3. Click OK 4. Click Ok again once the Top-Level site was successfully created. To test the new extranet site simply launch you browser and point it to: “http://os:<portnumber entered in step 8 of exercise 1 above”> Exercise 3 Prep the site for Form Authentication - Modify Web.Config of the Extranet site In this exercise you will modify the extranet site web.config to indicate to the web application that a new membership and role provider is available. ∑ We now need to modify web.config of the Extranet site to apply Forms Authentication. Note: The Extranet site web.config needs to be modified to allow the site to communicate to the new Memberships and Roles providers. 1. Locate the Extranet web.config file and edit it using Visual Studio. 2. Add the following 3. Click Start, Windows Explorer, navigate to the following folder C:Inetpubwwwroot<Your Initials>Extranet. 4. Right click on web.config and open with Visual Studio. 5. Insert the following lines in web.config between </configSections> and <SharePoint> tags. <connectionStrings> <remove name=quot;LocalSqlServerquot; />
  • 4. Lab 16: Create an Extranet Site <add name=quot;LocalSqlServerquot; connectionString=quot;Data Source=localhost;Initial Catalog=aspnetdb;Integrated Security=Truequot; providerName=quot;System.Data.SqlClientquot;/> <add name=quot;AspNetSqlMembershipProviderquot; connectionString=quot;server=OS; database=aspnetdb; Trusted_Connection=Truequot; /> </connectionStrings> 6. Insert the following text after the </httpHandlers> tags to add the Membership and Role provider. <!-- Start - Added by “Your Initial Here” for Forms Authentication --> <membership defaultProvider=quot;AspNetSqlMembershipProviderquot;> <providers> <remove name=quot;AspNetSqlMembershipProviderquot; /> <add connectionStringName=quot;AspNetSqlMembershipProviderquot; passwordAttemptWindow=quot;10quot; enablePasswordRetrieval=quot;falsequot; enablePasswordReset=quot;truequot; requiresQuestionAndAnswer=quot;truequot; applicationName=quot;Extranetquot; requiresUniqueEmail=quot;falsequot; passwordFormat=quot;Hashedquot; description=quot;Stores and retrieves membership data from the Microsoft SQL Server databasequot; name=quot;AspNetSqlMembershipProviderquot; type=quot;System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aquot; /> </providers> </membership> <roleManager enabled=quot;truequot; defaultProvider=quot;AspNetSqlRoleProviderquot;> <providers> <remove name=quot;AspNetSqlRoleProviderquot; /> <add connectionStringName=quot;LocalSqlServerquot; applicationName=quot;Extranetquot; description=quot;Stores and retrieves roles data from the local Microsoft SQL Server databasequot; name=quot;AspNetSqlRoleProviderquot; type=quot;System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aquot; /> </providers> </roleManager> <!-- End Added by “You Initial Here” for Forms Authentication --> 7. Save the file.
  • 5. Lab 16: Create an Extranet Site 5 Exercise 4 Modify web.config of the Central Administrator site The Central Administration site web.config will also need to be modified to allow it to select users from the newly created membership database and have them become Administrator on the Extranet site. The “Role” provider is not required and should not be use by The Central Administrator site. ∑ We now need to modify web.config of the Extranet site to apply Forms Authentication. 1. Locate the appropriate web.config file and edit it. 2. Add the following 3. Click Start, Windows Explorer, navigate to the following folder C:Inetpubwwwrootwss VirtualDirectories4e4b73d4-1f9b-42f9-bd71-d931872a00c1. 4. Right click on web.config and open it up with Visual Studio. 5. Insert the following lines in web.config between </configSections> and <SharePoint> tags. <connectionStrings> <remove name=quot;LocalSqlServerquot; /> <add name=quot;LocalSqlServerquot; connectionString=quot;Data Source=localhost;Initial Catalog=aspnetdb;Integrated Security=Truequot; providerName=quot;System.Data.SqlClientquot;/> </connectionStrings> 6. Add a second connection string to the access the new aspnetdb database. <add name=quot;AspNetSqlMembershipProviderquot; connectionString=quot;server=OS; database=aspnetdb; Trusted_Connection=Truequot; /> 7. Insert the following text after the </httpHandlers> tags. Please notice that there is no Role provider required for the Administration site. <!-- Start - Added by “You Initial Here” for Forms Authentication --> <membership defaultProvider=quot;AspNetSqlMembershipProviderquot;> <providers> <remove name=quot;AspNetSqlMembershipProviderquot; /> <add connectionStringName=quot;AspNetSqlMembershipProviderquot; passwordAttemptWindow=quot;10quot; enablePasswordRetrieval=quot;falsequot; enablePasswordReset=quot;truequot; requiresQuestionAndAnswer=quot;truequot; applicationName=quot;Extranetquot; requiresUniqueEmail=quot;falsequot; passwordFormat=quot;Hashedquot; description=quot;Stores and retrieves membership data from the Microsoft SQL Server databasequot; name=quot;AspNetSqlMembershipProviderquot; type=quot;System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aquot; /> </providers> </membership>
  • 6. Lab 16: Create an Extranet Site <!-- End Added by “You Initial Here” for Forms Authentication --> 8. Save the file and close Visual Studio and Windows Explorer. 9. Perform an IISRESET Exercise 5 Configure the Extranet site for anonymous access and assign the first Administrator. Form Authentication requires that the web application has anonymous access enabled. 1. In the Central Administration. (Start, All Programs, Microsoft Office Server, SharePoint 3.0 Central Administration) 2. Select “Application Management” (in the main Central Administration site) 3. In the “Application Security” section, select “Authentication Providers” Make sure the Web Application is “OS: <portnumber entered in step 8 of exercise 1 above”>” 4. Click “Default” just below the “Zone” in the main content section. 5. In the “Authentication Type” section, select Forms 6. Locate the “Anonymous Access” section and check the “Enable anonymous access” box. 7. In the “Membership Provider Name” section, enter the following in the text box “AspNetSqlMembershipProvider”. 8. In the “Role Manager Name” section, enter the following in the text box “AspNetSqlRoleProvider”. 9. In the “Client Integration” section, select No. 10. Click Save. Once saved the Authentication Providers page should now indicate “AspNetSqlMembershipProvider” under the Membership Provider Name. 11. To assign the first administrator user to the Extranet site, click on the “Application Management” in the breadcrumb, then click “Policy for Web Application” in the “Application security” section. 12. Make sure the Web Application is set to os:<portnumber entered in step 8 of exercise 1 above> and click Add Users. 13. In the Add Users page, Select the “Default” zone and click Next 14. Click Browse in the Choose Users section 15. In the “Add People and Groups” dialog box, enter the “musera” user and click search (right hand side magnifier glass image) 16. There should be only one account name displayer – musera. Click Add and then click OK.
  • 7. Lab 16: Create an Extranet Site 7 17. Apply “Full Control – Has full control” to the “musera” user and click Finish. You now added you first Administrator to your Extranet site! Exercise 6 Add the first user of the Form Authentication Provider In this exercise you will add the first user (from the membership provider) which will become the Administrator of the Extranet site. This user will then be able to add other users to different roles. 1. In the Central Administration. (Start, All Programs, Microsoft Office Server, SharePoint 3.0 Central Administration) under the “Application Security” section, select “Policy for Web Application”. 2. Click “Change Anonymous Access Permission Policy” link located in the left navigation. 3. In the “Anonymous User Policy” page, make sure the “Web Application” is http://os:<portnumber> 4. In the Select the Zones section, select the Default zone. 5. In the Permissions section, select Deny Write – Has no write access. 6. Click Save 7. Launch you browser and test the site access http://os:<port number> 8. In the form, enter “musera” as the user id and “pass@word1” as the password 9. Once authenticated, the home page of the extranet site will be displayed. 10. Browse the Extranet site 11. To add more users click the “Site Actions” link and add People and Groups by selecting any of the users you added in the aspnetdb membership database. 12. Close all Browser sessions Lab Completed!