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?
- apply_filters() and call_user_func() to define and call a function outside a class
- WP_List_Table Inside Metabox With Bulk Actions Not Working on Submit
- Showing results from json-string in WordPress search results page
- Can someone explain what’s the use of parse request function in WordPress?
- Attaching Image-file to userId
- Add parameters to 3rd party callback function
- Pass custom props to
- How to show only the last two categories in a menu?
- wp.media gallery collection sometimes undefined
- How to save page URL as a favorite
- Getting Post ID at “stylesheet” and “template” hooks
- Translations only load from `wp-content/languages/plugins` but not from the plugin’s languages folder
- Pass Values in URL on WooCommerce Product Page
- Get API auth_token token to renew weekly
- Ajax action has 200 status but response of No response data available for this request
- How to remove dynamic-css
- Custom post type change permalink query
- Help to Create a Simple Plugin to make a post
- Woocommerce place order update shipping price
- escape html in jQuery for WordPress
- How to display specific data from a custom table to logged in users with a custom role
- Upload product image from frontside for administrator only
- wp_schedule_event not executing function call, even with add_action
- Progress bar in plugin within admin
- add_filter postbox_classes multiple post types
- Generating a password-protected front-end page via a plugin
- Jquery php request is returning a weird result
- $wpbd->insert_id is returning null
- I need to combine Pages Listing and Main Menu from frontend in WordPress
- WordPress Does not grab the string sends useing AJAX response, wp_ajax hook
- Error code when migrate
- script seem not load with use wp_enqueue_script
- Count products with custom metadata field in an order
- Query String Filtering API
- Getting incorrect filepath inside custom block front-end output using @wordpress/create-block tutorial
- extraprops override existing props
- Add custom product data using javascript when add to cart button is clicked
- Insert and read media from the WordPress library and call in the plugin
- Include external po file for 3th party plugin to theme
- Creating a WP plugin and having issues linking CSS stylesheet within functions
- Posts form with AJAX request – Plugin development
- How to enhance a self developed plugin by its own plugin architecture
- Trigger function on Remove block or add new block in Gutenberg JavaScript