Code covered by the BSD License  

Highlights from
login

4.58333

4.6 | 12 ratings Rate this file 68 Downloads (last 30 days) File Size: 3.63 KB File ID: #8499
image thumbnail

login

by Jeremy Smith

 

17 Sep 2005 (Updated 28 Jan 2010)

Login dialog with asterisk hidden password.

Editor's Notes:

This was a File Exchange Pick of the Week

| Watch this File

File Information
Description

This is a login dialog which replaces all characters typed into the password area with asterisks. Both the login and password are returned by the function as strings.

Version information can be found in the m-file. Examples can be found in the m-file help.

Note: The password is only visually hidden. While the dialog is active it is stored in the Userdata of the password edit box.

Acknowledgements
This submission has inspired the following:
TxtMsg Create, passwordEntryDialog
MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (14)
19 Mar 2006 ANAND RANGARAJAN

GOOD ONE, GOT WHAT I WAS LOOKING FOR

23 May 2006 Nhan Nguyen Thanh

Thank you very much!

10 Jun 2006 Ankul Batra

nice work Jeremy :).......

26 Jul 2006 Athiya Sulthana

My PC has Matlab ver 7.0.1 and this does not work...Dispalys an error and could not understand how to trouble shoot it. Hope u would help me in this regard....

28 Jul 2006 Jeremy Smith

There is a problem with this script for versions of Matlab before 7.1. The functionality of the 'cellfun' function changes so if you delete lines 45-48 it'll work as it should. Those lines are just responsible for some error checking.

18 Mar 2007 Luigi Rosa

Nice and useful application

30 Aug 2007 Hoi Wong

'Esc' key counts as a blank character. Is there any way to avoid that? Thanks for the great program

28 Feb 2008 Austin Karathra

hi this is a good work.
But i cant run the code and it doesnt work for me in matlab6p1.
is it require an another version.

21 Jul 2008 Engr.Mohsin Khan

its help full but how to interface it with other GUI its good but how to utilizes with others

22 May 2009 Ashwini

Good one, it helped me a lot ..

19 May 2010 Srikanth Sridharan

Hi. Great program, it works like a charm. However, I noticed that when I used it to input access details for a database (using the database command) I needed a little pause between using your code and creating the database object - otherwise Matlab (2009b) hangs.

18 Jan 2011 Kent Conover

This function may not be secure for the beta release R2011a because the password is not obscured as it is typed. (Mac OSX 10.6.6).

09 Aug 2011 Kyle

File works perfectly. Just have to remembers to clear the username and password before saving anything so that no one can get a hold of your information.

12 Jan 2012 Gael Dupire  
Please login to add a comment or rating.
Updates
26 Sep 2005

Added improvements and cleaned it up. See the script for a list of changes.

07 Jul 2006

-Tab no longer triggers the OK button in the password box
-Improved the script help
-Removed horizontal alignment from buttons
-Added the option to display only the password box

07 Jul 2006

-Tab no longer triggers the OK button in the password box
-Improved the script help
-Removed horizontal alignment from buttons
-Added the option to display only the password box

28 Jan 2010

Fixed typo and some issues with Escape.

Tag Activity for this File
Tag Applied By Date/Time
gui tools Jeremy Smith 22 Oct 2008 08:00:17
example Jeremy Smith 22 Oct 2008 08:00:17
login Jeremy Smith 22 Oct 2008 08:00:17
password Jeremy Smith 22 Oct 2008 08:00:17
gui Jeremy Smith 22 Oct 2008 08:00:17
hidden Jeremy Smith 22 Oct 2008 08:00:17
asterix Jeremy Smith 22 Oct 2008 08:00:17
asterisk Jeremy Smith 28 Jan 2010 11:35:31
gui sangita patil 19 Mar 2010 09:44:57
asterisk PKM 27 Mar 2010 22:31:00
gui moon Topia 11 Apr 2010 08:33:58
login moon Topia 11 Apr 2010 08:34:06
login Saket Kumar 21 Apr 2011 18:36:20
password Saket Kumar 21 Apr 2011 18:36:43
asterisk ramiya mapkhanzah 13 Jul 2011 02:16:49
asterisk muni sravanth 09 Feb 2012 12:16:53

Contact us at files@mathworks.com