Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6761163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:09:12+00:00 2026-05-26T14:09:12+00:00

everytime I download something from some website, I get redirect to a different page

  • 0

everytime I download something from some website, I get redirect to a different page than it says that “the download will start in 5 seconds, or click this link”

I’m also building a site now where authenticated users should be able to download some files

I would like to know what are things that need to be considered when building a download page ?

(probably something like anti-bots that would download the same file for 100 times etc.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:09:12+00:00Added an answer on May 26, 2026 at 2:09 pm

    It depends on how many users controls do you want to add…

    1) You can add a captcha control for every download attempt

    2) You can “show” it only when some user (identified by IP) download N files, simply get the IP and add into a database (for history pourpose) with date time, if a user try to download another (or the same) file in less than X time you can show a captcha or block the download.

    3) considering what you wrote in the answer I suppose that you know how to create a downloader.php that send the file itself and not the direct link to the file.

    Best way I know to protect a file from unauthorized access/download is to put it into a folder not reachable from web, using php to load it and let the user download, or copy it to a temporary directory accessible from web and give the user the tmp link (created dinamically).

    In the second case you need to clean the tmp directory once in a while

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want that everytime someone wants to checkout the project from SVN he/she will
My app should download many pictures from one website,the number is more than 200.So
One of the app that I coded was giving option to download everytime I
I have some tabs that are ajax powered. So everytime a tab is clicked
I need to write a Chrome extension that gets notified everytime a download is
Why does every time I do mvn jetty:run, maven tries to download some dependencies
Everytime i retrieve data from a mysql stored procedure with a concat function an
everytime my page loads, im supposed to create a datatable (also a jquery plugin)
I get an error everytime I upload my webapp to the provider. Because of
I'm trying to use WebClient to download a bunch of files asynchronously. From my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.