Home All Groups Group Topic Archive Search About

Password protecting a folder.

Author
18 Mar 2006 9:45 AM
Tull Clancey
Hi all.

I have an app that needs to create a folder off the installation folder,
this is not a problem.  But, I need to password protect this folder so only
the application can get access to the data stored there.

Of course a user can add a password to a foler, but how can I do this from
within my code, then how would I open a file within this password protected
folder?

Is this possible?

Cheers,
Tull.

Author
19 Mar 2006 8:25 AM
I Don't Like Spam
Tull Clancey wrote:
Show quoteHide quote
> Hi all.
>
> I have an app that needs to create a folder off the installation folder,
> this is not a problem.  But, I need to password protect this folder so only
> the application can get access to the data stored there.
>
> Of course a user can add a password to a foler, but how can I do this from
> within my code, then how would I open a file within this password protected
> folder?
>
> Is this possible?
>
> Cheers,
> Tull.
>
>

Locking the user out of a directory on his own computer is not a cool
thing.  You should find some other way to protect your data, such as
encrypting the file.

Chris