Re: Protecting Things from prying eyes....

2002-04-10 Thread Michael Crawford

I recently ask the list for suggestions about the best method for
protecting images that are stored on an web server but accessed from within
Metacard. Thanks to everyone who responded. Here are a couple of follow up
notes...

Dave Cragg suggested.

>One way would be to store the images as custom properties in a
>metacard stack (one or more images per stack).  This would stop them
>being viewed by a browser or other application. (But the image data
>could be retrieved by anyone with Metacard.)
>
>Then download the "image stack", open it invisibly, put the custom
>property that holds the image into the image object in your Metacard
>application.

I did think about doing that. What I liked about having each image seperate
(if encoded and compressed) is the fact that I can get Metacard to start
downloading the images individually and storing them in the cache. In some
cases there may be lots of pictures in some sections (may be 50 -60) other
sections will only have a few (perhaps 5 or so). Only one picture will be
shown at a time. By individually downloading each picture the app should
seem much more responsive.


Dar Scott thought

> 1) I could either encrypt the images using some other method than
>> base64 I
>> am open to suggestions about how I could do this.
>
>Any simple method I give you would hardly be better than the
>obfuscation that you already have.
>
>If you must do more, the next step is serious encryption.
>
>One approach is to have the stack run a command line PGP
>application.  Since NAI dropped the PGP line, your choices are
>limited if this is a commercial application.  I'd consider GnuPG.
>It is available on several platforms.  It is a little rough around
>the edges but should work for your narrow need.  (If you find a
>shrink wrapped legal copy of PGP 6.5.8 command line commercial and
>don't need it, contact me.)

I did consider a better form of encryption and even started doing some
preliminary investigations into it. I concluded that while doing this would
be very interesting and very useful for me and other people (I don't think
I will be the only person interested in encryption of material for use in
Metacard :-) )It kind of turns a small project into a big one.

>Alternately, if you have control over all computers involved, turn
>on IPSec for the applicable connections.

Unfortunately the requirements of the app mean this won't be possible.
Users will need to be able to access the suff from home as well.

>> 2) I could build a better password protected site with cgi's or
>> ASP or some
>> such thing though then I have issues with server hosting etc.
>
>Same problems

What I was thinking of doing was something along the lines of

Metacard app contacts server.
Server sends out the password for the day, hour or minute for example..."Bob"

Metacard then compares the password, "Bob" with an internal list, which
could be very long...
-- "Bob" ="Eachway"
-- "Fred" ="ies_back"
-- "Jack" ="Upped"

Metacard logs on as "Eachway" with a post type of action and gets the
images etc required.

A bit of time passes. An internall function on the server changes the
required password for access to "Jack"

So while the passwords will be visible it will takle a resonable amount of
effort to get all of the required passwords. Basically you will have to
monitor what the Metacard app is up to over a period of time. That could be
quite a considerable period of time.

Not that I am actaully going to do this. Just an idea

>> 3) I am just being to paranoid about the whole thing. If anyone get's
>> through all of the road blocks I have created perhaps I should
>> just give
>> them a chocolate fish  and a certificate and not worry about it...
>
>Simple obfuscation is appropriate in some cases and it may be in
>this case.  You have to look at the economic factors for the spy
>and use that to assess the probabilities in assessing your risk
>(prob and cost).  You also should look at other factors such as the
>cost of the stack getting bogus pictures.
>
>If these are pictures of a new product and you don't want Ford,
>Microsoft or France to see them, then you may need strong
>encryption.  On the other hand, if you don't want people to see
>your maps of NZ that you worked so hard to make unless they pay for
>it, then encryption is less important.
>
>My wild guess is that you can probably get by with even simpler
>obfuscation and then forget about it.

You are correct. I think Ken Ray's response says it all...


>> 1) I could either encrypt the images using some other method than base64 I
>> am open to suggestions about how I could do this.
>>
>> 2) I could build a better password protected site with cgi's or ASP or
>some
>> such thing though then I have issues with server hosting etc.
>>
>> 3) I am just being to paranoid about the whole thing. If anyone get's
>> through all of the road blocks I have created perhaps I should just give
>> them a chocolate fish  and a certificate and not worry about it...
>

Re: Protecting Things from prying eyes....

2002-04-07 Thread Dar Scott


On Saturday, April 6, 2002, at 10:20 PM, Michael Crawford wrote:

> Does any one have any suggestions about what I could do here? My 
> two lines
> of thought are:
>
> 1) I could either encrypt the images using some other method than 
> base64 I
> am open to suggestions about how I could do this.

Any simple method I give you would hardly be better than the 
obfuscation that you already have.

If you must do more, the next step is serious encryption.

One approach is to have the stack run a command line PGP 
application.  Since NAI dropped the PGP line, your choices are 
limited if this is a commercial application.  I'd consider GnuPG.  
It is available on several platforms.  It is a little rough around 
the edges but should work for your narrow need.  (If you find a 
shrink wrapped legal copy of PGP 6.5.8 command line commercial and 
don't need it, contact me.)

Alternately, if you have control over all computers involved, turn 
on IPSec for the applicable connections.

> 2) I could build a better password protected site with cgi's or 
> ASP or some
> such thing though then I have issues with server hosting etc.

Same problems.

> 3) I am just being to paranoid about the whole thing. If anyone get's
> through all of the road blocks I have created perhaps I should 
> just give
> them a chocolate fish  and a certificate and not worry about it...

Simple obfuscation is appropriate in some cases and it may be in 
this case.  You have to look at the economic factors for the spy 
and use that to assess the probabilities in assessing your risk 
(prob and cost).  You also should look at other factors such as the 
cost of the stack getting bogus pictures.

If these are pictures of a new product and you don't want Ford, 
Microsoft or France to see them, then you may need strong 
encryption.  On the other hand, if you don't want people to see 
your maps of NZ that you worked so hard to make unless they pay for 
it, then encryption is less important.

My wild guess is that you can probably get by with even simpler 
obfuscation and then forget about it.

Dar Scott

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Protecting Things from prying eyes....

2002-04-07 Thread Dave Cragg

At 5:20 pm +1200 7/4/02, Michael Crawford wrote:

>Does any one have any suggestions about what I could do here? My two lines
>of thought are:
>
>1) I could either encrypt the images using some other method than base64 I
>am open to suggestions about how I could do this.

One way would be to store the images as custom properties in a 
metacard stack (one or more images per stack).  This would stop them 
being viewed by a browser or other application. (But the image data 
could be retrieved by anyone with Metacard.)

Then download the "image stack", open it invisibly, put the custom 
property that holds the image into the image object in your Metacard 
application.

Cheers

Dave Cragg
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Protecting Things from prying eyes....

2002-04-06 Thread Ken Ray

Michael,

> 1) I could either encrypt the images using some other method than base64 I
> am open to suggestions about how I could do this.
>
> 2) I could build a better password protected site with cgi's or ASP or
some
> such thing though then I have issues with server hosting etc.
>
> 3) I am just being to paranoid about the whole thing. If anyone get's
> through all of the road blocks I have created perhaps I should just give
> them a chocolate fish  and a certificate and not worry about it...

3.

:-)

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Protecting Things from prying eyes....

2002-04-06 Thread Michael Crawford

Hello everyone,



I am developing an application in trusty 'ol Metcard that does the
following things.


1) Downloads an "index" from a web server, this is just a plain text file
and is basically a file listing with some other bits of information about
the images

2) Uses that index to downlaod a series of pictures which are then
displayed in Metacard along with any other addition info in a text box.

So far so good. MC does everything it is told to do just wonderfully.

My problem is how do I protect those images? I want it so only Metacard can
view the pictures. By this I mean if I can show an image by putting URL
"http://someserver.com/ViewerApp/Images/image1.jpg"; into an image object in
Metacard I can also view the image using a web browser.

No worries. I can encode the image using "base64encode" and compress the
image and even give it a funny extension type. That works really well. No
complaints from Metacard about that either.

Still it is not very secure. Someone could easily figure out what is going
on here and still download the images...

Alright then how about if I password protect the site using the std sort of
protection. (That is the basic sort like at
http://emserver.otago.ac.nz/gordon/.) and get Metacard to connect using the
authorization method :
"http://username:[EMAIL PROTECTED]/ViewerApp/Images/image1.jpg";

Thus if you try to connect using a web browser to the server you require a
password.

My problem is that the password is relatively easy to obtain using
Interarchy of OTsessionwatcher or any of those TCP/IP watching
applications. If you have the password you can get the images etc again...


Does any one have any suggestions about what I could do here? My two lines
of thought are:

1) I could either encrypt the images using some other method than base64 I
am open to suggestions about how I could do this.

2) I could build a better password protected site with cgi's or ASP or some
such thing though then I have issues with server hosting etc.

3) I am just being to paranoid about the whole thing. If anyone get's
through all of the road blocks I have created perhaps I should just give
them a chocolate fish  and a certificate and not worry about it...


Thanks in advance  for any suggestions.


Michael








___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard