passwords

How to generate random password with PHP?

Or is there a software to auto generate random passwords? ...

Unmasking a password field in windows.

I know there are many 3rd party applications that provide this functionality. I'm wondering how they work. Is it not simply enough to just send the EM_SETPASSWORDCHAR message to the passworded control with a wParam value of 0? This is what the Windows SDK says about the wParam: wParam The character to be displayed in place of ...

What's easier to encrypt on iPhone: Core Data or Property Lists?

What type of persistent data storage would be easier to encrypt on the iPhone- core data, or property lists? By "easier" I mean require less time and complicated steps to implement. ...

Secure Password Hashing

I need to store a hash of a single password in a .Net WinForms application. What's the most secure way to do this? In particular: Salt, HMAC, or both? How much salt? How many iterations? What encoding? (The password is plain ASCII) I assume that the algorithm should be either SHA512 or HMACSHA512. ...

How to cache SSL client certificate password in client application using libcurl

We have a (multi-os) application which communicates with a https server using libcurl and uses SSL client certification. When the client certification is password protected, the application must ask the user to input password. The application sends hundreds of different https request to the server, so we can not ask the user to input pas...

reusable "save credentials" dialog (like IE's or Vista's) in .NET or Win32

Lately I've been working in an office with a wireless network which uses an annoying authentication scheme: every few hours, you need to open up a browser and type a username/password into an authentication web page, or you lose network access. (When the time expires, your next browser request will redirect to the auth page, and if your ...

retrieve users information from facebook

i'm a newbie at this and i'm aware of Facebook connect. but is there an API that allows me to accept a user's USERNAME and PASSWORD? I develop with ASP.NET/C# ...

Has anyone used Buzz Andersen's Simple iPhone Keychain code?

You can find it here. I'm trying to understand his sample code in order to write a simple program with that stores passwords into the keychain and retrieves them for login. Has anyone done this before? It would be most appreciated if I can see any examples you may have. ...

Label for password field

<input type="text" value="useraname" /> <input type="password" value="password" /> I'm using jQuery to make the inline labels disappear on click/focus. Password shows bulls as usual, but I wonder if its possible somehow to show "Password" label as text (instead of ••••) inside the password field? Edited to add: I want the user-typed p...

<input /> type conversion (jQuery)

I have this: <input type="text" value="Enter Password" class="password" /> ... onclick/onfocus, I'd like to change the input type to 'password' and value removed, like so: <input type="password" value="" class="password" /> This doesn't seem to work: $('input.password').click(function () { $(this).attr('type', 'password'); ...

Read User Input from Tomcat startup

I have a Tomcat application that requires multiple passwords on startup. My current configuration uses a Java Properties object to load in the passwords from a password.conf file. There's now a requirement that no passwords are allowed in 'the clear' on the system. I had suggested encrypting the password file, but this isn't an option. ...

Which hash function is currently a good choice for passwords?

Hi, Some hash functions are today not as safe as they were some years ago. Which hash function would currently be a good choice for hashing passwords? Thanks in advance. ...

How do I change my password in multiple Oracle databases?

Is there a tool that allows me to change my password in multiple Oracle databases? It expires every month and I would like to change them all simultaneously. ...

How can I pass my ID and my password to a website in Python using Google App Engine?

Here is a piece of code that I use to fetch a web page HTML source (code) by its URL using Google App Engine: from google.appengine.api import urlfetch url = "http://www.google.com/" result = urlfetch.fetch(url) if result.status_code == 200: print "content-type: text/plain" print print result.content Everything is fine here, ...

How do I reset password retry count for a user in the gpu using C#

Hi, I'm using this piece of code : // create a "principal context" - e.g. your domain (could be machine, too) PrincipalContext pc = new PrincipalContext(ContextType.Domain, "YOURDOMAIN"); // validate the credentials bool isValid = pc.ValidateCredentials("myuser", "mypassword") to check for user passwords in the GPU. But I heard that...

Best way for storing a static password on an automated client

I'm building a system that consists of many clients connecting to a server. The clients automatically push data to the server via a web service call. I've built an authentication mechanism in order for the clients to authenticate with the server so only authenticated clients can upload data. The problem is that I've hardcoded the passw...

Read https url from Python

How do you open https url in Python? import urllib2 url = "https://user:[email protected]/path/ f = urllib2.urlopen(url) print f.read() gives: httplib.InvalidURL: nonnumeric port: '[email protected]' Thanks in advance, Etam. ...

Script to test for correct certificate database password

Hello, I'm attempting to write a bash routine that tests whether or not a user's input is the correct password to my certificate database. Originally I imagined I'd first execute a benign certutil or pk12util operation on the certificate database that required a password. Then test the return code to see if it was successful. However,...

Multi User Password Manager Security Strategy

I am considering creating my own web based, multi user password management software. The basic question that comes up is, what strategy will I use for secure storage and retrieval of passwords? Obviously, I don't want to store information in clear text. Should I encrypt/decrypt on the database server, web server, client (javascript), o...

asp.net membership users with passwords and those without

I am trying to find a way to handle two types of users for an intranet system. There are users who login and there are those who do not. I need to store both types of users in the membership db. Does anyone have a common solution to this problem? This is for an event booking system. The users who are in AD will see the app. We need to s...