473,324 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

login/users/roles in ASP.Net?

I'm new to ASP.Net and want to take advantage of some of the new features of
Framework 2.0.
I've seen the Login controls and how it works with administration of
security, using Windows authentication. However, I'd like to write an
applicaiton that will be on the internet, which means that I need to use
Forms authentication. I'm told that I have to use user information from a
SQL Server database that already exists. Is there a way that I can set up to
use Forms authentication and make it authenticate from that table? If so,
can someone direct me to an example that does this? It seems like every
example I find is for windows authentication, or else it's in using Forms
authentication and the canned user information that .Net providers in the
server itself.
Any examples of how to use an existing database table?

Mar 2 '06 #1
3 1032
Les,

There are some active dotnet newsgroup (named security) about. I give you a
better change in those newsgroups.

microsoft.public.dotnet.security
microsoft.public.dotnet.framework.aspnet.security

I hope you find your solution soon

Cor

"Les Stockton" <Le*********@discussions.microsoft.com> schreef in bericht
news:27**********************************@microsof t.com...
I'm new to ASP.Net and want to take advantage of some of the new features
of
Framework 2.0.
I've seen the Login controls and how it works with administration of
security, using Windows authentication. However, I'd like to write an
applicaiton that will be on the internet, which means that I need to use
Forms authentication. I'm told that I have to use user information from a
SQL Server database that already exists. Is there a way that I can set up
to
use Forms authentication and make it authenticate from that table? If so,
can someone direct me to an example that does this? It seems like every
example I find is for windows authentication, or else it's in using Forms
authentication and the canned user information that .Net providers in the
server itself.
Any examples of how to use an existing database table?

Mar 2 '06 #2
and how do I find that from the web based newsgroups, when they're not named
that way in the navigation.

"Cor Ligthert [MVP]" wrote:
Les,

There are some active dotnet newsgroup (named security) about. I give you a
better change in those newsgroups.

microsoft.public.dotnet.security
microsoft.public.dotnet.framework.aspnet.security

I hope you find your solution soon

Cor

"Les Stockton" <Le*********@discussions.microsoft.com> schreef in bericht
news:27**********************************@microsof t.com...
I'm new to ASP.Net and want to take advantage of some of the new features
of
Framework 2.0.
I've seen the Login controls and how it works with administration of
security, using Windows authentication. However, I'd like to write an
applicaiton that will be on the internet, which means that I need to use
Forms authentication. I'm told that I have to use user information from a
SQL Server database that already exists. Is there a way that I can set up
to
use Forms authentication and make it authenticate from that table? If so,
can someone direct me to an example that does this? It seems like every
example I find is for windows authentication, or else it's in using Forms
authentication and the canned user information that .Net providers in the
server itself.
Any examples of how to use an existing database table?


Mar 2 '06 #3
> and how do I find that from the web based newsgroups, when they're not
named
that way in the navigation.

That is my problem to, about which I have taken some action this week.

:-)

Cor
Mar 2 '06 #4

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

Similar topics

3
by: teddysnips | last post by:
Currently studying for 70-229. I'm trying to understand how security for users is managed in SQL Server. I've been using SQL Server for a few years now, but without investigating the bits that...
1
by: Homa | last post by:
Hi, I am using a role-based Forms Authentication. I have several directories that have different levels of authorization. When I try to access another directory, the page bounce me back to the...
3
by: Kenneth Keeley | last post by:
Hi, If I setup part of my web site to require users to login can I keep some pages that are related only to that section of the site availble to all users. Example, I have a different section...
2
by: Brian Henry | last post by:
We have our windows forms login set up and working good, well it works at least, just now we need a logout button, so when you click on it, the user will be logged out of the authentication, how...
4
by: nicholas | last post by:
Hi, Got an asp.net application and I use the "forms" authentication mode defined in the web.config file. Everything works fine. But now I would like to add a second, different login page for...
10
by: et | last post by:
I have an asp.net program that uses a connection string, using integrated security to connect to a sql database. It runs fine on one server, but the other server gives me the error that "Login...
5
by: RedEye | last post by:
Hello, I am working on a test site to explore the new login controls and membership features of ASP.NET v2.0. I have tested the controls using SQL Express and have now decided to try using a...
1
by: Jakob Lithner | last post by:
When I started a new ASP project I was eager to use the login facilities offered in Framework 2.0/VS 2005. I wanted: - A custom principal that could hold my integer UserID from the database -...
2
by: mark4asp | last post by:
This is a simplified version of my site. There are Premium users who have access to the Premium directory. Anyone else attempting to access it should be logged and then redirected to the...
0
by: sandari | last post by:
The following code (web.config in Visual Studio 2005) is supposed to redirect a user to the appropriate Form depending on their role. However, regardless of the user's role, the only page...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.