Connecting Tech Pros Worldwide Forums | Help | Site Map

password protected access to files hosted by IIS

www.MSmobiles.com
Guest
 
Posts: n/a
#1: Nov 18 '05
hi,

how can I implement passowrd protected access to IIS located files?

for example:

when somebody tries:

http://x.msmobiles.com/a/dupa.pdf

then page with user name and password should open.
then user enters name and password
then program connects to certain webservice to validate and if it is ok
then IIS should allow download of static file "dupa.pdf" !

how can I implement such scenario?
any ideas are welcome!!!
please: I would not like C# program to "stream" this PDF file but rather it
should be done so that IIS recognizes permissions and serves this file
itself!!!




Paul Lynch
Guest
 
Posts: n/a
#2: Nov 18 '05

re: password protected access to files hosted by IIS


On Thu, 15 Jul 2004 00:01:57 +0100, "www.MSmobiles.com"
<nospam@msmobiles.com> wrote:
[color=blue]
>hi,
>
>how can I implement passowrd protected access to IIS located files?
>
>for example:
>
>when somebody tries:
>
>http://x.msmobiles.com/a/dupa.pdf
>
>then page with user name and password should open.
>then user enters name and password
>then program connects to certain webservice to validate and if it is ok
>then IIS should allow download of static file "dupa.pdf" !
>
>how can I implement such scenario?
>any ideas are welcome!!!
>please: I would not like C# program to "stream" this PDF file but rather it
>should be done so that IIS recognizes permissions and serves this file
>itself!!![/color]


NTFS permissions. Read this KB article :

How To Use NTFS Security to Protect a Web Page Running on IIS 4.0 or
5.0
http://support.microsoft.com/?id=299970


Regards,

Paul Lynch
MCSE
Closed Thread


Similar ASP.NET bytes