Password Protect Flash Drive In VB 2008?

Feb 8, 2010

lately, ive had a lot of free time and have been trying to password protect my flash drive in VB 2008. and ive figured out almost everything i want with it, but ive come to a bit of a roadblock. as of right now, ive got 2 accounts, but thats all ive done so far, because every account has like 3 if statements, and it would start to accumulate a bit of i made anymore. so, ive been looking into using a database, and having it retrieve the password and username from there. ive searched for hours, and have found a lot of little bits and pieces of code, but nothing that would work for my situation. Will somebody tell me how i would:

1: make sure that the password and username match in the database when i click the confirm button
2: add a new username and password to a database when they want to make their own account
3: save changes to the database when i log out and move to another computer

also, is there a simple way to log the date, time, IP address, and Username, put it in a text file, and email it to me? i would also like to know how to open a flash drive using its name, and not its letter, cause its a different drive letter on different computers.

View 15 Replies


ADVERTISEMENT

VS 2008 - How To Password Protect Flash Drives

Jan 29, 2010

Recently I've started experimenting with Visual Basic 2008, and just out of curiosity am trying to password protect my flash drives. (At the school I go to, it takes a couple seconds for things to disappear). So, I've got it to the point where I can have multiple "accounts" with their own passwords, ive got a lost password button, and a bunch of other stuff. But, anybody can just click out of it and go into the folder themselves, so I've been looking for a way to lock the focus on my password box. I've looked for hours and have found a lot of things that keep the focus on like a second form, so you cant go back to the first one, but I was still able to launch applications and things because the desktop was still active. I still haven't found one that keeps the focus locked on the first form and nothing else.

View 2 Replies

Password Protect External Hard Drive?

Oct 27, 2010

I'm interested in password protecting my external hard-drive. i know there is already programs that can do this but i want to make my own.

make a program that would at start-up pop up and make the user put the password if not then the partition will be set to hidden. also would be a good idea to set the partition hidden until user puts password.

View 1 Replies

USB Drive: Set Bootable, Lock/Password Protect Folders?

Jan 7, 2011

is it possible to set pen drive as boot device through vb.net

View 9 Replies

VS 2010 Security Dongle - Save The Password (md5 Encrypted ) On A Flash Drive?

Sep 15, 2011

i am having a mysql database that is having a password. so i am using it to login to the program. Is there a way to save the password (md5 encrypted i can do this) on a flash drive so i can access it from the program but the user can't access it.

View 17 Replies

VS 2008 - Copy Exe To Usb Flash Drive?

Jan 10, 2012

I have a program that I want to copy itself onto a USB flash drive or any other type of drive connected to the computer. Is it as simple as using the File.Copy method? Can I copy my own running exe?Basically I want them to copy it to a memory or external hard drive and then run it there on another computer. I'm not using any special controls and I know the framework will need to be on the computers it is run on.

View 1 Replies

VS 2008 Code To Release A USB Flash Drive?

Jan 23, 2010

I have an App where I update data on a USB Flash Drive and I'd like to add a button that would make it "safe to remove the drive." Is there vb code to execute or emulate the "Safely Remove Hardware" icon on the taskbar?

View 1 Replies

VS 2008 - Project - Saved It On A Flash Drive - Use From The Laptop

May 12, 2011

I have a project I wrote a while ago and saved it on a flash drive. I now have a laptop and wish to save it, and use from the laptop. How do I do that ?

View 1 Replies

VS 2008 - Auto-start Program From Flash Drive?

Sep 12, 2009

I have a USB flash drive I want to be able to plug into another computer and automatically start the program as soon as it is plugged in and started up, is there a way to do this?

View 8 Replies

How Can Read Data From USB Flash Drive Or Pen Drive

Sep 29, 2011

USB flash drive or pen drive in vb.net...

View 14 Replies

Password Protect A Folder?

Jun 5, 2009

i need to password protect a folder in a way that just the wpf appliction that has created it can access it.

View 8 Replies

Password Protect A Zip Package?

Jun 7, 2010

How do you password protect a zip package?

View 6 Replies

Php - Password Protect A Folder?

Apr 17, 2010

I am trying to create a similar way to Cpanel password protect directory, where a pop up comes out asking the user for a username and a password, but Cpanel way is amazing but my client doesn't know anything on how to do that, so i wanted to create a pop up msgbox informing the visitor to enter a user name and a password, and i totaly confused on how to create it, and which programming language support similar to CPanel

View 2 Replies

Zip And Password Protect A File Using .net?

Aug 23, 2010

I have a backup file of SQL database 'Backup.Bak' and i want to zip this backup file password protected after the backup is done. with password protection And i dont have to use any 3rd party tool or dll.

View 6 Replies

GZipStream Zip File Password Protect?

Dec 13, 2010

How can i password protect my zip file?

i have the code below i got from the net but the problem is no code to protect file the file

Public Function CompressFile(ByRef file As String, ByRef destination As String) As String
'Make sure user provided a valid file with path

[Code]....

View 2 Replies

How To Password Protect An Accdb File

Jan 15, 2012

I have successfuly created an access database with vb.net accept it is not password protected. password protect this DB. Here is the code I use.

Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click
Try

[Code].....

View 2 Replies

Is It Possible To Password Protect An Accdb File

Jan 11, 2012

I'm creating an access DB with vb code.I would also like to encrypt it with a password using code.If it is possible can someone show me how.here is the code I have to create the DB.[code]

View 4 Replies

Password Protect A Folder In Vista?

Jun 27, 2009

if it is not possible to password protect a folder in Vista how it comes that exist some application specifically designed to lock folders? How do they managed to achieve something that should be impossible? Why there is not a function in vb.net that allows to lock folders?

View 8 Replies

Password Protect A Windows Folder?

May 19, 2009

is it possible to have my app protect a folder's files from being viewed by other users. like, if i set the command to protect a folder, then if anyone tries to access that folder will be prompted with a msgbox.

it probably means having a separate app loading at windows startup and constatly running in the background to make sure that folder isn't being accessed.
so much work to do and so many choices to choose from...

View 14 Replies

Protect Database Password In The .net Executable?

Jul 28, 2010

we have a distributed database application, the database is encrypted and password protected. I need to use the password to access the data in my .net code. my question is, people can see my password in the connection string in the executable, what can i do to protect it?

View 3 Replies

Protect Password Database Would Not Be Seen In Trace?

Dec 14, 2011

I want to protect password database would not be seen in trace(vb.net)

View 4 Replies

How To Password Protect A Folder And Access It Programtically

Sep 4, 2009

Is it possible to password protect a folder and access it programatically .I.e if i password protect a folder eg C: emp .Files should not be listed by any sort of means like typing the path in run mode c: emp should not be listed only after applying password it should get listed.

View 1 Replies

Protect A Library Class Through A Login And Password?

Mar 19, 2012

I've created a library class in vb.net that obtains some data from a database. This dll can be used by other apps so I want to protect the access to this dll's methods by using a login and password. How can I implement this?

View 2 Replies

VB 2010 - ScreenSaver With A Password To Protect Computer

Nov 18, 2011

OK, so, I made a program that locks the computer with a password, to help you protect data from other people. It's quite simple, you open the program, it shows up in full screen, "To access this computer please type in the password"....etc.

BUT, I want it to have a "Guard". To make it act like a screen saver does. That's my plan: So, you typed in the password, and close the program. And then, if you didn't move your mouse, or press a key, or you're not watching a movie, for more than 6 minutes, I want it to automatically launch the program. Until now, I've just put in Form2.Show in the Form1's (which is the password-protect program) FormClosing class. I also made the Form2 on Full Screen, and it's opacity to 0%. That's where you will move your mouse. I made all the code until now, but I need code for making it act like a screen saver.

View 1 Replies

Password Protect A Single Form In A Winforms Application?

Nov 21, 2011

I've a winforms application that is using SQLite database. There is no encryption on the database (data has to be shared with other user). It is a stand alone application with a stand alone local database.

The difficulty I'm encountering is when people go to bring all the data together.The databases are attached, data imported, but records are differentiated by a database GUID.At any rate I am desiring to have a database selection screen that is protected by a password to prevent users mistakenly switching databases (and some level of protection against malicious use).

Thinking it's probably not a particularly good idea to store the password in an unecrypted database.Security is not a large issue as this is only distributed to users that need the software.

What would be the best method to have the user type a password when they attempt to access the database selection screen? ShowDialog? Pop open a new child form with a password TextBox, then on validation (via button?) close the password form and open the protected form?I see a fair bit about protecting a whole application, but not so much about a specific form.

View 1 Replies

Password Protect Project In Visual Studio 2005?

Aug 26, 2009

How can I password protect my VB.NET project in Visual Studio 2005?

View 6 Replies

Forms :: FYI AES 256 Encryption And Password Protect Files For Distribution Via Email

Apr 30, 2011

i have created a VB.net application which can be used as a BO scheduler substitute for sending refreshed report copies. These copies are AES 256 encrypted and password protected.

View 2 Replies

Flash Drive As Access Key

Nov 15, 2011

how to code an administrator and non-administrator account in VB.net to authenticate a specific user account when mounting his removable device? what will we use, to provide a special key on a specific flash drive?

View 1 Replies

How To Detect USB Flash Drive

Feb 27, 2007

I am making a program that will allow a user to use any USB flash drive as a key, that when inserted, will automatically (upon validation, of course) enter login and password data into web forms, applications, and maybe even Windows Logon. But first things first: how to I detect when a USB key is inserted into the drive, for instance, perhaps just detect the last/latest inserted drive?

In addition, does anyone know if there is a way to directly identify a flash drive, maybe based on a serial number?, rather than validating it from a file on the device?

View 15 Replies

Make Flash Drive Something Like A Key

May 2, 2011

I'm wondering if you it is possible to make your usb flash drive to be like a key for your vb.net program I can't really put it into word the description of it so I will site an example here's my scenario my program has a textbox where you put the password on it to make the program usable but i want instead of typing on it you insert your flash drive and it will automatically insert the password in the textbox and make the program usable.

[Code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved