The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can I make a link to automatically login? (cpanel demo)

Discussion in 'General Discussion' started by Triden, Nov 3, 2004.

  1. Triden

    Triden Member

    Joined:
    Apr 19, 2003
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    I created a demo mode account for a site so that people can see what Cpanel is like. Is there any way to make a link that will automatically enter the username and password so the user doesnt need to?

    Also, is demo mode insecure? Is there a better way at offering a demo?

    Thanks!
     
  2. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    HTTP://USERNAME:PASSWORD@demo.yoursite.com This is how you would link.

    I always ran demo openly and had no issues. What I did was every few months or so just delete the account and reset it up. It clears it all out and just plain makes you feel a bit better.
     
  3. s_2_s

    s_2_s Well-Known Member

    Joined:
    Aug 9, 2004
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    16
    Yes cpanel demo is so insecure because

    i recently discoverd that a client of mine could successfully put a file called "telnet.cgi" in the cgi-bin directory
    i heard there are some security holes in crontab system as well

    if you need a secure demo for your visitors go for www.cpaneldemos.com
    its owned by a very decent and experienced member on here
     
  4. icanectc

    icanectc Well-Known Member

    Joined:
    Mar 10, 2003
    Messages:
    344
    Likes Received:
    0
    Trophy Points:
    16
    This method no longer works in SP 1 of Internet Explorer 6.0. So its pointless.
     
  5. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    <form action=http://yourdomain.com:2082/login/ method=POST>
    <input type=hidden name=user size=16 value=username>
    <input type=hidden name=pass size=16 value=password>
    <input type=submit value="Login">
    </form>

    Use an SSL site so the hidden values aren't viewable
     
    #5 fwwebs, Nov 3, 2004
    Last edited: Nov 3, 2004
Loading...

Share This Page