USB Drive: Set Bootable, Lock/Password Protect Folders?
Jan 7, 2011is it possible to set pen drive as boot device through vb.net
View 9 Repliesis it possible to set pen drive as boot device through vb.net
View 9 RepliesI'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.
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.
What is wrong with this code...... it should remove all folders and files on the "J" drive i am using win7 and would like to just format the drive
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
My.Computer.FileSystem.DeleteDirectory("J:", FileIO.DeleteDirectoryOption.DeleteAllContents, FileIO.RecycleOption.DeletePermanently, FileIO.UICancelOption.DoNothing)
End Sub
End Class
How to lock a folder from application .net?
View 3 Repliesi need to password protect a folder in a way that just the wpf appliction that has created it can access it.
View 8 RepliesHow do you password protect a zip package?
View 6 RepliesI 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 RepliesI 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 RepliesHow 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]....
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].....
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 Repliesif 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 Repliesis 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...
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 RepliesI want to protect password database would not be seen in trace(vb.net)
View 4 RepliesIs 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 RepliesI'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 RepliesOK, 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.
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 RepliesI don't know the codes to lock the logical drive What it will be if anybody knows it
View 1 RepliesI'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.
How can I password protect my VB.NET project in Visual Studio 2005?
View 6 Repliesi 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 Replieshow do you lock a single file cuz people r accessing files that r private and help me with VB 2008 code
View 11 RepliesI need to search the drive for all folders named "Video_TS" and list the directories that they are in.
View 3 RepliesHow can I retrieve a list of all folders in a drive in VB.NET?
View 2 Replieshow can i list every folder on c: drive ,i can only work out two levels "folder/subfolder" code below
Dim dir As New System.IO.DirectoryInfo("C:\")
Dim dirs As IO.DirectoryInfo() = dir.GetDirectories()
Dim d As DirectoryInfo
For Each d In dirs
[code]....
i could go on forever adding for and next loop for subfolder?
I'm using the following code to get all of the files from a DVD drive and load them into a bindinglist and then a datagridview:
mAddBL.Clear()
'
Try
Dim dir As New IO.DirectoryInfo(Form1.m_DVDdrive & ":")
[Code]....
This shows all files and folder names on the disc. If I want it to show all files, regardless of the folder they're in, is there a built-in method to do that or do I need to take an entry, identify it as a directory and then use that as my source to read the files in it?
How would I Create a New .txt File & Lock it with a Password with VB8....?
View 5 Replies