Advertisement:

Author Topic: Possible to have user selectable HTTPS?  (Read 518 times)

Offline Allstar123456

  • Newbie
  • *
  • Posts: 4
Possible to have user selectable HTTPS?
« on: January 11, 2021, 02:27:08 PM »
I appreciate this might sound a bit weird, basically I'm wondering if it's even technically possible to have a user select-able switch in their profile settings that can make the site redirect all links to https:// ?

The reason is I brought back an old forum of mine from 2015 which is about a Mobile OS (Symbian) which is discontinued and struggles with HTTPS sites (anything above TLS1.0 won't open), but I of course would like the users who aren't browsing from that platform to be in HTTPS while Symbian users in HTTP and still able to browse the forum.

Thanks



Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,052
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: Possible to have user selectable HTTPS?
« Reply #1 on: January 11, 2021, 02:31:34 PM »
I could be wrong but....if you don't use a redirect in your htaccess http to https then users should be able to view either one.... and if in your settings you don't set the forum address to https then both should be useable ?

Online Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Project Manager
  • SMF Super Hero
  • *
  • Posts: 19,589
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • My Daily Dose Of Blasphemy
Re: Possible to have user selectable HTTPS?
« Reply #2 on: January 11, 2021, 02:43:28 PM »
It could be a bit tricky, you would really want https -users to get _everything_ through https, but you couldn't really achieve this without forcing the http folks to see https stuff as well.
In short - It isn't really a good idea.
A Finnish Project Manager (Support Specialist)
Happily running multiple SMF 2.x installations.
 Fooling around with an i7-10700 @ 2,90GHz-4.80GHz / 16Gb / RTX-2070 Super / 3840x2160 / Win 10 x64


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 963
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Possible to have user selectable HTTPS?
« Reply #3 on: January 11, 2021, 05:13:31 PM »
Let's go back a step.  Why would you want this as a function? Where's the downside to https?
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

Offline Sir Osis of Liver

  • SMF Super Hero
  • *******
  • Posts: 10,811
  • We were all equal in the end.
Re: Possible to have user selectable HTTPS?
« Reply #4 on: January 11, 2021, 08:04:17 PM »
Put them in different domains, cpanel has options per domain to force https or not, you should be able to run one in https and the older one in http.
“The best laid schemes o' mice an' men / Gang aft a-gley.” - Robert Burns

Offline GigaWatt

  • The Smiley Guy
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,341
  • Gender: Male
    • MechDR on GitHub
    • Macedonian electronics forum
Re: Possible to have user selectable HTTPS?
« Reply #5 on: January 12, 2021, 05:37:01 AM »
Let's go back a step.  Why would you want this as a function? Where's the downside to https?

The OP wants Symbian users to be able to browse the forum correctly... and Symbian has no support for https and no implementation is planned since it's EOL.

Put them in different domains, cpanel has options per domain to force https or not, you should be able to run one in https and the older one in http.

This is actually the only viable scenario that I can think of as well. No good for search engines, but it'll work.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline Allstar123456

  • Newbie
  • *
  • Posts: 4
Re: Possible to have user selectable HTTPS?
« Reply #6 on: January 12, 2021, 06:45:56 AM »
I could be wrong but....if you don't use a redirect in your htaccess http to https then users should be able to view either one.... and if in your settings you don't set the forum address to https then both should be useable ?


My only worry there is let's say someone shares a https link on social media, a Symbian user tries to open it they will just get a blank screen (there's no good error messages on Symbian browsers it's just a blank screen); unfortunately not many of them understand they need to change the url to http.



Put them in different domains, cpanel has options per domain to force https or not, you should be able to run one in https and the older one in http.


I think this is the only option, bugger.





Thanks for your help everyone, I thought it would be something that's not possible.

Offline GigaWatt

  • The Smiley Guy
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,341
  • Gender: Male
    • MechDR on GitHub
    • Macedonian electronics forum
Re: Possible to have user selectable HTTPS?
« Reply #7 on: January 12, 2021, 03:59:32 PM »
My only worry there is let's say someone shares a https link on social media, a Symbian user tries to open it they will just get a blank screen (there's no good error messages on Symbian browsers it's just a blank screen); unfortunately not many of them understand they need to change the url to http.

Just use plain old http. My forum is still on http with no plans on migrating in the near future, still up and running ;).

Though with 2 or 3 posts a week ::), but still... if nothing else, bots seem to like it ;D.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."