473,405 Members | 2,210 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,405 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 1229


"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. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.