Re: Activate account after receiving an e-mail



Hi,

MembershipUser.IsApproved can enable/disable users-

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

For those who can help me

Hi i want to register people at my website.

If i use the dotnet login wizard controle could some one tell me how
to enable the account only after i have send an e-mail to the provided
e-mail by the user.

Within this e-mail i enclose a unique tag from the login database
corresponding to the user ( tag from the Login database made by
Dotnet).

The moment someone is trying to register at my website there will be
send a activation e-mail to the visitor.

After they hit the link there will be a secured string in it what i
will
compare with the secured string in the database ( standard sqlExpress
Login
database or tables) if there is a match
their account is activated. How can i do this enable and disable their
account?
This to keep track of my database and keep it clean if after two days
there was no login i wil delete the account.

How can i implement sucht a thing. Only the first question the secod
is a batch script in sql server i can handle that.

Thanx in advance.

Michael



.



Relevant Pages

  • Re: Please! Doesnt anyone know a better way to do this?
    ... account, they need to automatically be directed to the page to enter data ... session variable on the Account page. ... I assume here that you're checking a database when the user attempts to ... When a new user attempts to login or clicks to register, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Security controls in a web application
    ... one may be better off passing account management tasks ... to the operating system or database server ... I'm afraid that my web app is lacking of many security controls. ... I have implemented some security controls like a login page that asks ...
    (microsoft.public.security)
  • Re: sp_addrolemember with Windows SQL Server Login
    ... error as long as a valid domain account was specified. ... SQL Server apparently allows you to add a Windows account to a database ... he noticed that User1 was a NT Login ...
    (microsoft.public.sqlserver.security)
  • Re: SQL Connection String using Domain Account
    ... The DBA has given me a Domain user account with rights to the ... | to get a connection to the database. ... or Login failed for userID. ... You can map a domain account to a SQL login, see CREATE LOGIN in SQL books ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: RESTORING CRASHED SITE WEBS
    ... Well, when installing Sharepoint, the installer did display a message ... I can't login using any existing accounts. ... >> access using Windows Security the account returned in the failed ... I put in the database server name and ...
    (microsoft.public.sharepoint.windowsservices)