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

redirect standard error and assert (how to?)
How do you redirect standard error and assert?

---

(Why? I am creating an web app and

pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the n

elseif help!
OK so I'm new to the site, as well as PHP altogether (Trying my hand at managing an online RPG) and

mysql select with $_get ?
Hi, i have this code:
Code: // If char id is 0 and character dont exist do:
if ($_GET["id

registration form
first time posting. did some searches but didnt find exactly what i am looking for. dont flame cause

how to make database item unique
Hey guys,

is it possible to do this:

I have the database item $title being pulled for

Remove Rows From Database ad
Hi All,

I have this:

Code: [Select]<?php
session_start();
include('../com

update 2 columns by doing inner 2-column query
Hi,
is something like this possible?

update contract_all set col1,col2 =
(

Image DPI
Hi.

I allow users to upload images, the user then is able to adjust several settings for the

Interpret Order
Hello all,

I'm wondering if I have this:

Code: $switch = array(
'one' =>

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