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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:07:30+00:00 2026-05-30T20:07:30+00:00

I want to set up a project page on GitHub, so that it acts

  • 0

I want to set up a project page on GitHub, so that it acts as a live site.

The site would require an API sid & token (both just long strings of text) that, in a self-hosted environment, the user would just add to the config file.

If I host this through GitHub project pages, users will supply their sid/token through a form. The page with the form will need to be served over SSL so that the sid/token aren’t transferred as cleartext. The problem is that GitHub project pages don’t allow SSL.

So, if I can find another secure way to take input through a form aside from using SSL, then I can host this whole thing a hosted service through GitHub project pages.

The project would be open source, so I don’t expect any sort of encoding/hashing scheme to work, since the methods would be public.

The sid/token are being used in curl calls to an API which is sent over SSL. Perhaps there’s a way to direct the form input directly to that SSL URL instead of having it go through the non-SSL GitHub project page…

Any ideas?

  • 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-30T20:07:31+00:00Added an answer on May 30, 2026 at 8:07 pm

    You can just give the action attribute of the form the HTTPS URL of the target script, if that’s possible.

    You could also use some kind of Challenge-Response encryption/hashing scheme using Javascript. The algorithm for that would be something like this:

    1. Server generates unique, random token, saves it and sends it to the client along with the form HTML.
    2. On the client side, Javascript intercepts the form submission and hashes the sensitive form data with the server-generated token as a salt.
    3. Server can now check whether the hash is equal to its own calculated hash value

    HOWEVER

    A man-in-the-middle attacker with the ability to modify traffic (for example through ARP poisening, DHCP or DNS spoofing) could always strip all your client-side protection mechanisms from the served HTML. Have a look at SSLStrip for a tool to rewrite HTTPS URLs to unsecure HTTP URLs on the fly. The challenge-response could be defeated something like this:

    1. Save token sent by the server, remove the Javascript from the HTML form.
    2. As the form submission is not intercepted now, we get the raw input data.
    3. Hash the data using the same algorithm that the Javascript would have performed.
    4. Thank you for all the fish.

    You see, an intercepting attacker can probably defeat any defense mechanism you try to make up.

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

Sidebar

Related Questions

HI, I want to have set configuration settings for a unit test project that
I want to set up a system of Makefiles in my project directories so
I'm creating some entities (class) for my project and I want to set a
I want to set something up so that if an Account within my app
I want to set a background image for a div, in a way that
I'm working on a project that uses multiple libraries, set up in a structure
i want to ask some config error that i face in my project when
Hi I want to set up a zend frame work project in my local
I have a project in PHP that uses multiple tabs on a single page,
I want set interfaceOrientation in one UIView as LandscapeLeft and Portrait in other UIView.

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.