You can try storing the .pdf files in a non-web directory and use a .aspx 
page to authenticate visitors and then stream the .pdf files from the 
non-web directory.

Hope this helps.

----- Original Message ----- 
From: "anuj kumar" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, October 05, 2005 5:56 AM
Subject: [AspNetAnyQuestionIsOk] Authentication (web.config)


> If a user is not already logged in and he just copy and past a link of a 
> page, then by using web.config (authentication ),
> the login page appears, the user authenticate himself, and if he is 
> authorized, the page will be visible.
>
> But this technique only works with standard extensions( like as .aspx, 
> .html)..
>
> But if the use copy and past a link to a page(or a resource) which is not 
> standard( like .pdf), it will open the page or file directly, with out 
> showing the login page
>
> My requirement is to display the login page even in case of .pdf file
>
> Any help  .. heartly welcome.
>
> Anuj
>
> 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to