Previous Next

Thread: Directory security - streaming PDF files

Last post 08-26-2008 4:47 PM by TimWilliams. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 08-21-2008, 1:27 PM

    Directory security - streaming PDF files

    Win2003/IIS6

    I have a "classic" ASP application (intranet) where I need to serve up PDF's from a network share (not just link directly).  I have anonymous access turned off, and integrated authentication turned on.

    Since none of the app users will have direct read access to the share containing the PDF's, is there some way to use a specific account to access this share and read the files, without having to turn anonymous access back on?  I need to grab the user's login ID to perform some access checks and logging, and I understand (?) that if I re-enable anaonymous access  I'll lose the ability to do this.

    Thanks for any input. 

    Tim

     

     

      

  • 08-21-2008, 3:05 PM In reply to

    Re: Directory security - streaming PDF files

    Just to be clearer - I do not want to provide direct HTTP access to these files from IIS - I need to "stream" them to users, using info stored in a database to determine access rights.

    I see I can create a virtual directory in IIS and "connect as" a specific user, but does that help me here, or is that more related to serving the files directly using HTTP ?

    Thanks,

    Tim 

     

  • 08-26-2008, 4:47 PM In reply to

    Re: Directory security - streaming PDF files

    OK - I figured out I could change the access for the one specific ASP page which pulls the files, and have it run as "anonymous" using an account which can access the fileshare.

    Tim 

     

Page 1 of 1 (3 items)
Page view counter