Don’t do it? Passwords meant to be remembered not stored, and once you store them in extractable format (i.e. without hashing or other sort of many to one transformation) they become a less effective security measure.
As with any security related question, you have to start with defining what is it that you trying to protect against and only then you can decide how to set up your protection. If you store the password on your own hardware at home there is probably no problem with storing them as plain text (not much more then storing them in an excel file) but if you store it in some free hosting and you are in the habit of installing plugins without doing a security audit then probably nothing you can think of will be secure enough.
Related Posts:
- Using password protection to load different page elements?
- How to store username and password to API in wordpress option DB?
- In Which Contexts are Plugins Responsible for Data Validation/Sanitization?
- How to properly validate data from $_GET or $_REQUEST using WordPress functions?
- Nonces can be reused multiple times? Bug / Security issue?
- Can someone explain what wp_session_tokens are, and what are they used for?
- WordPress and PHP Sessions – Security and Performance
- What is the difference between esc_html and wp_filter_nohtml_kses?
- Nonce in settings API with tabbed navigation
- Log in from one wordpress website to another wordpress website
- Problems after wp_set_password() containing an apostrophe
- Escaping built-in WP function return strings
- What is the difference between strip_tags and wp_filter_nohtml_kses?
- What are the default WordPress password requirements?
- WP Cron doesn’t save or in post body
- How to use wp_set_password in a plugin?
- WordPress restrict plugin file direct access
- Plugin development: is adding empty index.php files necessary?
- Confusion on WP Nonce usage in my Plugin
- WordPress password reset – why post rp_key?
- Coding a plugin on WordPress; when should I sanitize? [duplicate]
- Correct way check nonce (security) using old Options API
- Why do I need to check if wp_nonce_field() exists before using it
- Is there any way to check for user login and send him to login?
- WordPress security issue to output data from user input from theme option form
- Verify if user is wordpress logged in from another app since wordpress 4.0
- Secure Pages Best Practice
- wp_insert_user() function password never match
- Securing/Escaping Output of file content – reading via fread() in PHP
- best way to make a WordPresss multisite that is secure but at the same time supporting my plugin development efforts
- Video Security just like facebook [closed]
- Is disabling test_form in wp_handle_upload a security concern?
- How to connect my wordpress plugin to a remote database securely?
- wp_nonce_field displaying twice
- Is it necessary to do validation again when retrieving data from database?
- Checking a WordPress for OWASP top 10 vulnerabilities [closed]
- How do I have now a duplicated user entry if this is not allowed (and I cannot replicate it)?
- Add Password Generator on password protected page
- add_submenu_page hooked function must explicitly check user capabilities – why?
- Are there any security risks when submitting data-attribute data through AJAX?
- How to get all product in the woo-commerce? [closed]
- Why would you use esc_attr() on internal functions?
- Is it possible to use WP-CLI in a plugin (or theme)?
- Secruity Questions on a timer
- Using HTML links within translatable string
- HTML Elements in my WP Plugin being generated in JS. Security and Translated Text Question about this method being used
- How to store sensitive user data (passwords)
- How do I make secure API calls from my WordPress plugin?
- esc_attr() on hard coded string
- how to add security questions on wp-registration page and validate it
- WordPress Reset password Strength set to medium
- Use content filter on the post that is password-protected
- Experts opinions needed: How (in)secure is this approach?
- What is more secure checking capabilities of user or checking role of user in WordPress plugin development
- Data Validation, dynamically generated fields (select for example)
- Send retrieve password notification email with custom HTML email template
- esc_url, esc_url_raw or sanitize_url?
- Is there any plugin development framework
- Is wp-content/install.php a Drop-in?
- Handling results from data hooked into admin_post
- get_template_part from plugin
- Edit or Remove Plugin .htaccess Using The Admin Panel
- How to create collections that are edited in admin?
- How can i list current author’s categories?
- Rest Api How to get results of child categories with one api call
- How to store accumulate multiple option values in a single array using Options_API
- Add Post and Comments menu no longer visible
- What parameter should I pass to wp_enqueue_style to depend on the themes stylesheet?
- How do I obtain a list of categories assigned to the current post?
- Modify hard-coded conditionals for roles to custom roles
- Does wp_login only trigger before an user signs in into the admin panel?
- How to access noticeOperations from withNotices
- jQuery in WordPress Plugin
- Why is my plugin version 0.1?
- How to include jQuery into my plugin so I can use it on plugin page?
- Apply function to update_option Variable
- Duplicate shipping method logic to another shipping method [closed]
- REST Endpoint API 404
- Add a custom menu item that supports wildcards
- jQuery UI tab does not work in the plugin page
- Plugin to create Posts and Forums then choose category and parent forum
- Adding Permalink to Slides with ‘Simple Nivo Slider’ plugin?
- Include external po file for 3th party plugin to theme
- Adding the image selector/uploader to an admin back page
- setTimeout not working in jquery
- How to invalidate `password reset key` after being used
- How do I show the HTML descrption in wordpress photo gallery for my individual gallery pages?
- Javascript scroll eventHandler only working when I’m logged in in WordPress
- Add language localisation to javascript alert?
- redirect_to how to make it simply work with get parameter or similar?
- cancel place order proccess
- How I can give access to my custom plugin for editor roles user?
- Testing Plugins for Multisite
- WP: adding Javascript to specific woo commerce pages
- Calling dynamic_sidebar in plugin gives error
- Best way to handle a form post in plugin
- How To Remove The Filter That Adds JetPack Related Content To Dom [closed]
- Fixing plugin for wpdb::prepare
- Directory to store secure file
- WordPress plugin boilerplate AJAX functionality