Re: 3 password in asp.net Login control

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Yea, so?

Everything you need to do can be done in the Button's click event handler.
You might have to write and invoke a class or two with some unique methods
but sometimes that's what we have to do. Especially when somebody comes up
with some goofy authentication scheme. I know this wasn't your idea right?
;-)

So what's the real problem here? I mean you didn't answer some questions I
had so I won't be much help without explicit facts. After all, maybe my
first idea wasn't such a good idea after all!

<%= Clinton Gallagher



"Afshar" <afshar.mohebbi@xxxxxxxxx> wrote in message
news:1157545671.951795.320350@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi clintonG,

But I want a single login BUTTON in a single page, so the user enters
his data and clicks a button just one time in order to backward
compatiblety.


Thanks in Advance:
Afshar



clintonG wrote:
So how do you authenticate (or plan to authenticate) three separate
strings?
Two of them should be or have to be the user name and password Membership
requires right? And the third would require using your own code and
authentication schema. So authenticate your piece first and after
authenticating on that piece let Membership take over with the other two
pieces. DOn't forget to use SQL Manager to check out the stored procedures
Membership uses for authentication. You can reuse them.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W

"Afshar" <afshar.mohebbi@xxxxxxxxx> wrote in message
news:1157447201.819607.97700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi everybody there,
I have a special Login page that wants users to enter 3 passwords
rather than a single password. But can't do it with Login control. I
tried following scenarios:

1. Put an Login in the page and set its Visible = False instead put my
own username and 3 password on the form. Then I checked 2nd and 3rd
password seperately and passed username and password to Login control
via its Username and Password properties but couldn't because they was
reaonly! Also there was not any such LOGIN or AUTHENTICATE method.

2. Programming on LoggedIn and other Login events, but couldn't find
any method or way to undo the login process based on my internally
password checking, that means I want to logout that user automaticlly
if 2nd and 3rd password is incorrect.

3. Searched for any non-control (I mean just a class) to do login
process just in my c# code, but I didn't find anything.

So PLEASE help me!
I have preached ASP.NET Membership between my colleages very much.
Don't allow a defeat!

With Thanks:
Afshar Mohebbi



.



Relevant Pages

  • [Full-Disclosure] Advisory: Dark Age of Camelot - Weak encryption of network traffic exposed persona
    ... Weak encryption in game client exposed customer billing and authentication ... encryption for billing information. ... The login binary has undergone several updates since then. ...
    (Full-Disclosure)
  • Re: [PHP] Is this the best way?
    ... Why is Jason schreefing again? ... maybe I should edit my authentication function... ... attempting to login. ... really be either attempting an authentication *or* outputting some ...
    (php.general)
  • Authentication Sharing Across Apps
    ... For my part "B" question that I had (Login App was not returning ... authentication to calling app), I found the solution. ... Basically, in both the Login App and Calling App Web.Config, I did ... authenticated connection with SQL server. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: [PHP] Is this the best way?
    ... Jason Pruim schreef: ... I am attempting to add a little error checking for a very simple login system. ... So maybe I should edit my authentication function... ... really be either attempting an authentication *or* outputting some message ...
    (php.general)
  • Unable to get IP Address from DHCP server - 802.1x authentication
    ... user based VLAN authentication with Windows client as ... Authentication method: MD5-Challenge ... Login locally with the cached profile of user1 ... After entering the Radius server username & password the ...
    (microsoft.public.win2000.security)