This topic is locked

hide password option missing

6/27/2007 6:39:06 PM
PHPRunner General questions
Allenh author

I'm trying to 'hide' passwords in a list display field, but the password option is not showing up as an option when I 'right click' on the field and check the 'view as' setting. All the other options are there Short date, long date, etc.

My field is set as a varchar .
BTW, I running. V4 build 265
Any thoughts, suggestions are greatly appreciated.

Alexey admin 6/28/2007

Allen,
just delete Password field from List page and put ***** instead

Allenh author 6/28/2007

That's a nice suggestion, but there's usually a 'password' option - where did it go?

Allen,

just delete Password field from List page and put ***** instead

Sergey Kornilov admin 6/28/2007

I don't recall we had a "View as" type "Password"

What's the purpose of displaying **?

C
chaz 6/28/2007

I don't recall we had a "View as" type "Password"

What's the purpose of displaying **?


to show the field is there, and encrypted-like ehhe??
i guess you would just uncheck the whole field for password and non-the wiser <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19267&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />

N
nico282 9/11/2009

I don't recall we had a "View as" type "Password"

What's the purpose of displaying **?


I needed the field to be in the list view to enable the admin to change it with "inline edit".
To hide the password hash from the view (just for beauty, not for security) set the field as "custom format" with the code



$value = "********";


A more sophisticated view, to let the administrator see if the user has changed the default password or not is:



if (strcmp($value, md5(<<defaultpassword>>) == 0){

$value = "default";

}

else{

$value = "********";

}


Nicholas :-)