Jump to content
GOT

Password Management

Recommended Posts

We sell and manage dedicated servers and we are looking for a way to add service passwords to a product.  These can vary, its not a fixed set.  Root of course, but sometimes there is a mysql passowrd, a FTP password, perhaps a phpmyadmin login, a control panel login, etc.

We tried using the modulesgarden password manager, but its layout and display is illogical.  it seems like the best way to go about it would be to list the passwords on the product page itself for the passwords related to that product.

Is anyone doing something like that and if so how are you accomplishing this?  I suppose we could add custom fields to the product, but we'd have to add fields for every conceivable login, and only use the ones that are pertinent, but that means listing a bunch of empty fields.

Hoping for some ideas!

Share this post


Link to post
Share on other sites

If you don't want a bunch of empty fields you can create a custom table in database where you can save as many password as you need.

Each password is linked to your product by tblhosting.id and has a "category" column where you freely specify password type (eg. Root, phpMyAdmin, FTP, Wordpress...).

You can populate this table with AfterModuleCreate hook, by cron or something similar.

The last part is showing these passwords to admins and clients. In both cases you have multiple options.

For admins you could inject a button "Show Passwords" directly on products view (WHMCS backend). On click open a modal or display an hidden div where you list all passwords. You could also create an addon module to view, search and manage passwords if needed.

For clients you can use a similar approach in clientarea adding your additional data to product page.

Edited by Kian

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines