authentication

Cannot get a session with Facebook app? (using its Graph API)

I have really simple few lines of Facebook app, using the new Facebook API: <pre> <?php require 'facebook.php'; // Create our Application instance. $facebook = new Facebook(array( 'appId' => '117676584930569', 'secret' => '**********', // hidden here on the post... 'cookie' => true, )); var_dump($facebook); ?...

REST Authentication in PHP (CodeIgniter)

I writing REST API form my web application. Application is written using CodeIgniter framework. Application itself is working fine, but I'm stuck on making REST Authentication. I think that basic Http Authentication will be good enough for some time. Public API is not yet planned. Is there any code example how to achieve REST Authentica...

authentication in PHP ?

Hi guys, I need to make an authentication script in php. I have already made a login.php page, where the user can enter his unsername/password and it gets checked against a database. If the unsername/password are correct, the user should be forwarded to members.php page together with a $_SERVER['username'] variable. What is the command ...

User/browser fingerprinting without cookies

I'm sure that many of you have heard about this: http://panopticlick.eff.org/ It's a way to form a somewhat unique fingerprint of a web site visitor based on information about their browser, fonts, plugins, etc... Does anyone know of a library (python!?) to do this? I'd like to allow for visitors to vote on a poll without having to ...

Rails Heroku Migrate Unknown Error

Hello. I am trying to get my app up and running on heroku. However once I go to migrate I get the following error: $ heroku rake db:migrate --trace rake aborted! An error has occurred, this and all later migrations canceled: 530 5.7.0 Must issue a STARTTLS command first. f5sm3554179qcg.2 /usr/local/lib/ruby/1.8/net/smtp.rb:576:in `au...

How to work with a custom membership provider in silverlight?

Hello everyone! I am trying to make a silverlight application that uses RIA Services for authentication and databinding. That is, I'd like to be able to use the login/registration forms provided in the Business Application Template, and use the drag&drop features for displaying data in datagrid on pages. The data for the application (inc...

Accessing Identity.AuthenticationType

While implementing a custom authentication type in a wcf service, I'm trying to read the property IIdentity.AuthenticationType using the call Thread.CurrentPrincipal.Identity.AuthenticationType. Unless the account running the service is local administrator, UnauthorizedAccessException is thrown when accessing this property, much like ...

Has anyone used JanRain / RPX to enable users multiple login options (e.g. Google, Twitter, Facebook, etc)?

I'm debating whether to consider using a product like this to provide my users with multiple login options or to build/maintain this myself internally. What are the pros of this product/service? What do you see as the major arguments NOT to use this project/service? ...

Whats the best way to extend Anonymous User in Django?

I want to make my User objects all have the same base behaviour and to do so I need to add a couple of methods / properties to Anonymous User. I've already subclassed User to make richer user objects but I was wondering if anyone has done the same for Anonymous User? And if there are any preferred ways of doing it! ...

Programmatic login in Spring Security 2

I'm trying to find a way to skip the login form when a user clicks on an "activate account" link that he has received by email. This link contains a single-use random token that can serve as an authentication method. By this token I can retrieve the user details and activate its account, but I am yet to find a way to sign-in programmati...

authentication dialog not appear using Tortoise

I create local repository and in svnserve.conf file uncomment some line to get this: [general] anon-access = none auth-access = write password-db = passwd [sasl] use-sasl = false and in passwd [users] user= userpass But when I do Checkout or other operation, authentication dialog don't appear :/ Can someo...

Grails + Spring Security one field login

Hi all Is it possible, using spring security plugin 0.5.3 with Grails 1.2.1, to authenticate a user using only one field? I mean, for example, making j_username and j_password fields in the authentication form equal previous to the authentication. I read it was possible to define j_username field in Config.groovy with acegi plugin, in o...

ASP.NET website requires login after each compile

Hi, I am working on two ASP.NET websites. Both use custom authentication process based on forms authentication with: <authentication mode="Forms"> <forms cookieless="UseCookies"/> </authentication> set in Web.config. When I compile the first website, it always remembers my credentials I've entered before, like expected. When I co...

MySqlDataReader giving error at build

Hey there. I have a function in VB.net that authenticates a user towards a MySQL DB before launching the main application. Here's the code of the function: Public Function authConnect() As Boolean Dim dbserver As String Dim dbuser As String Dim dbpass As String dbserver = My.Settings.dbserver.ToString dbuser = My...

Anonymous users support vs Google bot

I have a User class in my web app that represents a user currently logged in. Every time a user vists a page, a User instance is populated based on authentication data supplied in cookies. A User instance is created even if an anonymous user logs in - and a corresponding new record is created in the User table in the database. This ap...

Need one login for two different sites

I am tasked to create a web site using Django. It will be a 'sister' site to an existing Plone site. The same Apache instance will be the front end to the sites which allows me to use the same domain name. However, the owners want the users to be able to log into one and still be logged into the other one. How can this be accomplishe...

I'm trying to implement 2 factor authentication on the cheap. How would I do that?

Ok so I need 2 of the 3. Something the user knows. Something the user has. Something the user is. I have a system that is exposed to the internet and we need clients to connect in a secure manner to satisfy our security standards. I'm thinking when a user registers to use our system we send them an application that they install on the...

Is it possible to expose an API for my own WebSite ... but use oAuth for the api authentication?

Hi Folks, currently I expose an Api for my website. Works great .. and i use Basic Authentication to authenticate users to get access to the data. eg. http://www.MyWebSite.com <-- main site. http://api.MyWebSite.com <-- my api website. sample api RESTful url http://user1:[email protected]/games?type=battlefield2 (yes yes...

do not allow integrated windows authentication *for one of the domains*

We have an ASP.NET web application which uses integrated windows authentication. It is accessed by users from two domains, A and B. A is the primary domain and B is an older domain which is going away. Web application is authenticating users using a group policy which only exists in domain A. Every user in domain B has an account in ...

WPF integrate Windows live authentication for Microsoft health vault

Hi all, I'm just wondering if there's any way for WPF application integrated with windows live ID? and it's actually for windows health vault [www.healthvault.com] so health vault is using windows live id or open id to login into their system. and what i gonna do is, creating wpf application (instead of web application) for health vaul...