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.

Syntax to access password protected directory from address bar

Discussion in 'Data Protection' started by cbenci, Sep 8, 2006.

  1. cbenci

    cbenci Registered

    Joined:
    Sep 8, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi all,

    I have a quick question I hope you can help me with.

    I have a php script that initiates the complete backup option in cpanel. I would like to fire this script remotely from a scheduler program. My problem is that to do so, the script would be open to the public (and try hard hackers).

    The obvious answer is to hide the script behind a protected folder. This would require a login, which would stop the scheduler.

    Is there a way I can embed the user and password for the protected folder into a html address?

    Many thanks,
    Christian.
     
  2. pross

    pross Well-Known Member

    Joined:
    Mar 14, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page