Images outside webroot


Posted on 16th Feb 2014 07:03 pm by admin

Im hopeing someone can help me with this because i cant figure it out.I have setup an ASP.NET website in C# that allows end users to upload files to the server. I am able to save these files outside of the webroot to a folder (C:Uploads). I need to leave the images there so a bot will not be able to search the site and find the images. But I also need to access these files for the person that has uploaded them.How do i access these images outside of the webroot?

No comments posted yet

Your Answer:

Login to answer
340 Like 13 Dislike
Previous forums Next forums
Other forums

System copy error in RUN ABAP REPORT PHASE
Hi,
I am performing system copy on my test server. I have previously taken export of JAVA + A

matching numbers inside ( )
I know I can match numbers by just [0-9]+, so I thought matching numbers inside ( ) would be somethi

Strange PHP/mySQL error ... am I just tired?
Code: <?

## CONNECT TO DB FUNCTION!
function ConnectTo($db2con)
{
$hostNam

Does design fit in FPGA ?
Hi all,

I've made a large HCC-Design. Because of the program-size the compile process with th

word wrap in emails help needed
Hello, I understand how wordwrap works in php and have used it well before. However when I used wor

A Few Questions
Hi, I want to ask a few questions that I can't seem to find..

1) I'm creating a "shortcu

form problem
below in the form action, i've put "test.php?w=$sw&h=$sh" but when i input the for

Where do I put CRON code
So I've figured out alot about how to automatically run a php function. I can't figure out where to

Download Image from URL and Upload it
Ok, I have been googling for the last 1/2 hour trying to figure this out, Most likely I'm just not s

Is STL important?
I'm just starting programming and I've made it until the Standart Template Library. But the chapter

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash