Asked — Edited

Question About The Http Server

Good Morning,

I just used the HTTP Server in my project. I have a question please: Would it be possible to add a user name and password? (I only see one field entry)

Thanks! Wayne


ARC Pro

Upgrade to ARC Pro

ARC Pro is your gateway to a community of like-minded robot enthusiasts and professionals, all united by a passion for advanced robot programming.

#1  

You can add user names, but they are not password protected. The Advanced HTTP server (custom) does not have user names or passwords....

Alan

#2  

@thetechguru: Thanks. If I knew HTML, could I add a provision for it? Could I make my own HTTP page?

#3  

Probably with the custom server. It would not be as secure as having it built into the server though and I am not totally sure of the steps you would need to do it.

Are you trying to make the server available over the Internet but just for you or specific users or do you need protection within your network? Will the users always be connecting from the same computers/phones?

The option I went with is a VPN to get into my home network, so the server is not visible from the internet except for my computer and phone. I installed OpenVPN on a Raspberry Pi, but there are (probably simpler) Windows only options. I had to go this way though because my ISP (Verizon) blocked the PPTP VPN ports used by Windows, and I wasn't ready to figure out an IPSEC VPN (it is possible that PPTP would work now, I haven't tried it in years, and when I needed a VPN again, I already had the Raspberry Pi to install it on). Advantage of PPTP is that the client is built into Windows, Android and iOS, so nothing to install, just configuration. Not sure about the server side with Windows10. Last time I tried I had a Windows 2003 server that had it built in.

Alan

#4  

Search how to password protect a web server directory. The .htaccess Method may work.

#5  

@thetechguru: Yes, trying to gain access from the internet. I am on a secure network, (company) but, would like to have that extra level of protection.

I created two different login names. I made them kinda of ridiculously long. I will give one of them to a co-worker later on, after the IP address of the computer is routed to a public address with a custom port.

So far the HTTP Server is good, I really am glad it is available for use.