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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:08:49+00:00 2026-05-30T03:08:49+00:00

I have come across many websites which either use doget() or dopost() method to

  • 0

I have come across many websites which either use doget() or dopost() method to handle the username and password fields entered into the login form but as it seems to me when we use doget() we have to ourselves encrypt the username and password fields as they are appended to the URL which is not so in dopost()(work is little less it seems..phewww).

But, I was kinda worried as to whether using dopost() is safe and secure or not as username and password fields are highly sensitive data.

Can anybody please tell me the merits or demerits of using either of the two for use in a login form ?

  • 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-30T03:08:51+00:00Added an answer on May 30, 2026 at 3:08 am

    POST has a higher overhead (marginally, if we’re honest, but it all adds up), but it doesn’t become part of the URL so can’t be seen by, say, a casual observer over the user’s shoulder – whereas GET can. Both, however, can be equally easily intercepted over the network, so are insecure if you don’t use any encryption… GET is just worse, because it can be read by anyone without any deliberate attempt to intercept the password

    If you use GET, the user can easily modify the input just by changing the URL, this can be a good or bad thing, you have to decide on a case-by-case basis. Post cannot be as easily modified by the user.

    The trick is to encrypt any passwords or sensitive data before you send it. That way there’s little to no risk if the packet is intercepted and, since you’ve encrypted the string, you don’t mind if someone reads it over the user’s shoulder… you can therefore use GET and save yourself a little bit of overhead at the expense of longer, less pretty URLs. At this stage, neither is really more secure than the other.

    In an ideal security world, you’d use POST with SSL so that nothing is in the URL to be very easily intercepted, and nothing that is intercepted can be used easily.

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

Sidebar

Related Questions

I have come across many ad hoc implementations of thread class in C++, but
I have come across the following type of code many a times, and I
I have come across a lot of optimization tips which say that you should
I have come across a Silverlight project that needed to make use of a
I have come across a situation (which I think is weird but is possibly
This is a particular problem that I have come across many times, but I
I have come across many xml configurations in struts , spring , ibatis etc.
I have come across a weird problem concerning composite keys and one-to-many relationship. I
Hay, not sure how many of you have come across this, but i was
Many C/C++/Fortran and other programmers would have come across stack overflow errors. My question

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.