Modify Authentication Settings


Scenario/Problem: You need to modify authentication settings.


Solution: Use the Set-SPInfoPathFormsService cmdlet with the appropriate parameters.

Several data authentication options either allow or prohibit certain types of data connectivity, as follows:

RequireSslForDataConnections: Set this option to true to require SSL encryption when your form uses HTTP authentication (such as when accessing a web service).

AllowEmbeddedSqlForDataConnection: Set this option to true if you have data connection files that contain SQL database connection information, including the username and password.

AllowUdcAuthenticationForDataConnections: Set this option to true to allow custom forms to access data sources through data connection files.

AllowUserFormCrossDomainDataConnections: Select this option if your form needs to access data sources on a different domain than SharePoint.

To configure these settings, use the Set-SPInfoPathFormsService cmdlet with the desired parameters and settings, as shown in Listing 12.3.

Listing 12.3. Authentication Settings Cmdlet Line


Set-SPInfoPathFormsService -RequireSslForDataConnections $true
-AllowEmbeddedSqlForDataConnection $true
-AllowUdcAuthenticationForDataConnections $true
-AllowUserFormCrossDomainDataConnections $true


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.6.77