passwords

2-way encryption from int into a short string

Hi guys. I'm building a tiny webapplication in which our customers can update some details about their company. The customers currently don't have a login/password and we don't want to validate their registration, so we want to give them a automaticly generated password/key to login to the website. Our plan to encrypt their customerId ...

'Phone' style password entry with javascript

I am looking to improve the accessibility of a site for very young children. As their keyboard skills are quite poor, we get alot of complaints that entering passwords without being able to see the characters is too hard for them. I wouldn't like to have a password completely unmasked but I was thinking of maybe using the cell phone sty...

batch file which checks an entered text with text from a .txt file

I like to have a batch file which checks if an entered text in a .txt file is the same. Something like this...: @echo off Set pass= set /p pass=Enter your password: ...... ...... the .txt file is pass.txt and it should look something like this: p2342ddd3 So what i want it to do, that an user have to type in the text from the p...

Masking password from user in HTML Webforms.

I'm working on a weblog application in php and javascript. I use windows live ID for authentication. The user needs to provide a password for windows live writer because live writer can't use live id. I want to enable the user to edit his password in an html webform. although the password is typed into a password field showing only *, ...

Password Protecting an Excel file in C#

Does anyone know the syntax for this? I've been looking everywhere and all I can find is C++ code for this. I'm trying to password protect an excel file programatically using the System.IO.Packaging namespace. Any ideas? Additional notes: I'm NOT using the Excel interop--but instead the System.IO.Packaging namespace to encrypt and...

Visual Studio 2005 - OleDbConnection throws "Invalid authorization specification" in Form Designer, how to avoid supplying a username/password?

I have a form with an OleDbConnection object on it. This form fails to load in the Form Designer with the message: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Invalid authorization specification ...

Batch file: Password Stars/Circles

Like you already know, websites have certain special chars for passwords, like stars and circles. Could this be possible in a batch file, on the following one:? If this is not possible, if you type it in, could you just see nothing? set pass= set /p pass=Enter your password: if {%pass%}=={} goto :begin set authenticated= for /f "toke...

Is there a secure way to remove a user field from a login dialog?

Browsing through Coding Horror, I saw this article on removing the user field from a login dialog. It's an interesting concept albeit an old one from 2005. Nevertheless, I started thinking about it and wondered: How would you be able to do this in a secure fashion? If you identify the user by their password that means all passwords m...

Html input control for passwords - not showing no of characters typed or showing spaces instead of dots

Is is possible to use the password element in html input type="password" in a mode whereby one dosn't show the characters types as asterixes/circles but as spaces/nothing so noone would know the length of the password. ...

Supplying credentials safely to a RESTFUL API

Hello, I've created a RESTful server app that sits and services requests at useful URLs such as www.site.com/get/someinfo. It's built in Spring. However, these accesses are password protected. I'm now building a client app that will connect to this RESTful app and request data via a URL. How can I pass the credentials across? Currently...

Enter password multiple times

I am running an application, which prompts for a password of the user about a dozen times :-( I tried using expect to circumvent this issue, and make it run in auto mode, but am unable to get over the issue of the multiple times password, which is not exactly static. Sometimes it asks 4-5 times and sometime around 9-10 times. Is there a...

How to best store user information and user login and password

I'm using Mysql and I was assuming it was better to separate out a users personal information and their login and password into two different tables and then just reference them between the two. Note : To clarify my post, I understand the techniques of securing the password (hash, salt, etc). I just know that if I'm following practices ...

Password Strength Meter

I have a situation where I would like to be able to rate a users password in the web interface to my system, so that before they hit submit they know if they have a bad password. Key Requirements: Must be able to rate the password, not just pass/fail. Should disable the form if the password is below a threshhold, so the user can't sub...

How to Recover or Reset SSIS Package Password?

I have a few SSIS packages that were password-protected (their protection level is apparently EncryptAllWithPassword) by a developer who left the company and can't be reached anymore, and trying to open them gives the following error since the password can't be supplied: Error loading 'Package.dtsx' : Failed to remove package protect...

Disabling Browser's "save password" feature on auth failure

I'm looking for a server-side implementation to disable a browser from saving invalid login credentials. For example, user "foo" logs in with password "bar". Browser asks foo if he wants to save the password. However, foo's password is actually "baz" and therefor would be saving the incorrect password. I've tried manipulating the HTTP c...

Storing plain text passwords

Hi, I'm working on an AIR application with a web back end. I need to store passwords for other websites (like how some websites do). What is the best way to store those passwords and transfer them between the PHP back end and the AIR application? Thanks, ...

Accessing CPanel and Plesk password via custom module.

I am making a custom CPanel and Plesk module that assists in logging into a Web application using the user's login and password for CPanel and Plesk. How would I use the module's API calls to retrieve the password? Thanks. ...

PasswordRecovery using email instead of UserName

Hello, Rather than forcing users to remember a UserName, I would rather have them enter their email address and have the password reset and sent to them. I am using ASP .Net PasswordRecovery control under the membership provider. Right now the system works fine, it resets the password and sends to the user. However, I find that many ...

Obfuscate strings in Python

I have a password string that must be passed to a method. Everything works fine but I don't feel comfortable storing the password in clear text. Is there a way to obfuscate the string or to truly encrypt it? I'm aware that obfuscation can be reverse engineered, but I think I should at least try to cover up the password a bit. At the very...

Mark data as sensitive in python

Hi, I need to store a user's password for a short period of time in memory. How can I do so yet not have such information accidentally disclosed in coredumps or tracebacks? Is there a way to mark a value as "sensitive", so it's not saved anywhere by a debugger? ...