The web hosting service I am using has a bit of an ugly UI for logging into domain emails, so I just wanted to put a thin interface over the login screen. My goal is to have users submit their login credentials onto my custom form and then forward those credentials to the real login page and log them in, without showing the user all of the intermediate hoopla.
After some quick googling I found this, which looked like a good solution (the javascript portion of the accepted answer). However, I am not sure if this method is secure? I would just be taking in user data from an html/css form and forwarding it to a form on another URL. How safe is this?