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

  • SEARCH
  • Home
  • 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 8052807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:39:09+00:00 2026-06-05T07:39:09+00:00

I have an image which contains a link for a file. When you click

  • 0

I have an image which contains a link for a file. When you click on it, downloading that file will begin and you can see its link in Download manager softwares or etc. It is like this:
https://stackoverflow.com/File.rar
I want to hide this link and user can not see it and only he downloads it.
How to do it using HTML?

here is a sample for that image and its hyperlink:

<a href="https://stackoverflow.com/File.rar"><img src="https://stackoverflow.com/downloadbutton.gif" alt="" width="128" height="41" /></a>
  • 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-06-05T07:39:10+00:00Added an answer on June 5, 2026 at 7:39 am

    Using only HTML it is not possible. In order to get the effects you desire, you’ll need to use a bit of scripting.

    The following articles provide some solutions:

    • PHP: Hide the Real File URL and Provide Download via a PHP Script
    • Need a GOOD script that protects download links OR member download manager script

    That being said, what you are trying to do seems like a workaround. I think there can be a better solution if you can more clearly state the actual problem. What is the end goal of this question? Why are you trying to hide the url?

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

Sidebar

Related Questions

I have a Grid which contains an Image in one of its columns. The
I have a table in which each of its TD contains image (more precisely,
I need to make the program which have one form that contains PNG image
I have a Note model, which can contain have either an image link attachment
I have a image folder which contains sub directory for each album of images
I have 2 entity's AlienImage.cfc MonsterImage.cfc Both these entity's inherit from Image.cfc which contains
i have view controller which contains a button which show the image library ,if
I have a db.BlobProperty property (called Icon) in my entity which contains an image
I have a <div> which contains a background image, the <div> sits within a
I have noticed that, from Google Maps page, you can get an embed link

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.