CreatingCookieEventArgs.Password 屬性

定義

取得使用者的密碼。

public:
 property System::String ^ Password { System::String ^ get(); };
public string Password { get; }
member this.Password : string
Public ReadOnly Property Password As String

屬性值

String

使用者提供用於驗證的密碼。

備註

當您在驗證票證中設定自訂值時, Password 您可以使用 屬性來擷取密碼。

注意

請勿將 屬性的值 Password 儲存在驗證票證中。 惡意使用者可以存取 Cookie 並擷取密碼,即使 Cookie 已加密也一樣。

適用於