I need to set up my router (DD-WRT firmware installed on it) to redirect users to a web application that authenticates them. I still haven't understood very well the entire process.
I've installed TekRADIUS and a PHP application called hotspotlogin.php but not sure how to integrate DD-WRT, TekRADIUS and the PHP application. I intend to r...
If I have a Selenium test which is currently logged in (with HTTP Authentication) to a particular website, how can I cause the remote browser to forget the current authentication so that I can log in as a different user (while remaining within the same test)?
...
Let's say I write a game application.
I want the level of the player to be stored in an external file.
How can I prevent a hacker from writing and modifying the file to put another level ? I want the file to be modified by my application only.
I can sign the file's content with a key, but then this key will be stored in the application...
For some reason a user can login with any password, first I thought I forgot to check for the password but I didn't... and I just cant find the problem
here is the model:
/*#######################################################*/
function validate()
/*#######################################################*/
{
$this->d...
in my asp.net MVC project
i have an database connection with connectionstring:
Data Source=.;Initial Catalog=dbname;Integrated Security=True
All users can execute Stored Procedures on that connection and i want to log those users.
so after each execution I store "User.Identity.Name" to another database.
This work great on my developme...
I am overriding System.IdentityModel.Policy.IAuthorizationPolicy.Evaluate as follows:
public bool Evaluate(EvaluationContext evaluationContext,ref object state)
{
var ids = (IList<IIdentity>)evaluationContext.Properties["Identities"];
var userName = ids[0].Name;
// look up "userName" in a database to check for app. permissi...
I am integrating LDAP authentication in my web enterprise application. I would like to show listing of people name and email. Instead of querying the LDAP server for the name and email each time a listing containing several users I thought about caching the data locally in the database.
Do you guys know about caching LDAP data best prac...
In rails I could do something like this to make sure a user is authenticated before accessing an action in the controller:
before_filter :checked_logged_in, :only => [:edit, :update]
I was wondering if ASP.NET MVC had something similar or if there was a framework out there that could essentially do something like the following:
For c...
I am creating a website with multiple sections--admin, client, user, and anonymous--each user group having less access then the next. I am wondering what form of authentication would be best for my use?
I have heard the if you are just dealing with a websites then a web form is for you (because it's prettier). HTTP header authentication...
Hello everyone!
I'm building a silverlight application hosted on ASP.NET Web App. / IIS7 / SSL-enabled website.
For security, I put my silverlight page inside a Members folder in the ASP.NET Web Application, and restricted access from anonymous users.(see web.config below)
when users try to access pages under Members folder, they get re...
After I had a lot of problems with preemptive authentication , I got it finally working.
Now the next problem. I want to get a file with it, but I don't know how.
I thought the file data might be in the variable response, but it isn't.
Any ideas how this might work? I'm trying it since days without success :( - Basically I'm trying to do...
Hi,
Is there an authentication plugin for rails which uses the host system's /etc/passwd file to provide user/password information? The goal is to provide user login to a rails app for the same users who already have local login accounts to the linux machine hosting the rails app.
Cheers.
...
I have a tcl script that calls a lot of functions from bash including ssh. The part I'm struggling with looks like this:
proc connect {where} {
set bash c:/cygwin/bin/bash
catch {exec $bash -c "ssh $where"} result
puts $result
}
connect user@localhost
I get the authentication failed message:
Pseudo-terminal will not be al...
I'm using the Django nonrel project on a google app engine project running locally in development. I've created my own models and these are fine when they are saved and retrieved in the datastore.
I'm hoping to use django.contrib.auth to provide the user functionality. I can use the shell to create users and these get assigned an ID. Wh...
I am deploying a public ASP.NET website on an IIS7 web farm.
The application runs on 3 web servers and is behind a firewall.
We want to create a single page on the website that is accessible only to internal users. It is primarily used for diagnostics, trigger cache expiry, etc.
/admin/somepage.aspx
What is the best way to contro...
Following the steps in this post:
http://forums.silverlight.net/forums/t/177042.aspx
Where/How do I add the [Key] attribute on the Name property of the IAuthentication where User is one of my ADO.Net Entity objects?
My options so far seem to be:
In the designer codebehind of me ADO.Net Entity Model.
Create a partial User class and ad...
Hi there,
Is there any site that show both OpenID and normal login on the same view? Most of the sites either have OpenID implementation or Normal Login implementation on different views.
I tried to do that, but it seems my code is very dirty, passing a blank username and password if using OpenID, otherwise OpenID will be blank but pas...
Hi,
I'd like use couchdb for a web application with external user authentication by a XMPP-Server (Openfire). How can I achieve that? Let's say we have thre users:
[email protected]
[email protected]
[email protected]
Now [email protected] should be able to read all documents that are suited for basic us...
I know that normally you can login to sites that require HTTP basic authentication with Selenium by passing the username and password in the URL, e.g.:
selenium.open("http://myusername:[email protected]/mypath");
I've been running a Selenium test with Firefox 2 or 3 and there I still get the "Authentication Required" dialog...
If I wanna authenticate windows accounts to AD when a user browses to an apache-running site on a Linux server, here are the usual suspects:
List item
mod_ntlm (which I used in a distant past) - last update on 2003
mod_auth_ntlm_winbind - last update on 04/2007
mod_auth_kerb - last update on 12/2008
No luck getting any of those to ...