473,473 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Sample C# code with user logins/passwords?

Hi All,

I need to develop an C# internet app with logins, eg you create a
username and password, the password can be emailed to you if you forget
it, you can change the password etc.

Before I reinvent the wheel, does anyone know of sample code online
that will do this? Perhaps something from MS? I looked around but
couldn't find anything.

Thanks,

Burt

Nov 17 '05 #1
4 2805
> I need to develop an C# internet app with logins, eg you create a
username and password, the password can be emailed to you if you forget
it, you can change the password etc.


look at system.web.mail namespace on MSDN
logins into the website: this will vary widely depending on what you want to
do. Questions you will have to ask yourself. Are you going to use a
database to store username and password information or are you going to use
flat files, xml files....You get the idea.
You need to sit down and figure out how you want your stuff to work before
you can start to code.

--
info@donotspam dowhileloop.com
http://www.dowhileloop.com web development
http://publicjoe.dowhileloop.com -- C# Tutorials
Nov 17 '05 #2
> do. Questions you will have to ask yourself. Are you going to use a
database to store username and password information or are you going to
use
flat files, xml files....You get the idea.
You need to sit down and figure out how you want your stuff to work before
you can start to code.


Most true. Also note you can use Local account DB (i.e. SAM) or AD for your
user principal roles security without getting into another seperate DB.
That way you can leverage all the existing user account tools.

--
William Stacey, MVP
http://mvp.support.microsoft.com
Nov 17 '05 #3
Landi and William,

Thanks for your replies. SQL Server will be the back end. There are no
current users. I was just hoping to find something prebuilt that I
could use as a starter, since this functionality is common to most of
the websites I've been to.

Thanks,

Burt

Nov 17 '05 #4
Burt,
read this
http://www.c-sharpcorner.com/Securit...serControl.asp
--
info@donotspam dowhileloop.com
http://www.dowhileloop.com web development
http://publicjoe.dowhileloop.com -- C# Tutorials
"Burt" <bu*******@yahoo.com> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
Landi and William,

Thanks for your replies. SQL Server will be the back end. There are no
current users. I was just hoping to find something prebuilt that I
could use as a starter, since this functionality is common to most of
the websites I've been to.

Thanks,

Burt

Nov 17 '05 #5

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

Similar topics

2
by: uli2003wien | last post by:
Dear group, I am a DB-Administrator for a Company that creates and maintains a software solution based on SQL-Server and Crystal-Reports. The Crystal-Reports part uses the following method to...
10
by: dee | last post by:
Hi I'm writing a page withing our site that requires logins. Where should the logins and passwords be kept? SqlServer/Access? Flat files? What are the options and trade offs? Thanks. Dee
7
by: John Blair | last post by:
Hi, I am trying to get the datacache1 sample working on my PC. I have downloaded the MSDE 2000 sample SQL Server database and the pubs sample database and installed it. I can view the contents...
20
by: Keith G. Murphy | last post by:
I'm trying to get a feel for what most people are doing or consider best practice. Given a mod_perl application talking to a PostgreSQL database on the same host, where different users are...
6
by: Bob Sanderson | last post by:
I have created a MySQL database for my company which is accessed by PHP pages. I would like to permit some users to edit the records but allow others read-only access. However, I don't want to have...
26
by: beporter | last post by:
First time poster here! Let me get straight to it... I'm currently not in a position that lets me interact with other developers face to face on a regular basis, and I am in need of some "round...
3
by: Inna | last post by:
Hello all, I am looking for the script, which I believe exists already.I need to be able to populate the script for security of one database and apply it to another database, even if it is located...
1
by: Chloe C | last post by:
Hi I need to move a couple of SQL logins to a new machine to support a 3rd party application. Problem is the password is embedded in the application and we can't see how to change it. Does...
9
by: Matuag | last post by:
Hi All, Is there anyway we can create different Usernames, user levels and passwords in Access 2007? I could not find any icons for this on the ribbon. I have created Notes History using...
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
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.