password protect asp problem

R

Rita

I used asp to password protect 2 directories, with 2
different passwords, using
Microsoft Knowledge Base Article - 301464

The problem is that although each directory has a
different password, once anyone logs into 1 directory then
they have access to the other directory, even though they
haven't logged into the 2nd directory [with a different
password].

Any help would be much appreciated & thank you in advance!

Rita
 
M

MD WebsUnlimited.com

Hi Rita,

That article describes protecting a single page and not a folder of pages.
Once the visitor has entered the correct UserID and Password then any page
that uses that same code will allow access also.

If you wish to protect an entire folder of pages then you'll need to use
permission at the folder level.

To protect different pages with different passwords use a different cookie
for each page.

You may wish to take a look at Page Protector Pro at
http://www.websunlimited.com/order/Product/PagePro/pagepro.htm
 

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