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.

Hekp Needed !! URGENT

Discussion in 'Security' started by chiragshah1974, Dec 15, 2005.

  1. chiragshah1974

    chiragshah1974 Registered

    Joined:
    Dec 15, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have one IP based hosting account.I have cpanel with it.

    This account is used to store some files.

    Now I want that only those can download these files who are visiting from my site www.anysitename.com . No body can directly download or surf my IP based site.

    How can I do this in Cpanel.

    Please advice me..

    Thanks in advance
     
  2. simplestar

    simplestar Well-Known Member

    Joined:
    Nov 15, 2005
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    There might be better ways, but the only way I know would be on the frontend. In the domains file directory, move all download files out of public_html and into a folder beside public_html. This way your files cannot be downloaded by just anyone. Set each file with a pass and create an allowable user to expire in 24hr or retry 3times, whatever you want.

    EDIT: To clarify, I mean when you allow a particular person to download, you create a username and set it to expire. Delete the user or change the password after an allotted amount if time or retries.
     
  3. ShockHosts

    ShockHosts Well-Known Member

    Joined:
    Nov 25, 2005
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    It is easy... Login to cPanel and do the following:

    1) Click the 'Hotlink Protection' link in cPanel.

    2) Now put in the URLs that can direct link to the file(s).

    3) Scroll down and put in the extensions (.jpg/.html etc) that don't need protection..

    After you have done this you are done. If you want further protection, try using the 'Leech Protection' script in cPanel as well!

    If your host doesn't give you this yet, try my host! :)
     

Share This Page