Is it possible to only let a user log in while using a specific IP address? This IP address would be different for all users so simply writing an htaccess rule in Apache would not solve my problem. I also looked into writing a custom authentication backend but I don't see any way I could check the user's current IP address since there is no request variable provided.
It is not absolutely critical to have this feature, but it might be nice. I just need to see if it is possible to do without severely hacking up Django's authentication framework.
Thanks, Cory