473,508 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with authentication

Hello,

I'm just starting to learn VB.NET and I would like your advice in
setting up authentication.

I'm trying to build a site that will capture a user's domain
credentials and have it check against a database to see if that
account exist. If it does, allow that user access (automatically) to
the site. If not, redirect them to a page where they can enter their
registration info.

I know this can be done via IIS Authentication. However, rather than
specifying invidual user or group access, I would like it to capture
user credentials and have it authenticate against a database.

Can someone point me in the right direction or offer any advice?

Thanks,
Peps

May 11 '07 #1
1 1132
The only way to do this (capture credentials) is to restrict Anonymous
access to the web, so that only users on the web's domain can gain access to
the web. If anonymous access is allowed, there are no credentials to fetch.
Once you do that, you can use the MembershipProvider and/or RoleProvider
models to handle the rest.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Peps" <dl******@gmail.comwrote in message
news:11**********************@o5g2000hsb.googlegro ups.com...
Hello,

I'm just starting to learn VB.NET and I would like your advice in
setting up authentication.

I'm trying to build a site that will capture a user's domain
credentials and have it check against a database to see if that
account exist. If it does, allow that user access (automatically) to
the site. If not, redirect them to a page where they can enter their
registration info.

I know this can be done via IIS Authentication. However, rather than
specifying invidual user or group access, I would like it to capture
user credentials and have it authenticate against a database.

Can someone point me in the right direction or offer any advice?

Thanks,
Peps

May 11 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1975
by: phreeskier | last post by:
i want to implement authorization with windows authentication and don't have the slightest clue of how to do this implementation. the basic windows authentication for this .NET application is...
10
2681
by: Brian Conway | last post by:
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the login. Works great in debug and test through...
3
4837
by: Kris van der Mast | last post by:
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain subfolder my administration pages should be...
0
1111
by: Raed Sawalha | last post by:
The thing is that I want to put authentication application to the webserver root (C:\Inetpub\wwwroot\empLogin.aspx & http:\\localhost\emplogin.aspx) The problem is that another webApplication...
2
2882
by: pv | last post by:
Hi everyone, I need help with following scenario, please: Users are accessing same web server from intranet (users previously authenticated in Active Dir) and from extranet (common public...
2
2401
by: Joe Rigley | last post by:
Help Please! I've been tasked with converting a portion of the corporate web site that currently utilizes local user accounts and NTFS via Basic Authentication to access certain files on the...
0
1688
by: Anonymous User | last post by:
Hi, I am working on a mobile application that consists of a number of handheld scanners, an Xml Web service and an Oracle 9i database in a highly secure environment. The .Net Compact Framework...
2
1523
by: Bruce Groen | last post by:
I am having some authentication issues. I download a sample app to test the forms based authentication process of asp.net and it works on one of my servers but not the other one. The one that it...
4
1163
by: Kimon Ifantidis | last post by:
Vey simple, but does not work: I'm trying to set a data-driven Web page with a GridView control. The steps I followed are: 1. Created a data connection using Database Explorer. 2. Dropped an...
0
5518
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7115
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7489
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5624
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4705
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.