save an xml file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rodchar

    save an xml file

    hey all,

    i was wondering once i save my xml file to a folder what would be my options
    to make sure that file is encrypted? i guess what would be some different
    ways to handle this is what, i (a true beginner), am trying to ask.

    thanks,
    rodchar
  • Cor Ligthert

    #2
    Re: save an xml file

    Rodchar,

    A real amazing question. XML is a format created to make it open for every
    data exchange.

    Than you ask "how can I encrypt it". The most simple form to encrypt a file.
    Use a zipfile with a password, although that is easy to decrypt, or make it
    yourself using a streamwriter with an encoding technique.



    However just my thought,

    Cor



    Comment

    • Carlos J. Quintero [.NET MVP]

      #3
      Re: save an xml file

      One approach is to encrypt the xml document in memory and save the encripted
      result in a file (which won´t be a xml file). On load, do the reverse. Look
      ..NET cryptography at


      --

      Carlos J. Quintero

      MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
      You can code, design and document much faster.
      MZ-Tools has a single goal: To make your everyday programming life easier. As an add-in to several Integrated Development Environment (IDEs) from Microsoft, MZ-Tools adds new menus and toolbars to them that provide many new productivity features.



      "rodchar" <rodchar@discus sions.microsoft .com> escribió en el mensaje
      news:DA17E60C-8D22-43E0-B62C-BF704A8B3E99@mi crosoft.com...[color=blue]
      > hey all,
      >
      > i was wondering once i save my xml file to a folder what would be my
      > options
      > to make sure that file is encrypted? i guess what would be some different
      > ways to handle this is what, i (a true beginner), am trying to ask.
      >
      > thanks,
      > rodchar[/color]


      Comment

      • rodchar

        #4
        Re: save an xml file

        thanks for the help.

        "Carlos J. Quintero [.NET MVP]" wrote:
        [color=blue]
        > One approach is to encrypt the xml document in memory and save the encripted
        > result in a file (which won´t be a xml file). On load, do the reverse. Look
        > ..NET cryptography at
        > http://msdn.microsoft.com/library/de...icservices.asp
        >
        > --
        >
        > Carlos J. Quintero
        >
        > MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
        > You can code, design and document much faster.
        > http://www.mztools.com
        >
        >
        > "rodchar" <rodchar@discus sions.microsoft .com> escribió en el mensaje
        > news:DA17E60C-8D22-43E0-B62C-BF704A8B3E99@mi crosoft.com...[color=green]
        > > hey all,
        > >
        > > i was wondering once i save my xml file to a folder what would be my
        > > options
        > > to make sure that file is encrypted? i guess what would be some different
        > > ways to handle this is what, i (a true beginner), am trying to ask.
        > >
        > > thanks,
        > > rodchar[/color]
        >
        >
        >[/color]

        Comment

        Working...