How do I use ASP to download a file that has particular ntfs permissions

T

travelling_nerd

Hi,

I'm trying to write a script that will allow validated users to
download a file that has specific ntfs permissions. Here's a summary:

Scenario:
1) The name of the file is "binary.zip".
2) I've created a local account on the server called "dl_user".
3) dl_user is the only account that has permissions on binary.zip.
4) I've written a script that validates several people to access a web
page that has a link to binary.zip. However whenever they click it,
they get prompted for a username and pw. If they enter the "dl_user"
credentials, it works.

Problem:
I don't want these people to be prompted for the username and pw.
Instead, I'd like IIS, through some ASP mechanism, to pass the dl_user
credentials in the background so that the users are completely unaware
of the account that has NTFS permissions to the file. Is there any way
to do this?
 
P

Patrice

You could also store the file somewhere else and stream it s content to the
browser using an ASP page...
 
T

travelling_nerd

Patrice said:
You could also store the file somewhere else and stream it s content to the
browser using an ASP page...

Thanks for the suggestion. Currently I have a redirect to the file,
however, if someone knows the absolute http path to the file, they can
get to it.

Do you have any examples of "streaming files to browser"?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,006
Messages
2,570,265
Members
46,860
Latest member
JeremiahCo

Latest Threads

Top