Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    1

    Default Syntax to access password protected directory from address bar

    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. #2
    Member
    Join Date
    Mar 2005
    Posts
    75

    Default

    if its a passworded folder i believe you can use the same way as FTP in the URL like so...

    http://usernameassword@webaddress.com/folder/

Similar Threads & Tags
Similar threads

  1. Password Protected Directory Question
    By whey in forum New User Questions
    Replies: 5
    Last Post: 03-11-2010, 06:26 PM
  2. form to access password protected directory
    By totalcy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-29-2007, 10:55 AM
  3. Protected Directory Password Retrieval
    By MrHWD in forum Database Discussions
    Replies: 1
    Last Post: 03-22-2007, 08:56 AM
  4. Trouble with Password-Protected Directory
    By urantian in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-11-2005, 07:02 PM
  5. password protected directory login
    By mrlarter in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-04-2003, 02:51 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube