Description
This module allows you to create fields that store passwords. It will store the passwords in encrypted format and (by default) will not display them on the website. This is useful, for example, if you are creating a website that integrates with other services and you would like users to be able to store their password more securely than using a text field. Using this module, you could create a password field and attach it to the user entity (just like any other field), knowing that the passwords will be stored in an encrypted format and won't be displayed to other users.
Note, this is completely different from the Password module that backports the pluggable and secure hashing from Drupal 7 to use with Drupal 6. This module is more like the Email Field or phone modules in that it provides a field type.
Project Page: http://drupal.org/sandbox/jrsinclair/1772812
Git Repository: http://git.drupal.org/sandbox/jrsinclair/1772812.git
Drupal Version: 7.x
PAReview: http://ventral.org/pareview/httpgitdrupalorgsandboxjrsinclair1772812git-...
Reviews of other projects
- Menu target http://drupal.org/node/1761952#comment-6431962
- DrupalWinCache http://drupal.org/node/1473540#comment-6431860
- CSS Crush http://drupal.org/node/1740956#comment-6431784
- Taxonomy Views Switcher http://drupal.org/node/1117208#comment-6441442
- Advanced scheduling field http://drupal.org/node/1684898#comment-6441598
- No Field Markup http://drupal.org/node/1747854#comment-6441708
- Supersized Formatter
- Subheading Links http://drupal.org/node/1777334#comment-6446582
- Node Revision Delete http://drupal.org/node/1780980#comment-6470442
http://drupal.org/node/1757484#comment-6447174
Comments
Comment #0.0
jrsinclair commentedMaking things more succinct and to match with other project review applications.
Comment #1
dharam1987 commentedHello,
I have downloaded and tested your module, this is in-fact a great module which can be used for these purposes as well, which I feel you may add to your description.
This module is highly useful when I want to provide security to my node content, ex- If I have a content type for videos and I would like the contents to be viewed only by the authorized users, this module is really handy there. It provides the flexibility for the content driven websites to allow there users to create secure content.
however in order to password protect the node page, we may need few more lines of code.
--
From my experience, I have reviewed the code structure as well and feel that the module has adhere all the coding structure and is upto the mark. I have n't found any unnecessary code in this module.
Suggestion :- But personal
--------------------------
I would rather love to name the label as : Encrypted password, just as I was a bit confused is the Password option coming here is for this module or not.
Add two lines of comment above the "PASSWORD_FIELD_SALT" definition, as most beginners gets confused weather it would be ideal to change it or not, however you have mentioned every thing nicely in your project description.
I would suggest /*This is SALT which will be used while encrypting/decrypting the password, it is strongly recommended to change the value of this constant. NOTE that you must do this BEFORE you create any instances of password fields though, as the module will no longer be able to decrypt previously stored data.*/
I hope others will also do a code review and provide suggestions.
Thanks ! Very nice module !
Comment #2
yseki commentedHello,
Great module you have. I have downloaded, installed and tested with some data and it's works well.
Your code is clean and understandable.
I agree with the comment from dharam1987, your project could call something like encripted field because it's good to save any field in a encrypted form.
I still have one sugestion for future implementation:
Comment #3
lord_of_freaks commentedHello
I have downloaded, installed and tested and it's works well.
I create a field (field_password) on Article type, creating a node and via hook_node_view (following module documentation ) testing if the password value is back and it does
I agree too the recomendation about give more information about PASSWORD_FIELD_SALT
Also recommend create password_field.admin.inc and a form where priveleged users could set PASSWORD_FIELD_SALT value, for example at admin/config/development/password_field
Anyway great work!!!!
Comment #4
klausiThank you for your reviews jrsinclair! When finishing your review comment also set the issue status either to "needs work" (you found some problems with the project) or "reviewed & tested by the community" (you found no flaws).
manual review:
So I think the first point is a security blocker, otherwise this looks nearly RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #5
jrsinclair commentedFirst of all, thanks to @dharam1987, @yuriseki and @lord_of_freaks for your helpful comments.
@klausi, you were absolutely spot on with both points from the manual review:
Comment #6
jrsinclair commentedAdding links to three more reviews for a review bonus.
Comment #7
klausiPlease add all your reviews to the issue summary and be proud of the community service your are doing here. It is much appreciated :-)
manual review:
Anyway, just minor stuff, RTBC now. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #8
klausiComment #9
jrsinclair commented@klausi, thanks for taking the time to review. In response to your points:
Comment #9.0
jrsinclair commentedAdding in link to automated review tool.
Comment #9.1
ruz commentedAdding review links
Comment #10
ruz commentedHello,
Great work on the module. It is very useful for my current projects.
It works really well and the code is nice and clean.
Comment #10.0
ruz commentedAdding additional review links.
Comment #11
jrsinclair commentedUpdated reviews.
Comment #12
klausino objections in more than a week, so ...
Thanks for your contribution, jrsinclair!
I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #13.0
(not verified) commentedUpdating review list