authentication

HTTP and HTTPS Protocols

Hi, my question is related to hypertext protocol. what is the requirements from my side to be able to use HTTPS instead of HTTP in the areas where a user will enter confident information or when there is a registration process. Thank you. ...

Authenticated onto two seperate sites with one login (and using an IFrame). Possible?

Hi There, Currently building a site in ASP.NET MVC and have to integrate another site within it, in an IFrame. It is the wish of the client to have one login for both systems, so the user logs in in the parent site, and then are automatically authenticated on the IFramed site. Of course, if this were possible then it could be assumed tha...

How to authenticate a website user through iphone

I have created a web application and now I want to create an iPhone version of it. As a first step, I want to login a user using his username and password. I have a simple login page with fields for username and password. Now I want to send these credentials onto my site (lets say, www.abc.com/login) and authenticate whether the username...

Managing security rights based on User.Current.Name in ASP.NET MVC

I am using ASP.NET MVC to build a web application. In the main screen of logged-in user, I am using User.Current.Name to determine logged-in user identity, this is mapped to ID of a domain model data that is related to the current user. No one else should be able to see or edit this information (say his profile). I am using membership a...

Custom Authentication on a Controllers Action Methods

Hi all, I'm new to asp.net mvc and I was wondering if there was any clean non repetitive way of running a check to see whether a user is logged in when any Action Method on a particular controller is invoked? Also is there a way to stop that method from being invoked and redirecting the user to a specified page? I'm using a custom authe...

Single Sign-On ASP.NET and PHP

Hello We have a site made in .NET 3.5 with a multiplexed membership/role provider, and a connected PHP site (on a different server) which uses the same users (or partly atleast) and we are looking into the posibility of using a single sign-on and i'm wondering if others have done something like this that works. When the PHP site's auth...

IIS7/Win7 - Make sure that the application pool identity has Read access to the physical path

I am running a localhost instance (so domains are not my issue!) on my laptop utilizing Win7 and IIS7. I am getting authentication errors on my website and my one virtual directory. default website - localhost:80 c:\mydirectory\localhost virtual directory - c:\mydirectory\weborb30 Please notice these are not under c:\inetpub\wwwroot...

User.Identity.Name returning empty string.

Hello guys, User.Identity.Name returning empty string in Firefox. In IE it's working fine. I have an ajax call to controller and used the Identity to fetched data from DB. Problem is it will always return an empty string in Firefox. I already assigned cookie name in my webconfig under . Your reply is greatly appreciated Very Best, ...

Prompt for login details when using Integrated Windows Authentication

For an ASP.NET application, how can I prompt the user for their username / password when Integrated Windows Authentication is used? I would like to use C# in the code behind of the pages to do this. I want some pages (e.g. http://intranet/admin/) to prompt for a password, while others automatically go though (via IWA/NTLM). I would then...

Java Orkut Login

I want the pagesource of home page of ORKUT (http://www.ORKUT.com) in java. But it needs to be logged in to the ORKUT before accessing any page of it. How can I do it. It should not involve browser in between ...

Java servlet and authentication

Hi all, I have a small application with 3-4 servlets and a basic module that provide me authentication like: public class Authentication { public boolean isUserAuthenticated(){ .... } } Is there a way to check the authentication using my class BEFORE every other servlet calls, without have to add code in each of them? I'...

Can a WIN32 program authenticate into Django authentication system, using MYSQL?

I have a web service with Django Framework. My friend's project is a WIN32 program and also a MS-sql server. The Win32 program currently has a login system that talks to a MS-sql for authentication. However, we would like to INTEGRATE this login system as one. Please answer the 2 things: I want scrap the MS-SQL to use only the Djang...

PHP login system from Wikibooks: to be trusted?

Have anyone reading the description of PHP user authentication system at Wikibooks? http://en.wikibooks.org/wiki/PHP%5FProgramming/User%5Flogin%5Fsystems Is it good? Secure? Correct? ...

SQL Server authentication in SQL Server 2008

I created a login with SQL authentication credential in SQL Server 2008. But, I am not able to login using that credential. We followed the same steps in SQL Server 2005 and working without any problem. What could be the problem? Thanks, P.Gopalakrishnan. ...

Grails App Engine Authentication

How do I setup Account Registration, Login, etc in Grails when developing for the Google App Engine? Normally I would use the Acegi plugin but I've read that it doesn't work with Google App Engine. For reference, I'm using the Grails app-engine and gorm-jpa plugins. ...

ASP.NET Forms Authentication with Windows Safari

Does anyone know why ASP.NET Forms Authentication does not work on windows safari, or better yet, how to get it to work? It seems like a very weird issue. When I use a login control (System.Web.UI.WebControls.Login) everything works fine, but if I try to do a custom Forms Authentication login when I call FormsAuthentication.RedirectFromL...

Client SSL authentication causing 403.7 error from IIS

I'm trying to connect to a web service (not under my control) configured to authenticate users via SSL client certs. I have a valid certificate in PKCS12 format containing the client certificate and associated private key. The certificate is issued by a CA accepted by the web service provider. Installing the certificate and trying to ac...

powershell check sharepoint URLs

I'm trying to write a script that iterates through a bunch of sharepoint URLs and verifies that they exist. From what I can find, it looks like this should work: $webclient = new-object System.Net.WebClient $webclient.Credentials = new-object System.Net.NetworkCredential ("username", "password", "domain") $webpage = $webclient.Downlo...

Built-in password authentication dialog in Cocoa?

Is there a built in username/password dialog box in Cocoa? I don't want to reinvent this if there's a standard way of doing it, but after googling, I came up with nothing. I often see that lock image with the application image superimposed on it, so I thought there might be something. ...

apache HTMLUNIT..... PROBLEM in handling javascript

I want to login to a website (http://www.orkut.com) through com.gargoylesoftware.htmlunit.WebClient But when I click on the "Submit" button, it doesn't take me to the expected page that should come after login. Instead it returns the same login page again. In clear sense, there is some problem in login. When I try the same code with ...