- File Access
- Posted by Rahul on December 15th, 2003
Hi all,
I have some XML files that I am creating programmatically, and I
want to prevent these files from viewing by the users, but I need to
read these files in my program. I am using VB.NET to do this. Any
suggestions on how can I create files that are non-viewing
Thanks
- Posted by Programmer Dude on December 15th, 2003
Rahul wrote:
Since they are just text files, your only hope for doing this is
probably to play with file permissions.
If "works in many cases" is Good Enough, putting the files in hard
to find places might work. And name them something that doesn't
provide a clue to their content.
--
|_ CJSonnack <Chris@Sonnack.com> _____________| How's my programming? |
|_ http://www.Sonnack.com/ ___________________| Call: 1-800-DEV-NULL |
|_____________________________________________|___ ____________________|
- Posted by Willem on December 15th, 2003
Rahul wrote:
) Hi all,
) I have some XML files that I am creating programmatically, and I
) want to prevent these files from viewing by the users, but I need to
) read these files in my program. I am using VB.NET to do this. Any
) suggestions on how can I create files that are non-viewing
) Thanks
I would say that using a simple encryption is the best option.
Maybe there are encryption libraries available to VB.NET, otherwise devise
one of your own.
SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT
- Posted by CBFalconer on December 16th, 2003
Willem wrote:
Save them with a Microsoft proprietary backup system to some
medium. Upgrade the Microsoft system. The files will never be
viewed again.
--
Chuck F (cbfalconer@yahoo.com) (cbfalconer@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
- Posted by Jared Dykstra on December 17th, 2003
CBFalconer <cbfalconer@yahoo.com> wrote in message news:<3FDE41FC.97B0F2A5@yahoo.com>...
Are you able to simply create them under a different user and with the
proper filesystem permissions to prevent unauthorized users from
reading them? If you're trying to prevent someone with administrative
privilages from viewing it then encryption is your only option. Don't
reinvent the wheel though, use an encryption library.
---
Jared Dykstra
www.bork.org/~jared