Question about secured website

G

Guest

Hi,

We want to build a couple of secured pages which will be viewable only to
those who have an account. One way of implementing the security is using
session cookies (temporary cookies). When a user logs in a session cookie is
created. When the browser window is closed the session cookie disappears.
This way when the browser is closed the session is over. So that even if one
tries to copy and past the URL of a secured page, they won’t be able to view
the page unless they log in.

Is there any other way of building a secured website that will work just
like I described above ( session should be over as soon as browser window is
close)?

Thanks,

Joe
 
R

Robbe Morris [C# MVP]

Option number is going to work just fine. You could
always use windows authentication for your protected
folders but not all browsers will support that. That
really works best in an intranet scenario though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top