Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8674255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:39:53+00:00 2026-06-12T19:39:53+00:00

I am sending sensitive information to my users that I would like them to

  • 0

I am sending sensitive information to my users that I would like them to be able to copy (for pasting elsewhere) but not see directly.

There are a few approaches I have considered, and I am stuck on all of them.

  1. Populate an password box with the data, but this doesn’t allow
    them to copy the text.

  2. Make the text color the same as the background color. However, I
    am afraid that my users will not even know that there is text to
    copy. They will just sit there and go “I don’t see a any text!” Even
    if I do point out very explicitly what they are supposed to do, then
    the text will still be visible when it is selected.

  3. Create some kind of on_copy event that will pass the text when a
    user copies the asterisks. I know how to use jQuery’s bind() to
    detect a copy, but I have not found a way to change what actually
    gets copied.

  4. Last and least: Something fancy with javascript and clipboard
    management. I really don’t want to go there as it would require
    flash.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T19:39:54+00:00Added an answer on June 12, 2026 at 7:39 pm

    How about this… you make a div or input containing the “hidden” text with opacity 0.001, focus() it and set it’s selection on the whole content (which should be the text you want the person to copy) via javascript and somehow inform the user to press Ctrl+C to copy the data (possibly with an javascript popup-like event that stays there for a few seconds for the user to read it).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page that contains sensitive information that I would like to require
As we all know that using GET method for login (or sending sensitive information)
I am not sending any sensitive or security information in the query string. I
I am creating a console application that would store some sensitive strings in memory,
iphone.php?email=%@&password=%@ Is there any issues with sending sensitive data over the airwaves like this
sending text to label and number to int from tabelview to viewcontroller but it
sending mail along with embedded image using asp.net I have already used following but
I sending ajax request from a jQuery file like below, which expects response in
Using HttpClient 4.1.0, we're trying to connect to a remote server that normally would
I am sending sensitive data encrypted when the user clicks the onclick event. This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.