Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Username/Password protect a file: now I can't download it ..

Username/Password protect a file: now I can't download it ..

Forum Windows 2000/NT : Windows 2000/NT General Discussion - Username/Password protect a file: now I can't download it ..

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.win2000.security (More info?)

 

I tried to set the security permissions on a particular directory to require a username and password combination. I created a new local user on the machine, and gave that user permission to the folder, taking away permission from anonymous web user. Now it seems like whenever I try to download the file (with or without the anonymous permissions activated) I can't download the file. I get the following error:

"Internet Explorer cannot download [filename.pdf] from [website].

Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later."

Now, I know the site is there, and the file is there, and IIS is running and everything. Please help. I think I might just be missing something simple, and this is driving me insane.

TIA

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.win2000.security (More info?)

 

There is a news group for IIS security where you may also want to post. See the link
below on IIS authentication. You said you disabled anonymous, but you need to enable
one of the other forms of authentication depending on your needs and
nfiguration. --- Steve

http://msdn.microsoft.com/library/ [...] cation.asp

"Erik Allen" <Erik Allen@discussions.microsoft.com> wrote in message
news:2F6A9DB7-9F0C-4ADC-9F56-00CE5851B6E9@microsoft.com...
> I tried to set the security permissions on a particular directory to require a
username and password combination. I created a new local user on the machine, and
gave that user permission to the folder, taking away permission from anonymous web
user. Now it seems like whenever I try to download the file (with or without the
anonymous permissions activated) I can't download the file. I get the following
error:
>
> "Internet Explorer cannot download [filename.pdf] from [website].
>
> Internet Explorer was not able to open this Internet site. The requested site is
either unavailable or cannot be found. Please try again later."
>
> Now, I know the site is there, and the file is there, and IIS is running and
everything. Please help. I think I might just be missing something simple, and this
is driving me insane.
>
> TIA

Reply to Anonymous

Archived from groups: microsoft.public.win2000.security (More info?)

 

I actually figured it out, thanks.
It was the content expiration set to immediately in the HTTP headers. It was causing the pdf or xls files to expire before they were even downloaded, thus generating the error.

-Erik

"Steven L Umbach" wrote:

> There is a news group for IIS security where you may also want to post. See the link
> below on IIS authentication. You said you disabled anonymous, but you need to enable
> one of the other forms of authentication depending on your needs and
> nfiguration. --- Steve
>
> http://msdn.microsoft.com/library/ [...] cation.asp
>
> "Erik Allen" <Erik Allen@discussions.microsoft.com> wrote in message
> news:2F6A9DB7-9F0C-4ADC-9F56-00CE5851B6E9@microsoft.com...
> > I tried to set the security permissions on a particular directory to require a
> username and password combination. I created a new local user on the machine, and
> gave that user permission to the folder, taking away permission from anonymous web
> user. Now it seems like whenever I try to download the file (with or without the
> anonymous permissions activated) I can't download the file. I get the following
> error:
> >
> > "Internet Explorer cannot download [filename.pdf] from [website].
> >
> > Internet Explorer was not able to open this Internet site. The requested site is
> either unavailable or cannot be found. Please try again later."
> >
> > Now, I know the site is there, and the file is there, and IIS is running and
> everything. Please help. I think I might just be missing something simple, and this
> is driving me insane.
> >
> > TIA
>
>
>

Reply to Anonymous
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Username/Password protect a file: now I can't download it ..
Go to:

There are 1187 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them