This is a migrated thread and some comments may be shown as answers.

secure passwordtextbox

3 Answers 77 Views
Input
This is a migrated thread and some comments may be shown as answers.
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Albert Shenker asked on 29 Oct 2012, 10:33 PM
Is it currently possible to configure rad textbox to function as a securepassword textbox in that it passes the text value as a SecureString instead of a String. If not is something like this in the works?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 30 Oct 2012, 04:49 AM
Hi,

You configure a RadTextbox as Follows to function as a securepassword textbox. Please take a look into this demo for more information.

ASPX:
<telerik:RadTextBox ID="RadTextBox1" TextMode="Password" runat="server"></telerik:RadTextBox>

Thanks,
Princy.
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 30 Oct 2012, 12:59 PM
As far as i can tell, that is not a secure textbox. It is just a textbox with textmode = password. A secure textbox passes its value as a System.Secure.SecureString which cannot be extracted from memory as opposed to a System.String which can remain in memory long after it is used.
0
Vasil
Telerik team
answered on 31 Oct 2012, 07:50 AM
Hi Albert,

The RadTextBox can't use SecureString for storing the value. The value comes from the post data in string, and is no point in converting the String to SequreString, since the original string still remains in the Request.Form collection.

Regards,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Input
Asked by
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Answers by
Princy
Top achievements
Rank 2
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Vasil
Telerik team
Share this question
or