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

UPLOAD IMAGES NOT WORKING!
Hi there i have a upload script in which it uploads the picture to a folder than creates two thumbna

updating a single value to multiple non consecutive rows
I need to update the same value to multiple non consecutive rows. I need to add an experation date t

Problem with Subscreen
Dear Experts ,
I am facing a problem with the subscreens. My senario is as follows :

Please help with code for SMTP authenticated PHP email form
Hello, I'm creating a PHP email form, and for this particular server, I have to use SMTP Authenticat

Problem with umlauts and UTF-8
Hello every1,

I'm creating my own little CMS at the moment and got some problems with the cha

Removing Title From database problem
Hi again ! i am having an issue with updating database. When i update any price of a title it remove

CHMOD script
Hi,

I need a script to read all files in a folder and set to 777.

Can anyone help out

C++ API to Oracle dB
I need to perform a select command to the Oracle dB to obtain information from a table.
What libr

javascript in php code causes page to display white
Hi All,

Odd one this, I've got the following code (below) which is a simple log in form. The

Pass sql into pl/sql and create RMAN duplicate script.
Hi,

I'm new to pl/sql and I'm trying to write a script that will generate some RMAN comma

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