Log in function locking users that introduce a wrong password many times
I need to create a log in function that validates the username and the password and blocking or locking users that introduce a wrong password many times in a specific period of time. The idea is when it happens, the user has to call the administrator of the system to be unlock.
Thanks for your help.
Edited by: user13486053 on Jan 6, 2011 6:47 AM
If your are using custom authentication,
<li>There is an bultin table which contains the login acess attempts of users: APEX_USER_ACCESS_LOG , You might be interested in the columns APPLICATION,LOGINNAME,ACCESS_DATE,AUTHENTICATION_RESULT_ .
However, inorder to set the authentication_result column(therby identify failed attempts), you would have to call the APEX_UTIL.SET_AUTHENTICATION_RESULT function in your authentication function. Otherwise it would be null both for success and failure cases.
Try this, for finding failure count in last <failure check period>
select count(1)
from APEX_USER_ACCESS_LOG
where application = [APP_ID]
and login_name = [username] --case sensitive
AND authentication_result = [failure status]
and SYSDATE - access_date <= [failure check period]For locking out you would have to flag some column in your custom table and show the user some message in the login page
If you want to use your own table, here's an approach
Have a table for logging user's login status and time.
In ur authentication function, you can write to this table everytime a login fails if its succesful u can remove previous 'failure' entries and create a 'success' entry.
Use count the number of failures within that time period u want say 24 hrs (SELECT count(1) from <table name> where SYSDATE - <DATE column> LESS THAN 1 Day).
If the count is more than ur required no: flag the users record as locked(have some column updated)
In your login page, have some conditional region with some text which says the user's account is locked out(the condition can be locked column status of the user who tried to login, use the username page item for identifying the user)Hope it helps
Similar Messages
-
hi , i'm facing a big problem here,my little brother has set his i pad to an e mail that he dose not remember anymore one day he tried to unlock the ipad but he entered a wrong password many times i had to restore but i cant cus i dont know the apple ID
If you don't know your ID, you can try to find it as explained here: http://support.apple.com/kb/HT5625.
-
i have recently had my hard drive replaced due to a fault whilst in Germany working. Happy with the replacement, however when i go to log on as a user that screen is in German? Any idea how to change the language?
Greetings Lex,
Kind of you to comment ... but you are also adding years to my signature! I know I'm 76 but I don't want to think about it.
Regards 71. -
I just transferred data using migration assistant from a macbook pro to a macbook. I am trying to log back into the user that was on the pro but is now on the macbook with the same password as before, and it says my password is incorrect?
Suggest you try the password for the Macbook, not the previous one.
-
i do wrong password several times then lock my ipad. i know right password now but my ipad do not want password and that is lock
please help meConnect in recovery mode and restore, you'll get the option to reset the passcode during this process:
iOS: Unable to update or restore and iPhone and iPod touch: Wrong passcode results in red disabled screen
If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software. -
I got locked out of my account for typing in the security questions in wrong to many times how do I reset?
Read Kappy's response in this discussion.
https://discussions.apple.com/thread/4096786?tstart=0 -
I disabled my iPhone 4 and while doing a restore via iTunes, it is downloading and timing out so the download is not completing. any idea how to get past that? I have tried many times and the same error keeps happening.
You need to force the phone into recovery mode, as described here, & restore it:
http://support.apple.com/kb/ht1808
Sorry, you've already lost all data on your phone. -
My brother entered the password wrong so many times it disabled it. how can i undo that
my little brother entered the password wrong so many times it was disabled how can i correct this?
Do as the manual says and restore it.
iPod touch User Guide (For iOS 4.3 Software) -
Hi,
Since we implemented Cisco ISE we receive the following failure on several Notebooks:
Authentication failed : 24408 User authentication against Active Directory failed since user has entered the wrong password
This happens 2 or 3 times per Day. So basically the authentications are working. But when the failure appears, the connection is lost for a short time.
The Clients are using PEAP(EAP-MSCHAPv2) for Authentication. We've got a Cisco Wireless Environment (WLC 5508).
Why is this happening?
Thanks,
MarcThe possible causes of this error message are:
1.] If the end user entered an incorrect username.
2.] The shared sceret between WLC and ISE is mismatched. With this we'll see continous failed authentication.
3.] As long as a PSN not receiving a response from the supplicant within this limit during an EAP conversation, it will throw this error code. In majority of cases it says eap session timed out.
In your cases, the 3rd option seems to be the most closest one.
Jatin Katyal
- Do rate helpful posts - -
My ipad 4 wif is ocked as my daughter locked putting in the password wrong too many times. When I try and do a restore it seems to be doing it until the end and then it say it can't do anything as it's locked, go to itunes to unlock.. It's driving me mental. tried twice now ...
I haven't synced with a password, I don't mind losing all the data I just want to be able to use it again !! I'm not sure what IOS it is, not sure it's the most recent, I have a feeling I'm not on IO7.
Thanks for all your help.Force iPad into Recovery Mode. Follow step 1 to 6 very closely.
http://support.apple.com/kb/HT1808
Note: You may have to repeat the above a few times. -
what do i do if my account was locked for answering the security questions wrong too many times?
Apple ID security issues -
Call Apple Care and ask for the Account Security Team. They can assist you with your issue. -
my children enters wrong password several times on problem my ipad ..., the was it is indicated that it was disabled ... how can i access my ipad thanks please help ... thank you
If it's reached the point where you can't try re-entering the code then you will need to connect the iPad to the computer that you normally sync to and you should then be able to reset the iPad and re-sync your content to it - from http://support.apple.com/kb/HT1212
If you repeatedly enter the wrong passcode, your iPhone, iPad, or iPod touch will be disabled for longer intervals before you can try again. After too many unsuccessful attempts, you won't be able to try again until you connect it to the computer with which you last synced it.
You may need to put the iPad into recovery mode : http://support.apple.com/kb/ht1808 -
If i get a passcode on ios 7 will it lock my ipod if my brother tries many times?
I have a little brother and I want to add a passcode lock to my iPod which as iOS 7 and I am afraid that if my little brother tries to get into my iPod he will try many times to get into my iPod and he will fail and he will lock my iPod forever to my question is if he tries many times will he lock my iPod forever
I do not believe this is accurate for iOS 7 where there are additional security provisions. The process is more complicated and involves logging on to iCloud and removing your iPod from the Find My iPhone list. (others will give you better directions). In any case, be sure that Find My iPhone is turn on in your iCloud settings. Otherwise you will not be able to do what is necessary.
-
My son put a passcode on his IPOD TOUCH and couldnt remember it and entered it too many times. Now it has disabled the Ipod and says please connect to ITunes and ITunes will not connect to it because it has been disabled, I have already spoke to an Apple representative and did exactly what they told me to do to help reset the Ipod but that didnt work. So I am trying to figure out how we can get back into his IPod even if we have to factory reset it because nothing is working, not their instructions or the internet instructions for reseting it.
Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device
1. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
3. iOS- Understanding passcodes
4. What to Do If You've Forgotten Your iPhone's Passcode
5. How to Recover Forgotten iPhone Restrictions Passcode | The iPhone and iPad
6. Restoring iPod touch after forgotten passcode
7. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
Restrictions Passcode Help
1. How to Recover Forgotten iPhone, iPad Restrictions Passcode -
I cannot get my iPhones email up it keeps saying that my username or password is incorrect but I know it's correct it goes into my iPad and my iPad mini what is wrong with my iPhone
It also says verify your account settings then mail contacts and calendars and that's exactly where I a.m.
Maybe you are looking for
-
Is it possible to call a class in a jar file from JNI environment?
Hi Is it possible to call a class in a jar file from JNI environment? Thanks in advance.
-
ISE 1.1.1 Sponsor Portal - Unable to create First Names with "-"
Hi! Regarding our international subsidiaries there are many names that contain the character "-" (i.e. Pierre-Pascal) When trying to create an new Guest Account the ISE refuses it because of an invalid character in the "First Name" field. In other fo
-
Oracle Workflow Vote Yes/No Activity problems
Hi, I am new to Oracle Workflow and trying to solve this problem: I set up a process which includes the Vote Yes/No Activity (notification). The notification should be sent to a role (a group of users) and I want all users to respond before the proce
-
How-to: Servlet -- Servlet comunication.
The scheme is about some servlets comunicating with others that realize the data set of the structure. How is the best way to let the servlets comunicate between them? Java is offering different techniques for let comunicating like http requests, dat
-
Problem setting up online billing.
I've been trying to set up online billing, but when I enter my 'phone number a message appears telling me to enter my whole number. I presume the problem is I have a 5 digit number - is there any way around this? Thanks.