SECURITY_TYPE (Replication ActiveX)

The SECURITY_TYPE specifies security type values for the DistributorSecurityMode Property (Replication ActiveX), PublisherSecurityMode Property (Replication ActiveX), and SubscriberSecurityMode Property (Replication ActiveX) properties.

Constant

Value

Description

BASIC_AUTHENTICATION

0

Specifies HTTP Basic Authentication for the connection to the Web server during Web synchronization.

ms146943.note(zh-tw,SQL.90).gif附註:

You must implement Secure Sockets Layer (SSL) between the Subscriber and the IIS server when you use Web synchronization.

DB_AUTHENTICATION

0

Specifies SQL Server Authentication for the connection.

NT_AUTHENTICATION

1

Specifies Windows Authentication for the connection.

備註

When possible, you should use NT_AUTHENTICATION.

BASIC_AUTHENTICATION should be used when connecting to the Web server during Web synchronization. For more information, see "Security Best Practices for Web Synchronization" in 設定 Web 同步處理.

請參閱

參考

Replication ActiveX Control Reference

說明及資訊

取得 SQL Server 2005 協助