passwords

How to implement dynamic changing password for this scenario?

What is the Best practice of dynamic changing password for this scenario? The scenario is: There are three web apps using ASP.NET. App1 checks the passwords of app2/app3 to authenticate the identity, and if app2/app3 is authenticated then app1 is allowed to receive information from App2 and App3. And app1 has to change the passwor...

Simple way to encode a string according to a password?

Does Python have a built-in, simple way of encoding/decoding strings using a password? Something like this: >>> encode('John Doe', password = 'mypass') 'sjkl28cn2sx0' >>> decode('sjkl28cn2sx0', password = 'mypass') 'John Doe' So the string "John Doe" gets encrypted as 'sjkl28cn2sx0'. To get the original string, I would "unlock" that ...

How to allow only english chars in textbox?

I want to allow only English characters to be typed in my asp:TextBox (in asp:Login conttrol). How can I do that? ...

with integrated windows authentication and asp.net, the user changes password and is prompted to login again. why?

I am working on an application that uses windows authentication. Within this application, we give the user the ability to change their password. The user can change the password just fine. However, after they change their password, that is when things get weird. Sometimes they can navigate through the application just fine. Other tim...

How Can I have a Flash AS3 Projector load protected content?

How Can I have a Flash AS3 Projector load protected images/mp3s/videos from a password protected server? I have a bunch of content in a password protected directory that I do not want people to access unless it is in my flash Projector. Is this possible? ...

Caching plaintext passwords in memory of WCF service

This probably sounds like a terrible idea at first glance, but here is my scenario: I have a Windows service that exposes several WCF endpoints using Username authentication. The custom authenticator will either look up the user's credentials in a local database (password is stored as salted SHA-1), or it will make a WCF request to ano...

Password Validation

Hi there. Using mysql and php Is there any reason / value when checking a password to query the database using the user name and password (after sanitizing, of course) and recording a failed attempt when no rows are returned vs querying the database using the user name and then comparing the return password string? EDIT: To those who ...

AD: ChangePassword, SetPassword and password requirements

If I try the following: using (DirectoryEntry user = new DirectoryEntry("LDAP://CN=myuser,OU=x,DC=y,DC=z")) { user.Invoke("ChangePassword", new object[] { "oldpwd", "newpwd" }); } I get an exception saying that the password does not meet password policy requirements (HRESULT: 0x800708C5). The strange thing is that the password doe...

C++ password masking

hi... i'm writing a code to receive password input. Below is my code... the program run well but the problem is other keys beside than numerical and alphabet characters also being read, for example delete, insert, and etc. can i know how can i avoid it? tq... string pw=""; char c=' '; while(c != 13) //Loop until 'Enter' is pressed { ...

GnuPG Shell Script - Refuses to read password

The script below used to work on Mac OS X, but, since moving it to Ubuntu, it doesn't seem to read from the password file at all. Even when I run it from the command line, no matter what I do, I get a popup prompt asking me for the password. As this will run via cron, I don't want this to happen... I want it to read the password from ...

Sql server backup with password

Hello, world. When we backup data in SQL server, i want a way to password protect it. Is there a way to do this without using third party tools ? ...

how to export google chrome passwords?

I want to export chrome passwords in xml or text file, is there a way out ? ...

Textbox with password properties in Netbeans

Hi, In netbeans it is possible to hide the type password in a textbox with **? thanks ...

Where are the real risks in network security?

Anytime a username/password authentication is used, the common wisdom is to protect the transport of that data using encryption (SSL, HTTPS, etc). But that leaves the end points potentially vulnerable. Realistically, which is at greater risk of intrusion? Transport layer: Compromised via wireless packet sniffing, malicious wiretapping,...

What's the recommended hashing algorithm to use for stored passwords?

Given the known weaknesses of MD5 and the recent (May 2009) weaknesses discussed in SHA1, how should new programs be salting & hashing their passwords? I've seen SHA-256 and SHA-512 suggested. Programming predominately in Ruby on Rails and using PostgreSQL -- but other languages and environments might also have to calculate password ha...

How to automaticly generate password if not provided with authlogic

Hi, everybody! I'm new on both this site and ruby on rails! I have a common installation of authlogic and want password to be generated automaticly for user registration if user did not set the password. What is the best way to do it? ...

Is is possible to determine a password input string as plaintext or hashed?

I have a RESTful API containing a URI of /UserService/Register. /UserService/Register takes an XML request such as: <UserRegistrationRequest> <Password>password</Password> <Profile> <User> <UserName>username</UserName> </User> </Profile> </UserRegistrationRequest> I have the following questions given the above sce...

Do passwords used for .htaccess need to be encrypted?

I am using .htaccess files to control access to various Apache2 directories. I have a main "password" file that contains usernames and passwords. All the instructions I have found regarding .htaccess talk about how the passwords added are encrypted. The usernames and passwords are created using the following command line syntax ... htpa...

PHP: Safe way to store decryptable passwords

I'm making an application in PHP and there is a requirement that it must be possible to decrypt the passwords in order to avoid problems in the future with switching user database to different system. Consider that it's not possible to modify this future system's password method and I need plain text passwords in order to have the passwo...

International keyboard and UITextField secure option

Hey, I have a UITextField in a .xib file with the secure option marked as YES. I have several international keyboards on my device. When the secure option is set to NO, I have no problem using all of the international keyboards on my device, but when it is set to YES, I am only able to use the English keyboard. Is there a way to an opt...