Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: check if the user is given access


Message #1 by "Stephen Biggerstaff" <stephenb@w...> on Mon, 29 Jan 2001 18:42:46 -0000
From Karthi Venkatesan [SMTP:karthiram@u...]   



I'm able to display the NT Logon Dialog box. With that I have to check the

UserID and Password against the IIS Access control list directly. I want

to

check if the user is given access or not. The user logs into the site from

a

cyber cafe. I'm not using any database. How to do it 

Pls help me 

karthi 



              ******************** 

                   V.Karthi 

            Ferntech Systems (p) Ltd 

               C-176,2nd Avenue, 

                 Ashok Nagar 

               Chennai-600 083 

           Voice:91-44-3715714/4748020 

          ***************************** 

 

Message #2 by "JstMeHr4u3" <jstmehr4u3@h...> on Mon, 29 Jan 2001 10:57:26 -0800
Are you trying to Authenticate the user based on your own user list? Or are

you trying to manipulate a variable based on the IIS Access? If the user

cannot be authenticated using the IIS Access they will never see your pages,

thus your data. Unless you customize your own HTTP 403(I think?) error page

to tell the user they could not be authenticated, and for them to do

something else.



If you are trying to manipulate a variable based on wether they are

authenticated, it is kinda pointless, because like I said if they arent

valid they wont see any of your pages, and if they ARE valid you could put

in some code in the onload() event to trigger something.



If you are trying to validate users based on your own user list, it would be

best to use a database, or flat text file. You can then allow anonymous

access to your site, and show them a login function.



Mike

----- Original Message -----

From: "Stephen Biggerstaff" <stephenb@w...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Monday, January 29, 2001 10:42 AM

Subject: [asp_web_howto] check if the user is given access





> From Karthi Venkatesan [SMTP:karthiram@u...]

>

> I'm able to display the NT Logon Dialog box. With that I have to check the

> UserID and Password against the IIS Access control list directly. I want

> to

> check if the user is given access or not. The user logs into the site from

> a

> cyber cafe. I'm not using any database. How to do it

> Pls help me

> karthi

>

>               ********************

>                    V.Karthi

>             Ferntech Systems (p) Ltd

>                C-176,2nd Avenue,

>                  Ashok Nagar

>                Chennai-600 083

>            Voice:91-44-3715714/4748020

>           *****************************

>

>

  Return to Index