Click here to Skip to main content
15,928,734 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionquery related to vb Pin
Ms. Shaheen25-May-07 1:59
Ms. Shaheen25-May-07 1:59 
AnswerRe: query related to vb Pin
Carter Langley25-May-07 2:21
Carter Langley25-May-07 2:21 
Questionquery related to vb Pin
Ms. Shaheen25-May-07 1:58
Ms. Shaheen25-May-07 1:58 
AnswerRe: query related to vb Pin
Kschuler25-May-07 7:47
Kschuler25-May-07 7:47 
Questionhow to add state property Pin
d_smit25-May-07 0:41
d_smit25-May-07 0:41 
AnswerRe: how to add state property Pin
Dave Kreskowiak25-May-07 3:21
mveDave Kreskowiak25-May-07 3:21 
Questionpassword protection [modified] Pin
Sonia Gupta25-May-07 0:17
Sonia Gupta25-May-07 0:17 
AnswerRe: password protection Pin
Dave Kreskowiak25-May-07 3:16
mveDave Kreskowiak25-May-07 3:16 
Nilish wrote:
can i protect my files by applying the password


If you were talking about password protecting any file, not just your own application, then no, you cannot do this. This requires writing a low-level file system extension to support this, writing a database manager to hold all of the passwords, writing a utility to manage the password database, and finally, comming up with a method to recover a file if the user ever forgets the password (like that ever happens! Laugh | :laugh: )

This requires a blackbelt in Windows internals and NTFS. No, there is no guide to walk you through something like this.


If you were talking about protecting the data files of your own application, then you'd have to code this into your app. You could encrypt the file with the password making it look like a pile of junk if opened in something like Notepad. This will NOT stop any other application from opening the file! It just encrypts the data in it!



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


QuestionBackup Dbs in vb.net Pin
gitasnr24-May-07 23:54
gitasnr24-May-07 23:54 
AnswerRe: Backup Dbs in vb.net Pin
Colin Angus Mackay25-May-07 0:07
Colin Angus Mackay25-May-07 0:07 
GeneralRe: Backup Dbs in vb.net Pin
gitasnr25-May-07 0:19
gitasnr25-May-07 0:19 
GeneralRe: Backup Dbs in vb.net Pin
Dave Kreskowiak25-May-07 3:10
mveDave Kreskowiak25-May-07 3:10 
GeneralRe: Backup Dbs in vb.net Pin
Colin Angus Mackay25-May-07 8:03
Colin Angus Mackay25-May-07 8:03 
GeneralRe: Backup Dbs in vb.net Pin
Dave Kreskowiak25-May-07 11:56
mveDave Kreskowiak25-May-07 11:56 
GeneralRe: Backup Dbs in vb.net Pin
Johan Hakkesteegt28-May-07 3:01
Johan Hakkesteegt28-May-07 3:01 
Questionmy.appliation.command line arguments in vbnet Pin
Sonia Gupta24-May-07 23:31
Sonia Gupta24-May-07 23:31 
AnswerRe: my.appliation.command line arguments in vbnet Pin
Colin Angus Mackay25-May-07 0:00
Colin Angus Mackay25-May-07 0:00 
GeneralRe: my.appliation.command line arguments in vbnet Pin
Sonia Gupta25-May-07 0:14
Sonia Gupta25-May-07 0:14 
QuestionOpening Image in Vb from SQL database Pin
Dileep_Vickey24-May-07 23:12
Dileep_Vickey24-May-07 23:12 
AnswerRe: Opening Image in Vb from SQL database Pin
MhmdSherin24-May-07 23:31
MhmdSherin24-May-07 23:31 
AnswerRe: Opening Image in Vb from SQL database Pin
Syed Ali Raza25-May-07 2:48
Syed Ali Raza25-May-07 2:48 
GeneralRe: Opening Image in Vb from SQL database Pin
Dileep_Vickey27-May-07 23:38
Dileep_Vickey27-May-07 23:38 
GeneralRe: Opening Image in Vb from SQL database Pin
Dileep_Vickey27-May-07 23:44
Dileep_Vickey27-May-07 23:44 
AnswerRe: Opening Image in Vb from SQL database Pin
Syed Ali Raza29-May-07 0:23
Syed Ali Raza29-May-07 0:23 
GeneralRe: Opening Image in Vb from SQL database Pin
Syed Ali Raza29-May-07 1:01
Syed Ali Raza29-May-07 1:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.