Forcing Classic ASP Page To Specific User To Access Protected Folder

Discussion in 'Classic ASP' started by PeteB, Apr 13, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi Group


    (sorry - this originally got sent prematurely with no subject and into the wrong section!)

    I've never had to worry about permissions too much before, but I've got a situation that perhaps someone can help out with ...

    1) I've got a folder which is accessed automatically (Read & Written) by a classic ASP page which is scheduled to run every 15 mins.
    2) For some admin users this same folder is accessed (Read & Written) by a classic ASP page that a user can trigger on demand i.e., by entering data into an HTML page form which in turn calls a classic ASP page which access the the folder.
    3) Some other users can access (Read only) the folder using some other pages.

    I think the theory goes that I should be able to deny the Anonymous (IUSR) user and setup a new user with read & write access to the folder.

    Now this seems OK for the auto process in point 1, 'cos the scheduler allows you to specify a user name and password to use when the job executes.

    The guys in point 3 are OK 'cos they're prompted for a user name and password as they access the page.

    The problem seems to be in point 2. Because the ASP page that accesses the page is kind of "1 level down" (i.e., it's called from another page) it seems to just fail and doesn't prompt for a user name or anything.

    Is there a way to force an ASPpage touse a particular user name and passwordin classic ASP so that when ittries to access the protected folder it can without prompting?

    Thanks for any ideas on this.

    PeteB
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page