authenticate

How to check login credentials in linux when not running as root?

I have written a cgi-bin application in C that runs in a browser and allows the user to open an interactive shell and view & edit files on a Linux machine. It runs as the standard apache "www-data" user. I just added a login screen to it where the user types in their name and password (in a form) but I cannot authenticate the user using ...

How to authenticate your server to my server when a user loads your page in PHP?

user signs up for a key and secret from my site, then they can send/receive from my REST server. Where I need help is when a user interacts with the REST, how can I determine if they are authenticated using THEIR key and secret? Basicly this will be for a social network site app area. I have seen that many social networks have an ap...

how to authenticate user of ASP.NET web service which is part of ASP.NET web application?

I have a C# ASP.NET 3.5 web application which uses forms authentication. Users log in with their username and password on login.aspx, are authenicated using a custom authentication logic and are then directed to input.aspx, where they enter some parameters and get response on output.aspx. If they try to access input.aspx without authenti...

How to enable guest trial tour on a website and import the guest data in when user registered.

I have a website need user login to save personal data. But I want to enable user a trial tour if he does not want to register it until he think he actucally need the website' services. 1) What should I do? 1.1) How to save his data before he register and login? I know to use cookies but my data maybe too large to be holded? 1.2) How ...

How to manage multiple accounts login and logout in different browser pages?

I have a website built on App Engine(Java) and need user use Google Account to login. The situation is that: User Adam has multiple accounts. User Adam login with account Adam1 and get his Adam1 data in browser page A. He clicked logout link, but opened it in another tab page B(the same browser of course) He login with another accoun...

How do I authenticate into Gmail using Perl?

I've installed this module to gain access and controls within a Gmail inbox. However, when I try to connect through a small Perl script and test the functionality, I get this error message. Error: Could not login with those credentials - could not find final URL Additionally, HTTP error: 200 OK This is an error built within the Gma...

Authenticating a single request with httpclient 4.x

I have an HttpClient instance that's shared by a number of threads. I would like to use it to make a single authenticated request. Because only the single request should be authenticated, I don't want to modify the HttpClient instance as described in the documentation. Here's what I've worked out instead, which isn't working. From what ...

django manual login and redirect

Hello I have such view that handles user registration. After creating new user i want to manually authenticate it and log it in.: def register(request): ... ... if form.is_valid(): username = form.cleaned_data['username'] password = form.cleaned_data['password1'] email = '' newuser = User.ob...

Authenticate user and using the ChangePassword Control

I have a webpage that a user logs into to. Now I want to provide the ability for a user to change their password using the ChangePasswork Control. The control does work as described here ChangePasswork Control for non-authenticated users. But I want to the behavior for authenticated users. I'm fairly new to asp so this could be a si...

Whats a valid strategy for a secure image upload from a flash client?

Hi all - I'm creating a flash application that will post images to a url for saving to disk/display later. I was wondering what are some suggested strategies for making this secure enough so that the upload is verified as coming from the application and not just some random form post. Is it reliable enough to check referring location r...

Authenticate username and password

I have a MMC client that runs on a .Net system, that invokes web methods on a server running on a linux box. The first task the client needs to do is to perform user login. It prompts the user for username and password. What is the best way for the client to authenticate the user's credentials. The password cannot be sent as plain te...

Authenticate with SharePoint's authenticate.asxm web service

Hi, I am trying to authenticate with the sharepoint authenticate web service in an account I have. I get an error saying NotInFormsAuthenticationMode. How do I change it from forms to none or windows? I tried with: myReference.Authentication auth = new myReference.Authentication(); myReference.AuthenticationMod...

Configuring Fiddler to use company network's proxy?

I'm trying to get Fiddler to work with my company's proxy. Every external request is returning 407. So far I've tried adding oSession.oRequest["Proxy-Authorization"] = "YOURCREDENTIALS"; to the customized rules where I used my USERNAME:PASSWORD in base64. Still no luck. Any ideas? Thanks. ...

Open a PHP page/initialize Session Variables Simultaneously?

Hello again! I'm pretty new to PHP and JSON/XML, but we're forging ahead. Our project entails logging in to a webservice (which we also built) from a handheld device and then accessing our website from that device. The point is to only allow users who have logged in on the handheld device to access the webpage. Now, I guess this does...

How to implement login functionality in an Android app safely?

Firstly, no OAuth or other things supported in the server-side, just a normal username-password database querying. I want to implement an android client for the web site. My questions are: How to login safely? with HTTPS? How to store user login information safely in the phone to make user login without any input in the next time. If ...

solution for mobile devices that will enable “device-only authentication for an 802.1X-based network

The http://support.microsoft.com/kb/929847/en-us describes the usage of registry entry to enable computer-only authentication for an 802.1X-based network and we are wondering if there is a similar solution for mobile devices that will enable “device-only authentication for an 802.1X-based network” for Windows Mobile based devices. ...

How to design a web api for mobile app usage?

We are building a mobile app, specifically an android app, and it needs to connect to the server to get data. It is not like twitter, we do not need to expose some kind of public apis. We just need to keep it simple and safe because user will exchange some private data with the server. My questions is mainly on authentication. Our serve...

How would I use PHP to authenticate with Linux users and passwords?

Say I wanted to create something like how cPanel works, it uses the username and password from the system. You can run 'passwd user' on the server, and the password would still work with cPanel and FTP (not necessarily MySQL, but you get the point) How would I accomplish this in PHP? I haven't the slightest idea, besides running /bin/...