472,364 Members | 2,230 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

[asp.net 2.0] Interesting Membership problem

Hey

ASP.NET 2.0

At work my boss have given me the task of developing a new website. Users
will be able to register at the website and gain exclusive access to some
information etc... Some users will have limited access to the information
and some users (Administrators) will have total access. There will be 3
levels of users: Normal User, Power User and Administrator.

My boss have created the table design for this project. The table UserType
will hold information about the user levels/categories. I've mentioned to my
boss that using the Membership system in ASP.NET 2.0 could be better. Anyway
he still wants to avoid using Membership and instead use plain tables. He
also wants me to use the standard Login and NewUser controls in ASP.NET 2.0,
but I'm not sure I can use them when the data will not be stored in the
Membership system..... I think he wants to avoid using Membership system
cose he don't understand how it works, I would maybe do the same if I didn't
know how it works....

- There will be a few hundred registered users at the website.
- Data will be stored in Sql Server 2005

(I'm new at work, so it's not easy for me to convince my boss that I'm right
and he is not etc)

Do you have any links telling all the advantages using Membership compared
to using regular tables (as we are about to do), regarding speed of
development, security, gui design and flexibility. I could send my boss the
link

Lets say if I need to program this now as my boss suggest. How should I go
about implement custom providers for SiteMap and Security - I know that in
web.config I can specify that a certain SiteMap is available for a certain
role, but if I develop this project as my boss wants then I guess I need to
develop some kind of custom provider for it to work

Do you see any advantages using the system my boss suggest compared to using
the ASP.NET Membership system.

Any other suggestions are more than welcome ;)
Sep 11 '08 #1
1 1175


"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:eD**************@TK2MSFTNGP02.phx.gbl...
Hey

ASP.NET 2.0

At work my boss have given me the task of developing a new website. Users
will be able to register at the website and gain exclusive access to some
information etc... Some users will have limited access to the information
and some users (Administrators) will have total access. There will be 3
levels of users: Normal User, Power User and Administrator.

My boss have created the table design for this project. The table UserType
will hold information about the user levels/categories. I've mentioned to
my boss that using the Membership system in ASP.NET 2.0 could be better.
Anyway he still wants to avoid using Membership and instead use plain
tables. He also wants me to use the standard Login and NewUser controls in
ASP.NET 2.0, but I'm not sure I can use them when the data will not be
stored in the Membership system..... I think he wants to avoid using
Membership system cose he don't understand how it works, I would maybe do
the same if I didn't know how it works....

- There will be a few hundred registered users at the website.
- Data will be stored in Sql Server 2005

(I'm new at work, so it's not easy for me to convince my boss that I'm
right and he is not etc)

Do you have any links telling all the advantages using Membership compared
to using regular tables (as we are about to do), regarding speed of
development, security, gui design and flexibility. I could send my boss
the link

Lets say if I need to program this now as my boss suggest. How should I go
about implement custom providers for SiteMap and Security - I know that in
web.config I can specify that a certain SiteMap is available for a certain
role, but if I develop this project as my boss wants then I guess I need
to develop some kind of custom provider for it to work

Do you see any advantages using the system my boss suggest compared to
using the ASP.NET Membership system.

Any other suggestions are more than welcome ;)
I've used the Membership system often. It's fairly easy to employ and extend
by inheriting from the basic provider and/or the MembershipUser.
The roles stuff also works more or less out-of-the-box and is implemented as
you'd probably do it yourself.
Although Microsoft doesn't always produce the best code every time it's hard
to imagine that a lone developer with other jobs to do could produce a
system as flexible and powerful in a limited time frame.
There is a good Wrox book on the system:
http://www.wrox.com/WileyCDA/WroxTit...764596985.html and 4 guys
from Rolla did a lengthy series on it too:
http://aspnet.4guysfromrolla.com/articles/072308-1.aspx

--

Joe Fawcett (MVP - XML)
http://joe.fawcett.name
Sep 12 '08 #2

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

Similar topics

8
by: Jason | last post by:
In my ASP.NET 1.1 solutions, I created several web projects and compiled them each into an assembly. The assembly names reflected the functionality of the feature (Membership.dll, Dues.dll, etc)....
6
by: matt | last post by:
hello, im working on my first public-facing ASP.NET 2 website, and i have a question/concern about authentication integration. in ASP.NET 1.1, one would typically go w/ a "role yer own"...
8
by: clintonG | last post by:
Membership is broken and who knows what else. Does anybody have any referrals to current documents that explain what was changed and how one might respond? <%= Clinton Gallagher...
3
by: Miguel Dias Moura | last post by:
Hello, I am working on an Asp.Net 2.0 / SQL 2005 web project where: 1. All users must login. 2. There will be two user types: student and professor. The students and professors are not related....
9
by: Paul Keegstra | last post by:
Hi, I am currently working on an asp.net 2.0 web site that is a replacement of a classic asp web site. The current web site uses a Commerce Server 2002 database for storing user information. ...
3
by: jason | last post by:
I've been playing around with new (for 2.0) membershp functionality. I was able to build a simple login form that secures a directory on a project I built locally on my development desktop. ...
2
by: Brandon Holliday | last post by:
Hello, I have a problem that I need some help on. I am creating a website that utilizes the builtin membership functionality in Asp.net 2.0. By default, the "AspNetSqlProvider" is used and...
1
by: =?Utf-8?B?WmhlbmcgQ2hlbg==?= | last post by:
I have an aspnetdb database sitting in different domain with the web server. To authenticate a user and populate membership provider, WCF is used. However, I have no idea how to pass the membership...
2
by: Tino Donderwinkel | last post by:
Hi all, I have create a simple ASP.NET site that uses the ASP.NET Membership components. It uses a SQL Server as a provider. The application works fine when it's running on my own machine. ...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...

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.