M
Martin Strojek
Hi,
I try to solve a problem: Some folder on an IIS Webserver should be
protected with username and password. So I switched off anonymous
access and do Authentication. So far so good. But I want to have a SQL
database with the users which are allowed to login and just ONE System
account who is allowed to login to the protected folder. So what I
want to do is:
Make a login page and check Username and password against the entries
in the sql.
Not the problem but is it possible to do an authentication with the
script with the windows account after successful checking against the
sql user so that the script can send a http header with the file
location?
Step by step:
1. Login page
2. Check login against sql data
3. Store success and show filenames, click on a filename
3. Success -> Authenticate via script with windows user who has access
to the folder which is protected and contains the files.
4. Send header information with the filepath to download
For some suggestions I would be thankful
Regards
Martin Strojek
(e-mail address removed)
I try to solve a problem: Some folder on an IIS Webserver should be
protected with username and password. So I switched off anonymous
access and do Authentication. So far so good. But I want to have a SQL
database with the users which are allowed to login and just ONE System
account who is allowed to login to the protected folder. So what I
want to do is:
Make a login page and check Username and password against the entries
in the sql.
Not the problem but is it possible to do an authentication with the
script with the windows account after successful checking against the
sql user so that the script can send a http header with the file
location?
Step by step:
1. Login page
2. Check login against sql data
3. Store success and show filenames, click on a filename
3. Success -> Authenticate via script with windows user who has access
to the folder which is protected and contains the files.
4. Send header information with the filepath to download
For some suggestions I would be thankful
Regards
Martin Strojek
(e-mail address removed)