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

  • Home
  • SEARCH
  • 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 3338692
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:24:22+00:00 2026-05-18T00:24:22+00:00

I recall reading sometime ago that all GET requests from a webbrowser are logged.

  • 0

I recall reading sometime ago that all GET requests from a webbrowser are logged. Is this correct? Where are these logs located?

If so are there any workarounds to prevent logging your webservice username and passwords?

I understand I can change my webservice to accept POSTS (which if I recall correctly the article said were not logged) but the issue I have with this is currently the webservice accepts GETS and returns JSON and POSTS return XML. This seems like a handy feature and something I would like to keep.

What are best practices regarding such scenarios?

  • 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-18T00:24:23+00:00Added an answer on May 18, 2026 at 12:24 am

    The particular issues comes with GET requests to authenticate, where the user credentials are sent in plain text as query parameters to the URL. Most web servers will log the verb and the URL for all requests, thus when the credentials are in part of the URL, they will show in the web server log.

    POST requests on the other hand, usually send the data in the body of the request, so it will not show in the web server logs, as standard logging configuration does not log the payload of the requests. That said, even if you do switch to using POST, an administrator still can configure the hosting web server to record the payload of each request.

    And to answer your specific question – no, there is no way to prevent the user credentials from being logged by the web server, if they are part of the request URL. However, you could (and should) change your code to at least not send the credentials in plain text, but at least hash them with a hash salt generated by your web service at the beginning of the current session (and put in a cookie for example). Since the cookies are not logged on the server, and the hash salt changes between sessions, there is no way for someone tonextract the credentials from the log file only.

    On a side note, you should also change your service to decide the response format based on the accepted content type specified in the request, instead of the request verb.

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

Sidebar

Related Questions

No related questions found

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.