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 7696997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:54:34+00:00 2026-05-31T21:54:34+00:00

I want to include sensitive (debug) information on the page in case of errors

  • 0

I want to include sensitive (debug) information on the page in case of errors so that I can collect that information while checking the production app. It is easier to use than logs.

To make this secure I can:

  • show the debug info only when a secret key is in cookies
  • encrypt the information on the page and decrypt it using JavaScript in the browser (via extension or just JavaScript included on the page)

The second options looks a bit better as it:

  • makes it possible to ask user to send us the encrypted data with description of the bug
  • does not require https connection to be secure.

The disadvantage of this approach is that you can have some performance issues if you collect debugging data so maybe the best would be to use a combination of both approaches…

Actual questions:

  • Do you know any library / browser extension that implements such feature?
  • Do you know any better way of doing this?
  • What do you think about the second idea?
  • 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-05-31T21:54:36+00:00Added an answer on May 31, 2026 at 9:54 pm

    The encryption solution would make you very vulnerable if the decryption key should be lost. You may change the key at regular intervals, but if an attacker gets your key then he still can use that to decrypt old stacktraces that he may have collected.

    How about this approach? Store the stacktrace on the server with a unique id, i.e. in a database or on a file. Put the unique id on the web page with the error message and ask the end user to copy this id when he reports any errors. Create a web page with a form where you can enter the unique id and your own username and password. The web page shows you the stacktrace.

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

Sidebar

Related Questions

I want to include a function on my page, that checks whether the user
I want to include validates_confirmation_of :password in a module but i keep getting errors
I want to include a folder in a setup project so that when I
I don't want include cc or bcc fields in mail composer sheet .. Can
I want to include the libavcodec in my Qt-project. Should I do that with
I want to include a css file to a jquery plugin. I can choose
I want to include a JavaScript (.js) file on my page. In the JavaScript
I want to include certain information about an image in the image itself. The
I want to include video thumbnails as part of my python app. However, I
I want include the Type name of each object in my collection from my

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.