General discussion

Locked

Password protection for an asp that is c

By jdaniels ·
We are running a Windows NT server with IIS 4. We have an Access database that we would like to be accessible via the web. We would like the asp page that access this database to be accessible only with a valid username and password. I would liketo be able to add and delete valid users from the server. What is the best way to do this?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Password protection for an asp that is c

by micxba In reply to Password protection for a ...

The easiest way to do this is, when you just add a Username, Password Table in this or another Database wich is Password protected. Just add a Entry Form for Username and Password before any Database results.
A nicer Form is, that you install something like Authentix (http://www.flicks.com/
) where you can add/edit Access Lists for Web Directories. The non ISP Version of Authentix is free.

Collapse -

Password protection for an asp that is c

by jdaniels In reply to Password protection for a ...

Poster rated this answer

Collapse -

Password protection for an asp that is c

by colglazier.sa In reply to Password protection for a ...

jdaniels,

In follow up to bball01 answer, if you add a table to access with users names and passwords, you would need to user to resupply this info on every page. Create on log-on page. If the user logs in successfuly, set a session variable inthe global.asa that states the user is valid. Then create a server side include file that checks this sessions variable, and place it on the top of every restricted page. This can also automatically redirect invalid users back to the login page.
Scott.

Collapse -

Password protection for an asp that is c

by jdaniels In reply to Password protection for a ...

Poster rated this answer

Collapse -

Password protection for an asp that is c

by jdaniels In reply to Password protection for a ...

This question was closed by the author

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums