authentication

Rails and Amazon SimpleDB authentication

Hello, I'm trying to use Amazon's SimpleDB with RoR. I need a standard user registration / authentication / roles checking. Pretty simple, but it seems that restful-authentication plugin did't work with SimpleDB. Can someone please point me to working solution or should I write my own from scratch? Anyone? Please? ...

Rails Ajax Authentication

Hello, Does anyone know if it is possible to create a secure authentication system using AJAX? I would use the same recommended security techniques, except that the user name and password would be posted using AJAX. If anyone has any ideas on why this would not be secure, or if they could point me to any resources that discuss this I ...

Configuring Web Authentication on Trac

Hello, I am on opensuse 11.1 and trying to configure admin access for Trac via the web interface. My site is http://trac.andydaykin.com. When I go to login, I get a page that just says "Trac Error". I have checked in the trac log and the only useful thing it does is point me back to the page on how to setup the authentication with mod_...

Which authentication mechanisms should I support in a new web project?

I'm about to build a new web application and I'm getting stuck on which authentication system(s) to support. Back in the day it used to be a simple matter of creating a registration page and having everything tied to your own custom authentication provider. These days there's OpenID, Facebook Connect, Twitter and now I'm reading about ...

Suggestions for a practical User Authentication System?

I hate to re-invent the wheel so I'm looking for an existing solution to create a simple authentication system for my application. I've experimented for a while with using CardSpace or OpenID inside the application but I can't convince management that these would be working solutions. Of course, I could just build a simple login dialog w...

Mono and ASP.NET Authentication

Does anyone know how to get to work the authentication mechanism configured using Web Site Administration Tool under Linux running Mono? Is it even possible? ...

MVC authentication - it's own model?

I have a social network-esque site with a nice User model that seems to be covering all my bases right now. I am reworking the code from spaghetti and want to find the best-practice solution for logging in / registering a user. Here are my options (I think): Create a separate Auth class (model?) that simply searches for a record of a ...

how to proxy a localhost only webpage through a publicly facing authenticated webpage?

I have a web application that requires user authentication. Once logged into this web application I want the users to also be able to see the content of a read only wiki that is running on the same server but is not publicly accessible, however I do not need/want to have the users of my web application to have accounts on that wiki, and...

nginx and auth_basic

I am trying to get basic authentication working with nginx in Ubuntu Jaunty. In nginx.conf, I added these two lines under the server context: server { ... auth_basic "Restricted Access"; auth_basic_user_file /etc/nginx/.htpasswd; ... } Then I apt-get'ed apache2-utils to get htpasswd, which I used to create the htpasswd fi...

What's the preferred method for authenticating users of a webpage in a RESTful way?

I'm developing a new experimental web-application framework, and I decided to give RESTful some attention. I've read up on the basics, and feel like I have a pretty good understanding of RESTful as a concept. I've got a system up and running, using URLs strictly to define 'nouns' in the system and take the 'verbs' from the HTTP request ...

Review my ASP.NET Authentication code.

I have had some problems with authentication in ASP.NET. I'm not used most of the built in authentication in .NET. I gotten some complaints from users using Internet Explorer (any version - may affect other browsers as well) that the login process proceeds but when redirected they aren't authenticated and are bounced back to loginpage ...

Authenticate on a website and Screen scraping with objective-c

I'm developing an iPhone application where I wish to authenticate (login form) on a site and retrieve some information by doing some screen scraping. Is there an API available to do this or documentation how I could do this? thanks ...

Creating a user authentication form

I have an excel C# addin that needs a user authentication form. The username and password would be used for the user to use the UDF formulae in the addin. Can someone help me with how to go about it with the help of a sample example code? Thanks ...

How to force unauthenticated users to a loging page in Grails / Spring Security Plug-in

I think I'm missing a very obvious solution here, but I'll ask anyway. I've got a grails application that uses the Spring Security Plugin for my AAS. I want to start doing daily build and deploys of the application using Hudson onto a test server (running Apache2/Tomcat6) as the ROOT application. When the application goes live, anonym...

Creating login using a text file

I'm trying to create a very simple login for only one or two users, the username and password are stored in "admin.txt" the text file is formatted like: username password __ I cannot seem to have the username and password register... Thanks for the help!! // username and password sent from form $myusername=$_POST['userna...

What is the Culture and PublicKeyToken within Membership Provider Type in the web.config file in ASP.Net?

I am reading through the book ASP.NET MVC 1.0 Website Programming and the following is contained within the web.config file in the example project: <authentication mode="Forms"> <forms defaultUrl="/" loginUrl="/user/login" /> </authentication> <membership> <providers> <clear /> ...

Is it possible to get the Windows logon name with site running asp.net forms authentication?

Hi I have a website with a large user base configured with asp.net 2.0 forms authentication. Before the user logs in via forms authentication is it possible to retrieve the windows login name/user account name on the machine they are using? Many thanks ...

CodeIgniter only allow access to certain controllers when logged in

Hi I have some CodeIgniter controllers which should only be accessed by users who have logged in (i.e. where $this->session->userdata('username') is not null). If a non-authenticated person attempts to access said controllers they should receive: header('location: /auth/login'); There has got to be a better way to do this than to put...

Login using Flex and PHP but how to handle session

Hi, I have a Flex login page that uses HTTPService to communicate with server side php script. Once user's credential is verified, a session will be created and the login page will redirect to the main Flex page with that session info. I'm not sure how to implement the session logic. Can someone shed some light on this? Some sample cod...

[Authorize(Roles="whatever")] attribute for .net MVC controller action method

Essentially I want to show a friendly message when someone is not part of a role listed in my attribute. Currently my application just spits the user back to the log in screen. I've read a few posts that talk about creating a custom attribute that just extends [AuthorizeAttribute], but I'm thinking there's got to be something out of th...