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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T23:31:59+00:00 2026-05-28T23:31:59+00:00

As my webserver doesn’t allow use of the PHP_AUTH_USER and PHP_AUTH_PW keywords because of

  • 0

As my webserver doesn’t allow use of the PHP_AUTH_USER and PHP_AUTH_PW keywords because of CGI (Col. Shrapnel in ‘PHP_AUTH_USER not set?’) I’m examining some other ways to send a user’s password to the server.

Sending the password as plaintext using POST is a no go: capturing packets and looking at the header reveals the password.
So I could hash the password first. But someone intercepting the packet and copying the hash and username could still login using this information, right?

Making the hash dynamic by using a timestamp could prevent copying the hash. Sending the password as (timestamp + hash(password+timestamp)) (Last.FM uses something like this). The server could then subtract the timestamp (check if it’s not expired or something), and hash the known password with it and check if they are the same. But then the password has to be known by the server, so the question remains:

how to get this password safely to the server upon registering?

Then, there’s https, requiring a SSL certificate, which is not available for me (not worth the money (yet?)).

Any thoughts?

p.s. In the end I want to authenticate an Android app against my webserver

  • 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-28T23:32:00+00:00Added an answer on May 28, 2026 at 11:32 pm

    If security really is so important to you, I’d really go for something like HTTPS. If it’s not available to you, maybe switch webhost or whatever is your limitation? If money is the problem, there were some suggestions in the question comments (free ones, self-signed, etc).

    This hashing with timestamp and such is pretty much only going to end up as security through obscurity (related question).

    I’m not a security expert though. All I know is that security is very very hard, and the ones who want to break in are usually smarter than me. So I try to keep things simple and use common well-tested solutions instead of trying to come up with my own “clever” thing.

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

Sidebar

Related Questions

I have a directory on my webserver. It does not have an index page.
I have a webserver running on my Windows XP computer. I have set the
I have an apache webserver serving 2 URLs. I use VirtualHosts to configure it
I have a local development webserver set up using Win7 and IIS7. I often
why jquery load() method doesn't require a webserver to work properly , although ajax
I know that Iphone doesn't allow file uploads via web on safari, so i
I know how to set up a local webserver using xampp on windows... I
If webserver can send gzip response, why can't browser sent gzip request?
I got a webserver with a running application. There's a webpage with a form:
I have an embedded webserver that has a total of 2 Megs of space

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.