login

Googles App Engine, Python: How to get parameters from a log-in pages?

Here is a quote from here: So in short ... you need to look into login page, see what params it uses e.g login=xxx, password=yyy, post it to that page and you will have to manage the cookies too, that is where library like twill etc come into picture. How could I do it using Python and Google App Engine? Can anybody pleas...

Do I need to query the database to verify logged in status when user views private pages?

.. Or is it enough to just check for a session variable that indicates a successful login has in fact been performed? What are different ways to go about this? The ideal and not so ideal? Thanks! ...

Django: use hash/guid in username

Hi all, I am going to use email as a username across the website, however I still need to pre-fill the mandatory username field in User model somehow. Initially I was thinking of using a md5 hash of the email as username, but given the limitation of 30 characters it is not possible. Also I don't think I can use GUIDs for that as they a...

how to create a secure php login system, allowing for "keep me logged in" functionality?

hello, I use a simple login system based on SESSION vars. Once the user logs in, a session var is set that tells my script the user is to be accepted in. I don't use any custom clientside cookie var. I would like to offer the option on the login screen that says "keep me loggued in the whole day". How does one do that in a secure way? ...

Google App Engine - Is Google Users Service equal to SSL?

I'm planning to write a web application on Google App Engine using Java. Each user needs to log in first to see all the secure account information. I have the following questions: Is Google Users Service equal to SSL? I use Google Users Service to authenticate the user. After redirecting from the Google Accounts sign-in page to my web ...

How can I make svn command line client to forget the login credentials on windows (sliksvn)?

After having checked out once the repository to a folder, the svn command line client remembers the username and password (along with the repository url?). So, 2 questions arise: is there a way to make it stop remembering the login info (and ask user/pass every time)? is there a way to make it 'forget' the current login info (to delete...

authenticating the username ,password by using filters in java (contacting with database)

The following is the piece of java code by using filters that shows the error page at every time if the username and password is also correct. Please help me, I don't have much knowledge on this concept. String sql="select * from reg where username='"+user+"' and pass='"+pwd+"'"; rs=st.executeQuery(sql); if(rs.next()) { chain.doFilt...

ASP.NET: require login based on netmask

I need to secure access to all pages in a .NET webapp - EXCEPT requests from: local network (the network IIS is running on) IPs listed/netmasks listed in a database all other requesets should be redirected to a login form I was thinking in the direction of a HttpModule - but never wrote one. Can anyone provide any ideas to this? Th...

Membership system in ASP.net

I'm going to use the membership system in ASP.net, but need to change it in 2 ways. The database which stores the users is Access, and I want to salt the password(etc) plus ask the user to enter details like links to their facebook pages etc which are stored in the database. So how do I use access with the system? And how can I change...

Zend Framework Zend_auth sessions getting mixed up

I've two subdomains. Each subdomain has its own authenticated users database. I'm using $auth = Zend_Auth::getInstance(); if($auth->hasIdentity()){ } to check user login credentials. It works prefectly for each individual subdomain. But when I log into one subdomain and try to access 'restricted' page in another subdomain without log...

How to Make Browser Detect Concurrent Loggin into 2 A/C

I am playing a browser based online game and is wondering how it can detect I am trying to login using 2 separate accounts on the same machine. I've tested a few things. First it is not based on detecting same IP since I can login concurrently using firefox/IE and it wont be a good idea to ban users sharing the same IP using a router (...

How can Forms Authentication redirect to Login.aspx in the same browser session?

When I click on my Login link it takes me to the Login.aspx page in the same browser session as expected. But when I click on a page the user needs to be authenticated to see, it redirects to the login.aspx page in a new browswer tab. Thus it now has two tabs open. Anybody know how to stop this behavior? I would like the app to switch...

Wpf Login System

Hi everyone. i am developing a training software in wpf. but i have problems. this application will be setup project. when the user make it work, a login window will open. User should enter his username.there wont be a password. but the problem is next; i dont know how to get userid from database. and compare other usernames to get t...

django double "extends", problem with login

Hi:) I have got a small problem with template double extends system. I have got a scheme: base.html ---> index.html ---> something.html When I log in to the site I have got access to all invisible blocks (invisible blocks for anonymous users) like: {% if user.is_superuser %} blabla {% endif %} So "blabla" is visible for me, beca...

How browser's identify login forms?

Hi again. I'm trying to find out: how browsers identify login forms in different sites? Doesn't matter if I'm acessing my GMail account or some personal project, IE/Firefox always knows that that page contains login info. Do they conclude that simply searching for input types = password or there is some cookie information involved? T...

Redirecting Wordpress's Login/Register page to a custom login/registration page

I have a website, with a user system. I want to integrate wordpress's user system into that website's, but I still want to use the website's register/login pages. I don't want anybody to be able to login or register using Wordpress's login or registration forms. Instead, when they're try to access the login/registration pages in Wordpres...

Multiple formsauthentifications in the same application

Hi there, I was wondering if it is possible to use two different formsauthentification logins with the following directory structure: /default.aspx /login.aspx /web.config /subdirectory/sublogin.aspx /subdirectory/subdefault.aspx /subdirectory/web.config The web.config in the root contains the following settings: <authentication mod...

How to get the action argument of a wp-login.php request?

I am trying to integrate my custom user system with Wordpress, and I have recently asked a question on how to redirect requests to wp-login.php to my own login/registration page, but as I was working on the pluggable functions, I realized that requests to wp-login.php can either be for login, registration, or log out. This is set in th...

Zend Framework: How to redirect to original url after login?

I'm trying to implement a login system that will be smart enough to redirect a user back to the page they were on before they decided (or were forced to) go to the login page. I know this seems like a similar question to this one, and this one, but they do not address both of my scenarios. There are two scenarios here: User specifica...

PHP: Returning a user to their original page after login

Are there any 'best practices' concerning how one should return a user to their original page after logging in to your website, specifically in PHP? e.g. if I'm viewing a StackOverflow question while not logged in, how would you ensure that I return to this question if I logged in? From my research, it seems a lot of advice centers arou...