Web Hosting Talk







View Full Version : cPanel Login Question


FTN BLZZRD
04-29-2007, 03:05 PM
For bookmark purposes, is there a way to pass the username and password into the URL which when access logs you in with those credentials?

CymraegWalesHosting
04-29-2007, 03:22 PM
Yes there is. In the URL you need to put this in

EG
serverhostname/login/?user=accountusername&pass=accountpassword
-----Real example(taken out my servers host name for protection)-----
host.X***********/login/?user=demo321&pass=dem

Thanks,

FTN BLZZRD
04-29-2007, 03:30 PM
Thank alot for the reply logik.

Maybe you can help me out with one more thing. How do I find the hostname?

CymraegWalesHosting
04-29-2007, 03:32 PM
Do you own your own server?

If not give me the IP and i will find out the host name for you

Thanks,

MACscr
04-29-2007, 06:50 PM
Yes there is. In the URL you need to put this in

EG
serverhostname/login/?user=accountusername&pass=accountpassword
-----Real example(taken out my servers host name for protection)-----
host.X***********/login/?user=demo321&pass=dem

Thanks,

Just so you know, this is very insecure and a very bad way to login. You also dont have to use the hostname, the ip will work just fine.

M3TechSolutions
04-29-2007, 07:54 PM
Although I do agree with MACscr that this is a very insecure way to do this, you could also do:

http://cpanelusername:cpanelpassword@youdomainorhost.com:2082

or the secure version:

https://cpanelusername:cpanelpassword@yourdomainorhost.com:2083

Again, although this seems convenient, I think you will realize that if ever your server was compromised, that you might have wanted to take the two seconds to punch in your username and password. =)

Just my opinion though, Hope it helps.

Cody

MACscr
04-30-2007, 12:11 AM
or the secure version:

https://cpanelusername:cpanelpassword@yourdomainorhost.com:2083



it really shouldnt even be considered secure as the url is still passed as plain text and of course if that url is being stored as a favorite or such, its plain text as well. Not secure one bit.

M3TechSolutions
04-30-2007, 09:31 AM
it really shouldnt even be considered secure as the url is still passed as plain text and of course if that url is being stored as a favorite or such, its plain text as well. Not secure one bit.


As stated I don't agree with this method because its not secured, but that technically is the Secure method to do so in the way he wants to do it.

Cody

MACscr
04-30-2007, 11:12 AM
As stated I don't agree with this method because its not secured, but that technically is the Secure method to do so in the way he wants to do it.

Cody

stop calling it secured.

http://cpanelusername:cpanelpassword...rhost.com:2082

and

https://cpanelusername:cpanelpasswor...rhost.com:2083

Are both exactly the same when it comes to the security of the url. They both are plain text and both insecure. The fact that the second one is an ssl page has absolutely nothing to do with the urls security.

I am not trying to argue over semantics, i just dont want the original poster to get the wrong idea that there is a secure way to do this.

CymraegWalesHosting
04-30-2007, 12:50 PM
I agree, this is not a secure way and as a procortion ask you host to turn that account into a demo, that means that account cant be used to do anything bad.

Thanks,

M3TechSolutions
04-30-2007, 12:59 PM
AGAIN as stated I didnt say it was a good method its just using a secure CONNECTION not a secure login method.. I never meant it as a secure LOGIN, just a secure connnection.