login

Example of good login/registration integration with social networks and openid?

We are at the early stages of creating a new website, at the point where we need to build the login/registration module. I want to be looking forward to the future, so I want to allow my users to register and login using all sorts of accounts, such as OpenID, Google, Facebook, Yahoo, etc ... My users are not all tech savvy, do you have...

a script to log into webpage

I want to write a script to log in and interact with a web page, and a bit at a loss as to where to start. I can probably figure out the html parsing, but how do I handle the login part? I was planning on using bash, since that is what I know best, but am open to any other suggestions. I'm just looking for some reference materials or ...

CURL login by script to a Joomla website

Hello, I need to login by a PHP script that uses CURL to a Joomla website, in order to access to a private page that needs to be processed, but nothwithstanding several attempts I have done, I have always a 403 error. I have done a similar thing with other websites and it worked. Script I use: $uname = "id"; $upswd = "pswd"; $url = "h...

Facebook connect - Detect Login State using PHP

I have Facebook Connect working (partially at least). For a user who logged into facebook, when they first visit my site's login page, the following js line will refresh the page and my php log the user in. FB.init("api-key","xd_receiver.htm",{"reloadIfSessionStateChanged":true}); However, when a user logs out of facebook, the faceboo...

how i can this log in system with yahoo,twitter,facebook etc

in many sites i can see how i can do that is must tell every company or what? ...

sfDoctrineGuard problem

I have a problem with my sfDoctrineGuardPlugin... this question is related to... http://stackoverflow.com/questions/2183552/two-tables-relation-with-sfdoctrineguard-user-table-symfony I create the entity Enterprise and Customer and associate well with their group and entity. Now i create a module called sfGuard whith signinSucces.php b...

Refreshing or double clicking on a link too quickly causes a CakePHP app using the Auth component to log the user out

I've noticed that when I refresh the page twice in a row or double click on a link, the user is automatically logged out. I'm using cakephp 1.2 and the Auth component. I don't have a lot of experience with CakePHP, any ideas what could cause this? ...

Make program instantly start up when login. c#

Hello, I have previously posted a question about this but I did not get an answer that suited my needs, so maybe I need to be more specific? I am trying to make my program instantly start up when the person logs in. It is a computer locking device so I need it to start as soon as possible. I know this is possible because anti-virus pro...

Why is it a bad idea to use ClientLogin for web apps in the Google API?

I just picked up the Google API today to allow some users of our site to upload videos to our own organization YouTube account. I Don't want our users to know our user name and password, but rather give them the option if they want to upload videos to youtube or not. If they choose to do it, they check on a check box and hit the submit b...

I cannot use JQuery in login page?

Hi guys I'm with a problem than right now i'm not understanding.. I'm using JQuery to render a icon "loading ajax" always than a request page is done. All my pages derives from master page, but login page doens't. What happens is that page (login) i cannot use jquery In login page im including to jquery library and using the followin...

Automatic login after email address verification from email message

When users verify their email address successfully, could I just log them in automatically? I consider the following reasons to do so: The link is a random hash Users will already be annoyed by having to validate I will trust anybody who has access to the email inbox anyway, since you can reset your password Users can of course only v...

Is this login scheme secure ?

Here is what I got for a webapp login scheme. Present in database would be two salts and hmac(hmac(password, salt1), salt2). When the user go on the login page, he gets salt1. If he has javascript activated, instead of sending the plaintext password, it would send hmac(password, salt1). If he does not have javascript, the plaintext pass...

Grails Expired sessions and uploads

I have an upload page, if a user goes to that upload page then leaves it for a while and their session times out, then they try to upload they will get redirected to the login page, but after they login it tries to submit the upload again causing an error. How would I avoid the upload being submitted again after login? ...

ASP.NET MVC - delete a user in default account system?

How does one delete a user from the system in ASP.NET MVC? Is there any facility built in that I'm just not seeing? I have a Customers controller which ties into the default Account controller well for the most part but when it comes to deleting them, deleting from the Customers table isn't enough as the user name is now effectively "r...

(PHP) SHA1 vs md5 vs SHA256: which to use for a PHP login?

I'm making a php login, and I'm trying to decide whether to use SHA1 or Md5, or SHA256 which I read about in another stackoverflow article. Are any of them more secure than others? For SHA1/256, do I still use a salt? Also, is this a secure way to store the password as a hash in mysql? function createSalt() { $string = md5(uniqid(...

Secure password list in PHP

Hello, I'm thinking about storing list of passwords for users (eventually more info about them) of small-scale (max. 20 users) app in PHP file in directory like public_html_root/system/config/ <?php if($calledByApp !== true) die(); $pwds['username1'] = 'hispassword'; $pwds['username2'] = 'herpassword'; $pwds['username3'] = 'anothe...

How and where to perform login process (in this case getting token from server) in iPhone app?

So what I need to do in my application for loggin in is Perform an HTML request with user/pass which returns XML with a token. The token is used in later http requests. I know how to perform http requests and also how to parse them, I have already been doing that just with the token hardcoded for testing purposes. I also have it worked ...

"ssh example.com" hangs but "ssh example.com bash -i" does not

Hello, everyday I encounter a very strange phenomenon. From my university internet connection, sshing to my machine ("ssh example.com") works without any problems. From my home adsl, "ssh example.com" my console gets stuck with this message: debug1: Server accepts key: pkalg ssh-rsa blen 533 debug1: Enabling compression at level 6....

How do I write an app that alerts a Windows service which user is currently logged in?

I have a Windows service that should run for all users that needs to know which user is currently logged in. I'd like to write an app that gets started when a user logs in that will alert the service that that user is the one that's currently logged in. It would also need to handle when the user is switched (meaning both are still runnin...

PHP Login via sessions doesn't work on first attempt (in new window)

So I'm working on an application that requires a user to login before accessing any 'sensitive material'. The login script works like this: User enters U/P->Script validates data->If valid, SESSION variables are set. This is a very strange problem, since SESSIONS are handled by the server. The problem: When first opening the script i...