Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Hekp Needed !! URGENT

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

  1. chiragshah1974

    chiragshah1974 Registered

    Dec 15, 2005
    Likes Received:
    Trophy Points:
    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 . 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

    Nov 15, 2005
    Likes Received:
    Trophy Points:
    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

    Nov 25, 2005
    Likes Received:
    Trophy Points:
    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! :)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice