XML HIDDEN DATA??
Hi all,
Im new to XML, and i was wondering if i can have some elements within an
xml document 'hidden' from anyone that uses a browser or notepad to see it?
for example in the following, i would NOT want the user to read/change the
value for "id"
<entry>
<id>1</id>
<address>LA</address>
<location>AMERICA</location>
</entry>
[439 byte] By [
Tech] at [2007-11-9 15:29:01]

# 1 Re: XML HIDDEN DATA??
No. XML is just a text file. If you write a text file to disk, anyone can
view/edit it with any text editor. You could encrypt the file and save it
with some other extension though. The encryption wouldn't prevent people
from changing the file, but it would prevent them from seeing the
information you don't want them to see. The changed extension would prevent
the file from opening autmatically in IE or via Windows Explorer. Note that
none of this is completely "safe", but the combination will discourage all
but serious hackers.
"Tech" <loq@hotmail.com> wrote in message
news:3efab509$1@tnews.web.dev-archive.com...
>
>
> Hi all,
>
> Im new to XML, and i was wondering if i can have some elements within an
> xml document 'hidden' from anyone that uses a browser or notepad to see
it?
>
> for example in the following, i would NOT want the user to read/change the
>
> value for "id"
>
> <entry>
> <id>1</id>
> <address>LA</address>
> <location>AMERICA</location>
> </entry>
>
>
# 2 Re: XML HIDDEN DATA??
Thanks Russell for the info.
"Russell Jones" <arj1@nospam.northstate.net> wrote:
>No. XML is just a text file. If you write a text file to disk, anyone can
>view/edit it with any text editor. You could encrypt the file and save it
>with some other extension though. The encryption wouldn't prevent people
>from changing the file, but it would prevent them from seeing the
>information you don't want them to see. The changed extension would prevent
>the file from opening autmatically in IE or via Windows Explorer. Note that
>none of this is completely "safe", but the combination will discourage all
>but serious hackers.
>
>"Tech" <loq@hotmail.com> wrote in message
>news:3efab509$1@tnews.web.dev-archive.com...
>>
>>
>> Hi all,
>>
>> Im new to XML, and i was wondering if i can have some elements within
an
>> xml document 'hidden' from anyone that uses a browser or notepad to see
>it?
>>
>> for example in the following, i would NOT want the user to read/change
the
>>
>> value for "id"
>>
>> <entry>
>> <id>1</id>
>> <address>LA</address>
>> <location>AMERICA</location>
>> </entry>
>>
>>
>
>
Tech at 2007-11-11 23:30:39 >
