secure passwordtextbox

4 posts, 0 answers
  1. Albert Shenker
    Albert Shenker avatar
    551 posts
    Member since:
    Mar 2004

    Posted 29 Oct 2012 Link to this post

    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?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 29 Oct 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Albert Shenker
    Albert Shenker avatar
    551 posts
    Member since:
    Mar 2004

    Posted 30 Oct 2012 Link to this post

    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.
  5. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 31 Oct 2012 Link to this post

    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.
Back to Top