468,170 Members | 2,174 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,170 developers. It's quick & easy.

How to password protect a folder or similar

Hi,
I developed an aplication for an autoservice Kiosk, witch will be
rented to customers. I want to lock a folder where sensitive files will
reside, something like a password. Encryption will not work because the
files are many and are big (25Mb aprox every file).

Any suggestion will be really apreciated,

Greetings,
Alejandro Katz

Jun 23 '06 #1
5 3208
Anybody there ?
al*****@gmail.com ha escrito:
Hi,
I developed an aplication for an autoservice Kiosk, witch will be
rented to customers. I want to lock a folder where sensitive files will
reside, something like a password. Encryption will not work because the
files are many and are big (25Mb aprox every file).

Any suggestion will be really apreciated,

Greetings,
Alejandro Katz


Jun 27 '06 #2
On 27 Jun 2006 14:51:10 -0700, al*****@gmail.com wrote:
Anybody there ?
al*****@gmail.com ha escrito:
Hi,
I developed an aplication for an autoservice Kiosk, witch will be
rented to customers. I want to lock a folder where sensitive files will
reside, something like a password. Encryption will not work because the
files are many and are big (25Mb aprox every file).

Any suggestion will be really apreciated,

Greetings,
Alejandro Katz


Do you need to access the folder from the application? If not you could
use windows file permissions and set the folder to be encrypted by the
OS.
Jun 27 '06 #3
Is there a way to protect a folder from a VB.NET application???

Aristotelis

? "Chris Chilvers" <ke****@dynafus.com> ?????? ??? ??????
news:8o********************************@4ax.com...

On 27 Jun 2006 14:51:10 -0700, al*****@gmail.com wrote:
Anybody there ?
al*****@gmail.com ha escrito:
Hi,
I developed an aplication for an autoservice Kiosk, witch will be
rented to customers. I want to lock a folder where sensitive files will
reside, something like a password. Encryption will not work because the
files are many and are big (25Mb aprox every file).

Any suggestion will be really apreciated,

Greetings,
Alejandro Katz


Do you need to access the folder from the application? If not you could
use windows file permissions and set the folder to be encrypted by the
OS.

Jun 28 '06 #4
Hi, Chirs,
Thanks for your replay,
Yes I have to access the folder from my application.

Greetings,
Alex
Chris Chilvers ha escrito:
On 27 Jun 2006 14:51:10 -0700, al*****@gmail.com wrote:
Anybody there ?
al*****@gmail.com ha escrito:
Hi,
I developed an aplication for an autoservice Kiosk, witch will be
rented to customers. I want to lock a folder where sensitive files will
reside, something like a password. Encryption will not work because the
files are many and are big (25Mb aprox every file).

Any suggestion will be really apreciated,

Greetings,
Alejandro Katz


Do you need to access the folder from the application? If not you could
use windows file permissions and set the folder to be encrypted by the
OS.


Jun 28 '06 #5
Can the files be split into chunks so that you only have to encrypt the
sensitive section of the file (like encrypting connection strings within
a config file).

Do you want to lock this data from the client? If so you have the
trouble that you can't trust the OS as the client could find a way to
gain admin rights on the PC if they want to, then they can view/do
anything they like.

The one trouble you have with the setup is if you want to encrypt this
data so the customers can't see it, there is no way to 100% stop them.
This is the same trouble they have with media, they want to encrypt it,
but the user's machine needs to be able to decrypt it. In the end you
are simply giving them the data encrypted with the key to decrypt it,
not much you can do to stop that.

If it's just the user's you're worried about then the only reliable way
I can think of them not being able to access the data is if the app was
split into two sections.

The first section would be the app that the user uses, this contains
none of the secure code and runs with minimal access rights.

The second section runs with elevated access rights as a service. This
service will have read access to the protected files (this can be setup
using ntfs permissions).

Now the user land side of the app cannot access the secure files, but
the service app can. Thus the user land app needs to send requests to
the service to have it process what ever needs this secure data. The
service can then return the results back (but not the contents of the
secure files).

This is making the process more complex however, so you'll have to
evaluate what part of the system it is you don't trust and is the effort
required to fix it worth what it is you're protecting. Such as above
where if the people you don't trust to gain access to this information
can remove the hdd, etc. then there isn't much you can do to stop them
accessing the information if they really want to (and have the machine
accessible anonymously).

On 28 Jun 2006 10:35:02 -0700, al*****@gmail.com wrote:
Hi, Chirs,
Thanks for your replay,
Yes I have to access the folder from my application.

Greetings,
Alex
Chris Chilvers ha escrito:
On 27 Jun 2006 14:51:10 -0700, al*****@gmail.com wrote:
>Anybody there ?
>
>
>al*****@gmail.com ha escrito:
>
>> Hi,
>> I developed an aplication for an autoservice Kiosk, witch will be
>> rented to customers. I want to lock a folder where sensitive files will
>> reside, something like a password. Encryption will not work because the
>> files are many and are big (25Mb aprox every file).
>>
>> Any suggestion will be really apreciated,
>>
>> Greetings,
>> Alejandro Katz


Do you need to access the folder from the application? If not you could
use windows file permissions and set the folder to be encrypted by the
OS.

Jun 29 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by WindAndWaves | last post: by
3 posts views Thread by Narlen | last post: by
4 posts views Thread by sunniyeow | last post: by
1 post views Thread by Tull Clancey | last post: by
5 posts views Thread by nick | last post: by
22 posts views Thread by teejayem | last post: by
1 post views Thread by gcdp | last post: by
reply views Thread by kamranasdasdas | last post: by
reply views Thread by gcreed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.