login

User Session in ASP.Net MVC App

Hi friends! In my web application (asp.net mvc) I have an restrict area. In my model, I have an entity called "User" represents a user can do login/logout in web app. I've used Forms Authentication to login/out my users and everything works fine but, I'd like to know, if is there any way to save an entity (of the user logged) during the...

windows authentication with a custom login page

So i only need to do windows authentication and not forms authentication. Instead of giving the user a popup box for login.. i want to have a login page with Username, domain and password..also an option of remember password. If the user does not exist it should just show that wrong username and password. I have 2 types of users: admin...

How can I prevent Backspace from taking me back to the previous page while I use the login box.

the login box is in the header of the website, availalbe on all pages. I'm using a javascript : <script type="text/javascript" language="javascript"> history.forward(); Which solves the issue of the backspace in the login box. But while I'm browsing the rest of the website, I can use backspace to see the previous page, I'd ha...

Grabbing a user_group in MODx

Currently I have a Client login area. In this login area I was going to create a snippet that shows certain information for 'Admin' users. I had a feeling I could use <?php if ($modx->getLoginUserType()) { echo 'hi'; } else {} ?> However, all User Types are web. I was also looking around and found a script that prints out web-use...

Is there a codeigniter auth class which allows face book login?

^ or whats the best auth class for codeigniter? ...

How to set up my login system?

I'm trying to figure out if it is better to store my user's data in a session cookie (like password, username, etc), and update that cookie only when I change the MYSQL database from my PHP, OR Store the user's username and user ID in a session cookie and reach out to the MYSQL database every time I need to get the user's data. Which ...

Security precautions when submitting log-in information with AJAX.

Hello everyone, I am in the process of writing a login/register form for my MVC website and am facing an issue regarding security and AJAX. It seems that more and more popular sites are utilizing javascript to process logins, and many from a non https URL (www.giantbomb.com and www.gametrailers.com to name two). I'm wondering if there...

blocking login after X failed attempts

I'm trying to block login for x minutes after y failed attempts. I'm already planning to log user logins, so I guess I could use the same database to calculate if blocking needs to happen. My questions: does it make sense to use the same logs table to run the logic of the y failed attempts blocking? Some people have a table just for t...

Can I log users logins when using openID

I'm setting up a login system for a site and someone suggested using openID instead. In my current setup, I log users' login attempts into a db table. When using openID, would I still be able to have that fine-grained control or not? ...

Recording logins for password protected directories

I have a folder in the webroot at http://somesite.com/folder which I'm password protecting with the directory password protection feature in cpanel which I guess uses some form of htacccess. So it's not protected with a normal login system that's connected to a database that I can check against. Once a correct username and password is ...

How about failed attempts for htaccess password protected directories

This question is related to a previous question I asked, but it's a different. I'm using htaccess to control login to http://somesite.com/folder. Once logged in, I have php code in folder/index.php to check the username and password used to login: $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']. I log that info to a database. ...

500 error when setting up directory protection with mod_authn_dbd

I'm trying to use mod_authn_dbd to password protect a directory. I used the code from their apache help page, but it's chocking on the DBDriver line # mod_dbd configuration DBDriver mysql //modified DBDParams "dbname=mydbname user=myuser password=mypass" //modified /path/to/folder/.htaccess: Invalid command 'DBDriver', perhaps missp...

Do i login using cookies or sessions in a login system?

Do i login using cookies or sessions in a login system? I've seen examples using sessions and cookies so i am confused! Can someone please explain this? What do most sites use? love to know! Thanks in advance;-) ...

PHP switching tabs in browsers causes session not work and must relogin

Hello, I have a password protected area of a site that I use Sessions to allow the user to move from page to page of the protected area. However if I open new tab YET keep the other tab open (the one in the protected area) and then do somethings in the new tab and switch back then to the old tab I am forced to re login. I have tried set...

How to restrict access to web application to one machine only?

I need to make sure that every users accessing my web application can do that from one machine only, so 100 users would mean 100 machines. What would be the best solution? Is detecting and storing IP during first login good idea? I think IP might change even during lifetime of the session is that right? I was also thinking of storing coo...

AMF Login over Spring security

Hi, I'm trying to return some custom Authentication data using the details and/or the principal fields from that interface (org.springframework.security.core.Authentication) but nothing happens. The data returned on the other side of the Channel Set includes only the name and the authorities list (as Strings), and it's not useful enoug...

Possible to use thumb scanner to login to web application?

Is it feasible to allow users to login to my web application (php/mysql) using thumb scanner? USB scanners seems available and not too expensive, but has anyone got experience with it? How to make it work with php so users instead of filling in regular username/password fields would actually be able to login by scanning thumb. Are there ...

iphone login view, how to reload controller

Hello, I am working on an application with a LoginViewController and a TabBarViewcontroller. When the application is ran, I add the LoginViewController as a subView of window in the delegate. Once the login is ok, I remove the LoginViewController (removeFromSuperView) and add the TabBarViewController instead as a subview of windows. T...

How to create a custom Spring LoginMessageInterceptor?

Hi, How can I create and register my own LoginMessageInterceptor in Spring? Thanks! ...

Can I Login to DNN site and not have to log in to a seperate site that uses same UN & PW?

i have developed an online tool that requires authentication. The UN & PW will be the same for all the users as their other ones for the regular site. As of now, if they are running on the DNN site, they must relogin if they go to my site. Is there a way to make it so that they remain logged in? Thanks for any help. Let me know if you n...