authentication

ASP.Net/MVC Authorize Vs Authenticate

So I set this above my Controller: [Authorize(Roles="Administrator")] The problem is whether they are not logged in, or don't have the right role, it redirects them to the login page. Is there a way to have it handle authorization and authenticate differently? ...

Silveright - extending AuthenticationService to provide custom authentication

I am trying to add to the authentication system provided in the Silverlight 4 business template as my model does not completely fit that provided in the template. I have an existing web service that performs my authentication and provides roles and also permitted operations for each role. This is the model provided by AzMan/Authenticatio...

What is the best way to authenticate web users from WCF coming from ASP.Net web application?

I have an asp.net mvc 2 web application that connects to a WCF web service hosted in IIS. This is in an intranet environment using windows authentication. I need to authenticate the user connecting to the web application inside inside of my WCF service, but the WCF cannot see who connected to the web app. This can't be a new problem, so...

Web Proxy Created in C# needing to prompt for authentication

I worte a little Web Proxy program that uses a TcpListener, which listen on a specific port for web calls. Once it recieves a call it creates a socket, gets the header of the call, forwards it onto the web page requested, reads the response and returns it to the client doing the request. The proxy works lovely, but now I want to limit wh...

Python authentication

Hi, I want to be able to authenticate to a website and then access some of the private pages in that site. I've looked at some examples and tutorials but I can't get it to work. For example, I want to access https://www.billmonk.com/home which is available only after authentication. Here's the code I'm using: url = 'https://www.billmo...

Windows file permissions affect subversion read/write privileges

I recently set up a repository using VisualSVN Server. It uses Windows Authentication. Some users are having problems committing projects to the repository. (They have no problems checking out repositories). The BUILTIN\Users group has read-only access for the entire repository and the individual users have read/write permissions setup ...

Implementing a SAML client in Python

Hi, I'd like to integrate a web site written in Python (using Pylons) with an existing SAML based authentication service. From reading about SAML, I believe that the IdP (which already exists in this scenario) will send an XML document (via browser post) to the Service Provider (which I am implementing). The Service Provider will need...

How to I copy a file from a computer that requires authentication to my local machine?

When I use: File.Copy(strRemoteFolder, strLocalFolder) I get an UnauthorizedAccessException with the following message: "Access to the path ... is denied." In .NET, how do I copy a file from a remote computer that requires authentication to my local machine? I understand that I'm going to need to supply a username and password in so...

Authenticating automatically to a website

I have a web site I would like to log in to and display in a WebBrowser control by passing a username and password which the client desktop application already has. What would be the best and most secure way to go about doing this? Can I make a Web Service to authenticate and then somehow pass the Session to the browser control? I am ...

iis authentication username password

hi I want to write script or batch file for changing iis authentication username password. Can I do this with script or batch file? or how can I do it? I have to do it automaticly. ...

How can I verify the authenticity of requests from an iphone app to my web service

I'd like to make requests from an iphone app to a web service I've built. How can I verify that requests made to the web service come from my iphone app (or indeed any authorised source) and are not forged? I have looked at basic auth over HTTPS but is baking credentials into an application secure? This question isn't really iphone spe...

HTTP based authentication/encryption protocol in a custom system

We have a custom built program that needs authenticated/encrypted communication between a client and a server[both in Python]. We are doing an overhaul from custom written Diffie-Hellman+AES to RSA+AES in a non-orthodox way. So I would be very interested in comments about my idea. Prequisites: Klient has a 128bit RegistrationKey which ...

Forms Auth premature cookie expiration

Hi, I'm having trouble with a site that just went to production. For some reason, although the settings seem to be correct for a 15 minutes session timeout, users are reporting that in about 5 minutes they have to log in again. What can I check? how can I troubleshoot this? I can't reproduce it locally, or in our QA environment. Are the...

Any lazy way to do authentication on RoR?

I want to make a simple login, logout, also, different user have different user role. The Restful authentication seems works great, and the cancan is also very sweet for controlling user ability. But the question is how can I let these two works together. I watched the railcast, I was whether how to detect the user ability? Do I need to ...

Windows LDAP Authentication in C++

I am currently trying to authenticate users in a c++ application in Windows. I need to display a dialog for username and password and verify that they are an authenticated user on the Windows machine. Are there any libraries that allow for this functionality or a good way to go about it? ...

cookieless authentication in php5

In my PHP application, I used UserName & Pwd and check the user table in the database to check the validity of users. After the login is successful, I stored the credentials in the Server Session as below: $_SESSION['username'] = $username; $_SESSION['pwd'] = $pwd; And I checked the session to ensure that the user has already logged...

Programmatically logging into DotNetPanel using PHP.

I use software called DotNetPanel (DNP) and I'm modifying PHProxy to automatically log into the administration panels for me. I've done this for several other types of software - like cPanel - just fine using authentication headers or POST variables, but DNP uses something I'm not familiar with - ViewState. When I POST the user/pass d...

Cross-site strong secured authentication

There are two websites in different domains, in different server, with different databases, developed in different platforms, both for banking purposes. In the first website (I'll call it "A") the user (bank operator) will login with his credentials. The problem is: They need to put a "link" to the B-site into the A-site, and the user ...

ReportViewer web control without authentication

I use ReportViewer web server control on a web page. The goal is to have a page that will allow anonymous access. I'm creating a dummy FormsAuthentication cookie that expires in 5 seconds and try to call the report. I also derive from IReportServerCredential and pass in Domain administrator's credentials to the report server. Weird thing...

SQL Server Authentication

Hello, I'm new to SQL Server 2008... I have a C# application where: the users are authenticated at application level with a login form after their login the application connects to the DB by using the same SQL Server Account (SQL Server Authentication) for each user My question is: Is there any limit on the number of users which c...