About
Pricing
Community
Teams
Start Free Trial
Log in
cdakz
asked on
8/6/2015
How to provide a hyperlink to file without revealing path?
I need to provide an href / hyperlink in a web browser to a file, so that the user can open/download it, but NOT provide the full path to the file (for security reasons).
What's the best way to do this?
Web Development
HTML
C#
.NET Programming
7
2
Last Comment
cdakz
8/22/2022 - Mon
SOLUTION
Jason C. Levine
8/6/2015
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
cdakz
8/6/2015
ASKER
I get the gist, but am familiar with asp.net/c#, so the php isn't clear.
Suggestion on how to do this in C# on ASP.NET? (Sorry I didn't say so in the beginning).
Jason C. Levine
8/6/2015
Sorry, I don't work on Windows. I will add those topics to your question so those Experts will see it.
David Johnson, CD
8/7/2015
use a virtual directory.
http::\\sitename\path
can point anywhere on that server.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER CERTIFIED SOLUTION
cdakz
8/7/2015
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Jason C. Levine
8/7/2015
Thanks, cdakz. Happy that I got you looking in the right direction.
cdakz
8/12/2015
ASKER
Selected my solution because it was the ASP.NET MVC solution.
Suggestion on how to do this in C# on ASP.NET? (Sorry I didn't say so in the beginning).