Allow Admin to view user passwords

Author Message

Fabricio Guerrero

Wednesday 15 February 2006 5:46:17 am

Hi,

Due to a final request from a client so finally send a site live he's asked to allow admin to be able to view the users passwords...

what would you guys consider the best way going about this?? i really don't know too much about the admin templates due to i've never really had to do any custom work in this part of an eZ site..

any clues or suggestions higlhly appreciated.

Fabricio.

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

Thomas Nunninger

Wednesday 15 February 2006 6:06:31 am

Hi,

I can't imagine <b>any</b> case where someone else than the user himself should know the password.

By the way: the password is encrypted/hashed in the database - so there is no way to look at it. You'd need to change the user account datatype first - saving the password (additionally) in plain text. Later you can override / extend other templates (in the admin or normal site) to show this.

But at all - I wouldn't do that!

Have a nice day

Thomas

Fabricio Guerrero

Wednesday 15 February 2006 6:22:51 am

Ok,

thank you.

The reason being is that we're migrating their oldiste to a ezPublish site and it seems in their old system they are able to view users passwords.

Any how thankyou for your help.

Fabricio.

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

Kristof Coomans

Wednesday 15 February 2006 11:05:51 pm

You can let eZ store the passwords in plain text by altering or adding these settings in <i>settings/override/site.ini.append</i>:

[UserSettings]
HashType=plaintext

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 04:22:09
Script start
Timing: Jan 31 2025 04:22:09
Module start 'layout'
Timing: Jan 31 2025 04:22:09
Module start 'content'
Timing: Jan 31 2025 04:22:09
Module end 'content'
Timing: Jan 31 2025 04:22:09
Script end

Main resources:

Total runtime0.0144 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1406151.2109
Module start 'layout' 0.00500.0026 739.351636.6641
Module start 'content' 0.00760.0054 776.015694.1875
Module end 'content' 0.01310.0013 870.203133.9922
Script end 0.0143  904.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002316.1010140.0002
Check MTime0.00117.4303140.0001
Mysql Total
Database connection0.00074.694010.0007
Mysqli_queries0.002316.207330.0008
Looping result0.00000.091310.0000
Template Total0.00106.710.0010
Template load0.00074.896610.0007
Template processing0.00031.796610.0003
Override
Cache load0.00053.531710.0005
General
dbfile0.001510.463980.0002
String conversion0.00000.061440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs