Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Password encoding

    I am using username and password. The password field is of type password. But when I do debugging i can see the password as typed in text. Is there any way to hide it. Any wrapper for this.

  • #2
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,184
    Thanks
    10
    Thanked 569 Times in 550 Posts
    no, not really.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/1/19) IE7:0.2, IE8:6.7, IE11:7.4, IE9:3.8, IE10:4.4, FF:18.3, CH:43.6, SF:7.8, MOBILE:27.5

  • #3
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    2,958
    Thanks
    2
    Thanked 304 Times in 296 Posts
    The only purpose of a field with type password is to keep someone from looking at your screen while you type and seeing the characters you entered on the screen (assuming they weren't looking at the keys you were typing.)

    But when I do debugging i can see the password as typed in text
    What exactly are you referring to? If you mean, looking at the data being sent to the web server, to prevent this from possibly being monitored, you need to use a https encrypted connection.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #4
    Regular Coder
    Join Date
    May 2008
    Posts
    187
    Thanks
    7
    Thanked 7 Times in 7 Posts
    Perhaps you should look into SSL.

  • #5
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb

    Thanks for your replies..

    I am working on javascript and perl, cgi. Server is apache. When I do debugging using firebug fo rmozilla, even though i have used password type as my password field, I can see the password entered by the user using this debugging..

  • #6
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    Quote Originally Posted by nidhikayadav View Post
    Thanks for your replies..

    I am working on javascript and perl, cgi. Server is apache. When I do debugging using firebug fo rmozilla, even though i have used password type as my password field, I can see the password entered by the user using this debugging..
    As already said multiple times. The password field just masks the text so anyone standing behind you can not see it. There is no real security to it other than that feature.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •