Disable Non-Secure HTTP access

mcapps

n3wb
Joined
Dec 27, 2016
Messages
16
Reaction score
1
Location
Utah
Hello,
I've got stunnel and https working on my install, but I'm now wondering how I can redirect HTTP (80) requests to HTTPS (443). Is there a method for disabling non-secure web access?
 

hmjgriffon

Known around here
Joined
Mar 30, 2014
Messages
3,386
Reaction score
979
Location
North Florida
Hello,
I've got stunnel and https working on my install, but I'm now wondering how I can redirect HTTP (80) requests to HTTPS (443). Is there a method for disabling non-secure web access?
what are you talking about, just don't forward a port to port 80 on BI, use VPN, etc.
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,907
Reaction score
21,294
Automatic redirection.
Redirect HTTP to HTTPS automatically | GoDaddy Help US
This is a very normal thing in the web world. If user goes to cameras.company.com, they are automatically redirected to https://cameras.company.com. Usually this is handled by the web server such as IIS, nginx, apache, etc.

I can disable port 80, but that wouldn't automatically redirect users to port 443.
Why would you want to automatically redirect.. Makes zero sense...You know the port you need... Regardless this is not something blue Iris would do since the port is closed and it would never know...
 

mcapps

n3wb
Joined
Dec 27, 2016
Messages
16
Reaction score
1
Location
Utah
To simplify the user experience for employees and executives that log into the system, no other reason than that. I know the port I need, but trying to get some of these guys to remember https or :443 is next to impossible. I'm avoiding the inevitable after-hour phone calls that I know I'll get from users unable to log into the system. Like I said, it's common in the web world, you hit https redirects dozens of times every day without noticing.
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,907
Reaction score
21,294
To simplify the user experience for employees and executives that log into the system, no other reason than that. I know the port I need, but trying to get some of these guys to remember https or :443 is next to impossible. I'm avoiding the inevitable after-hour phone calls that I know I'll get from users unable to log into the system. Like I said, it's common in the web world, you hit https redirects dozens of times every day without noticing.
If its so common you should be able to find a way to do this...blue iris cannot as you it will never even know an attempt was made over port 80...They all should be using a link or shortcut, do you expect them to remember the URL?
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,687
Reaction score
14,056
Location
USA
You could install IIS (the web server that is included with Windows) and make sure the request redirect subfeature is installed, then configure an empty website in IIS and set up the redirect feature. Obviously then you would port forward external port 80 to whatever port you set up IIS to listen on.
 

mcapps

n3wb
Joined
Dec 27, 2016
Messages
16
Reaction score
1
Location
Utah
^^ That would totally do, I've got BI running on Server 2k12r2 anyways, thanks for the tip!
 
Top