authentication

Auth Component redirects automatically in cakePHP

Hello folks, After adding Auth component while accessing the home page it redirects to login page ie., let www.domain.com is my url. After adding the auth component when i try to access www.domain.com it redirects to www.domain.com/logins/login. how can i avoid this initial redirection?? i already given a route as below Router::co...

CodeIgniter and htaccess - Protect a specific controller and its methods via AuthType?

I have an admin controller which has some methods that I want to protect. http://blabla.com/admin/ http://blabla.com/admin/edit_coupon/ http://blabla.com/admin/edit_photo/ I don't need a full blown authentication system for this site, so I'd prefer to just utilize htaccess and AuthType for any /admin/ URLs. My current .htaccess is ...

WCF CustomBinding Duplex Fails to Open Client port

I am struggling with this duplex WCF service which makes calls to the service to get large amounts of data. I am using wsDualHttpBinding which works but is very slow. I profiled and most time is being used by Serializers and authentication process. So I decided to use Binary Encoding and change the Security to Transport and since it is a...

Implicit "Authentication" of Client Service Requests

Although algorithmic security is normally to be avoided, I'm interested in a means for agent / client software (running on Windows under the local system account) to authenticate itself to a REST web service: without relying on PKI without relying on the user's account (agent code is "local system") In short, I'm attempting cheaply t...

Windows authentication in Flex application

Hi, does anyone have an idea or developed before windows authentication through flex application. I know this maybe sounds silly, but could be very handy. :) I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step...

Optimization for OnAuthentication method using HttpModule.

I made an OnAuthentication method in MVC app. public class MyApplication: HttpApplication { private static IWindsorContainer container; protected void Application_Start() { container = new WindsorContainer(); Container.Register( Component.For<IUserRepository>().ImplementedBy<UserRepository>() ...

Should I provide settings for authenticating proxies in my network-enabled app?

I've written an update checker routine for our apps which contacts our server via regular HTTP and naturally I had to provide configuration options for connections through proxy servers. Currently I'm only providing options for proxy name (or address) and port number plus an "auto-detect" option which simply reads those two values from I...

Using username and password in HTTP or SOAP Header for STS based authentication

Hi, I have Windows Identity Foundation based WCF service. I have issues with interoperability because it seems to be kind of hard to implement PHP or Perl client for such service due to all WS-* protocols. Currently it works like this: Client authenticates at STS (using username and password) and receives SAML token containing requir...

jquery Authentication

How do you do a jQuery Ajax call and authenticate the call prior to sending the request? I have not logged in so have have to authenticate. Security is not an issue anyone can get access just need to authenticate. It just basic http authentication you can take a look at the API http://lighthouseapp.com/api/the-basics ...

Net::SMTPAuthenticationError 502 5.5.2 in Rails ActionMailer

Hi, i'm trying to send confirmation email to the user. But i get following error: Net::SMTPAuthenticationError (502 5.5.2 Error: command not recognized Configuration in production.rb is following: # Disable delivery errors, bad email addresses will be ignored config.action_mailer.raise_delivery_errors = true # set delivery metho...

ASP.NET MVC html page authentication

I have some static (pure html) pages in my MVC application that I need to authenticate, so that not just anybody can look at them. Is there an way to do this without moving all the code to asp files and adding a controller and from there use the Authorize attribute? I would really prefer to not need to do this! ...

Login systems: Why are sessions needed?

I was creating a login system with PHP and I wondered: Why are sessions needed? If I store a cookie with the userid and the sessionid doesn't it pose the exact same security risks to storing a cookie with userid and password hash (given that the password hash is strong enough)? Yeah, someone could potentially steal the cookie, but isn't...

Mutual Authentication with x509 Certificates using HttpClient 4.0.1

Does anyone have any friendly tips on how to perform client authentication via an x509 certificate using HTTPClient 4.0.1? Thank you for your time. ...

OpenID vs. OAuth

What is really the difference between OpenID and oAuth? They look just the same to me. I should clarify, I'm planning to use them in drupal, if that makes any difference. So I guess I'm bound by whatever module implementations are available in drupal. ...

OpenID - what are people's experiences of "login with x"?

Stack Overflow is obviously a great example of really successfull implementation of OpenID, but let's be honest - it's a little easier when your target user base is geeks like us! I'm really interested to hear people's experiences of implementing OpenID outside hi-tech websites. What kind of responses have you got from a) users? b) s...

On ASP.net authentication models

Hello SO, To learn ASP.net I started building a todo web app(web forms not MVC), this is essentially helping me in learning how ASP.net works, during this course I have also learnt about the authentication modules provided by asp.net, and to my understanding it is fairly complex unlike what I've seen in PHP (A very limited experience in...

Build valid REST API authentication

Hi to all, I've created a web application, and now i want to build some REST APIs to make it programmable by third party developers. Then, i want to build some client libraries in some popular languages (JavaScript, PHP, Ruby, etc) to make devs confortable using my service by avoiding them to parse by hand the JSON response of each requ...

How to get currently authenticated user email id after successful authsub athentication from google service when using google docs or spreadsheet API?

Please Reply with code example. Thanksss ...

Authentication with Pear Auth() and access levels

Looking on the web to find a good tutorial for implementing an auth system with Pear Auth(). I need to use different user permission, storing access level in a db field. On the official docs can't find anything about permission level... ...

Made Django's auth track on emails, how to relate username field to email?

My original though was to simply put the email address into both username and email fields when creating accounts, this doesn't work as Django limits the username field to 30 characters which may not be enough for email addresses. My second thought was to md5 the email address, put the hash into username, and that would make it always ...