473,473 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Downloading a file from above the /www directory

Hello, is there any way to download files I'm keeping stored above the www
folder for security ?

I'm thinking of the following : My script determines what file the user
requests, checks their credentials, and then "forwards" the file from the
non public directory to the user.

Would this work ?

Thanks in advance
Jul 19 '05 #1
2 1021
ADODB.Stream

http://www.aspfaq.com/2161

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Beren" <be***@angband.me> wrote in message
news:oO***********************@phobos.telenet-ops.be...
Hello, is there any way to download files I'm keeping stored above the www
folder for security ?

I'm thinking of the following : My script determines what file the user
requests, checks their credentials, and then "forwards" the file from the
non public directory to the user.

Would this work ?

Thanks in advance

Jul 19 '05 #2
Thanks for the reply

I'll look into it !

"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> schreef in bericht
news:eM*************@TK2MSFTNGP12.phx.gbl...
ADODB.Stream

http://www.aspfaq.com/2161

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Beren" <be***@angband.me> wrote in message
news:oO***********************@phobos.telenet-ops.be...
Hello, is there any way to download files I'm keeping stored above the www folder for security ?

I'm thinking of the following : My script determines what file the user
requests, checks their credentials, and then "forwards" the file from the non public directory to the user.

Would this work ?

Thanks in advance


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: o'seally | last post by:
solaris/linux admins/rookie_developers that battle with this error are probably all frustrated when it happens. i bet you're also somehow frustrated by this seemingly unsolvable error :-) ...take...
2
by: Ian Gordon | last post by:
Hi, I have 2 problems when downloading a file from my ASP.net app to the client PC. At the moment I'm doing it with the following code: Response.ContentType = "application/octet-stream" ...
7
by: theyas | last post by:
How can I get my code to NOT display two "Open/Save/Cancel/More Info" dialog boxes when using the "Response.WriteFile" method to download a file to IE I've asked about this before and didn't get a...
6
by: Shawn | last post by:
Hi. How can I download a file and store it on the web server. I have a complete URL to the file, but I never know what kind of file it is. It can be pdf, jpg, tif, doc, xls etc. Thanks, Shawn
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.