in classic asp, is there any way that I can have my site set for anonymous access, but under certain conditions, force a windows authentication?
I have one file /db/db.asp that contains my database login function, which currently uses a fixed account, but if the user that has logged into my site is a employee, then I would like to use windows authentication to be able to use their login for the database connection instead of using the default account. This is because I need to improve the accuracy of my logging functions (mostly in triggers). Showing WEBSERVER as the user is fine for external users, but I need to be able to log employees transactions with more detail
The only solution I have been able to find is to move all password protected parts to a sub folder, then have a virtual folder linked to it, so that one uses anonymous and the other uses windows auth, then have the login script redirect to the appropriate folder, but this will involve tracting down every link through the site that uses an absolute reference, as well as tracing down links in 3 other sites, and finding links stored in several tables in the database as well, so I'm looking for a way that will allow me to keep the site structure as is,
I have one file /db/db.asp that contains my database login function, which currently uses a fixed account, but if the user that has logged into my site is a employee, then I would like to use windows authentication to be able to use their login for the database connection instead of using the default account. This is because I need to improve the accuracy of my logging functions (mostly in triggers). Showing WEBSERVER as the user is fine for external users, but I need to be able to log employees transactions with more detail
The only solution I have been able to find is to move all password protected parts to a sub folder, then have a virtual folder linked to it, so that one uses anonymous and the other uses windows auth, then have the login script redirect to the appropriate folder, but this will involve tracting down every link through the site that uses an absolute reference, as well as tracing down links in 3 other sites, and finding links stored in several tables in the database as well, so I'm looking for a way that will allow me to keep the site structure as is,