authentication

ASP.NET Membership advantages

What advantages does Membership provide in the case when you have to write custom implementation? Is there any sense to implement membership interfaces or it would be easier to make your own UsersService with just things you need? ...

WebService authentication problem, in Android

Hi, I have an web service on developed .net The Url is : www.yemeksepeti.com/YemeksepetiCatalogWebService/CatalogExportMobile.asmx I want to use the service methods is : Mobile_GetCities SOAP 1.1 The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values. P...

Client authentication by a server

I have a java application that needs to connect to a server. Its rather simple to ensure that the server is not spoofed using SSL but I can't seem to wrap my head around on how the server would authenticate the client to ensure that the request is coming only from a trusted party. Only the first communication needs to be authenticated. D...

devise routing error

I can't seem to get past this error when setting up devise. Routing Error wrong constant name Devise/registrationsController or Routing Error wrong constant name Devise/sessionsController I'm using Ruby 1.8.7, Rails 3.0 and Devise 1.1.3 Everything else on my app works, I recently upgraded my app from 2.3.8 and was previously usi...

how do i do authentification on android

Hi, I need to authenticate to use a rest web service. I make a HttpClient httpclient = new DefaultHttpClient(); an there must be a way to use UsernamePasswordCredentials on that client. Can somebody please point me to a relevant example? I have found some source code uding the HttpClient class in the org.apache.commons.SOMETHING...

Is there a way to set up simple http authentication for an app on heroku?

I want to set up a private staging server on heroku using simple http authentication. Is that possible? ...

authorization stringtemplate

it doesn`t working web.xml <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <context-param> <param-name>contextConfigLocation</param-name> <param-value> /WEB-INF/jshop-servlet.xml, /WEB-INF/applicationContext-security.xml </param-value> ...

handling manual user creation with get_current_user() (GAE)

I am using GAE's Python environment and Janrain in order to provide multiple ways to login in my service. Based on login information I receive from Janrain, I create a google.appengine.api.User object and store it to the datastore. Is there a way to handle this new object with the built-in get_current_user()? I need to be able to dete...

whats the best way to secure content on another web site / subdomain of a public facing web site?

I have a public facing web site living at www.somedomain.com. This web site renders pages with links to images that live at photos.somedomain.com. All users that view images on www.somedomain.com must be authenticated with forms authentication and they are authenticated by the asp.net membership provider running in the context of the w...

What prior knowledge do i need to have for socket programming?

I have to design GUI for authentication. Which will have 1. User name 2. Password using The stream socket, The packet socket or The raw packet in php and mysql language. any references or tutorials? ...

API call to pause/resume google web history?

I am building an app which needs the above feature. Any idea if this is available? Or suggestions on implementing this ? ...

How to access session of one site from other site

Hi there! I have website w1 written in rails using auhtlogic for authentication and w2 in PHP(say), I want w2 to access session information stored by w2 and login user into w2 and also retrieve user_id from session. ...

Django 1.2: login issue (GET parameter: next)

Hello, I have a new question about django (I post a lost of them these days^^). Here is my situation : I have a custom login view (registered as login url in the settings) where I authenticate the users. I chose to do a custom view to be able to add messages and logging. The authentication works well, but I have a problem with the GET ...

specific user data using Spring 3 REST

I'm trying to find the standard way to handle user authentication in a RESTful webservice using spring. i want to allow a LOGGED IN user to access only specific information that applies to him. i found 2 ways of doing that: using HandlerInterceptorAdapter i can take the HttpServletResponse and from it i can take the session. in the s...

Using Devise with Rails 3. Adding multiple roles?

We are using the devise gem for authentication in a Rails 3 application. We have multiple roles and from the devise stand-point, the roles will differ in terms of confirmation, activation and remember me functionality. The devise documentation has examples of two scopes being defined. One is the User itself and the other one is the admi...

how to login from the iphone to my rails app?

I've my rails app using authlogic for user session, I'm building an iphone-app as client of this site, how can I do with the login\logout\session management? I know that's a common question but I've tried to look for it everywhere but I can't find anything clear and useful thanks ...

HTTP Basic Auth Exclude Single File

Part of my .htaccess file looks like this- AuthUserFile /path/to/.htpasswd AuthName "Authorization Required" AuthType Basic require valid-user Doing that requires the Basic HTTP authentication for the entire directory and the directories below it as well. However, I have a single file within that root directory, thubservice.php, that...

Issues with connection in SQL Server 2008 Management Studio Express

Today I've installed the SQL Server 2008 Management Studio Express. As I know, on the start up there is a login screen where I can choose betweeen the authentication and credentials. Now I have startet SSMSE and I cannot connect to my Server(runs locally). I have tried to use my Windows account and also the "sa" account. Both doesn't wor...

Embedding User + Password data for HTTP Basic Access Authentication in Querystring

We're trying to test an API that requires HTTP Basic Access Authentication credentials (http://en.wikipedia.org/wiki/Basic_access_authentication) in the request. Ideally, we could just test the API using a web browser by putting all API parameters in the URL querystring, but we haven't yet found a way to encode the HTTP Basic Access Au...

Ruby on Rails OAuth application works on client but not on server (OAuth::Unauthorized (401 Unauthorized))

Hi, I have a Ruby on Rails application that works great in my computer and in my server. I'm moving this application to another server that runs on another hosting service, and I got a problem related to the OAuth Ruby Gem. Any request I do using OAuth gem, I get: OAuth::Unauthorized (401 Unauthorized): oauth (0.4.3) lib/oauth/consu...