Indigo Rose Software
  #1  
Old 09-18-2005
Jonas DK's Avatar
Jonas DK Jonas DK is offline
Forum Member
 
Join Date: Jul 2004
Location: Denmark
Posts: 282
Peekaboo! encryptet text files??

Hi

Anyone know if it is posible to have external text in an encryptet file feed into an AMS app and decryptet?

Ex. I have a project that fills a paragraph with text from a text file in the doc folder.

As it is every one can just open the text file in the doc folder and read the text.

What I want is some kind of encryption placed on the text file so that if you just open it in a text editor it will be rubish but when open thruogh the AMS app it is readable text.

The reason for this is that I have a program that reads most of its info from text files so that it is easy to update with out having to update the hole app.

Any surgestions?

Jonas DK
Reply With Quote
  #2  
Old 09-18-2005
yosik's Avatar
yosik yosik is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Israel
Posts: 1,863
Besides possible encryption schemes, you could have the text files as zip files which would dynamically open and populte whatever you would want in AMS.
These zip files could be password protected.
Yossi
Reply With Quote
  #3  
Old 09-18-2005
Jonas DK's Avatar
Jonas DK Jonas DK is offline
Forum Member
 
Join Date: Jul 2004
Location: Denmark
Posts: 282
Quote:
Originally Posted by yosik
Besides possible encryption schemes, you could have the text files as zip files which would dynamically open and populte whatever you would want in AMS.
These zip files could be password protected.
Yossi
I like the zip file idea...

The thing is to keep it as simple as posible.

anyone know if AMS will to read the zip file if you give it another file extension? . o O (thise will need some exploring...)

Jonas DK
Reply With Quote
  #4  
Old 09-18-2005
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
Quote:
Originally Posted by Jonas DK
anyone know if AMS will to read the zip file if you give it another file extension? . o O (thise will need some exploring...)

Jonas DK

sure can. Call it ZipFile.dat and AMS can still open it.
__________________
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Reply With Quote
  #5  
Old 09-18-2005
Jonas DK's Avatar
Jonas DK Jonas DK is offline
Forum Member
 
Join Date: Jul 2004
Location: Denmark
Posts: 282
Quote:
Originally Posted by TJ_Tigger
sure can. Call it ZipFile.dat and AMS can still open it.
thanks Tigger

that just saved me some teedies testing....


Jonas DK
Reply With Quote
  #6  
Old 09-19-2005
yosik's Avatar
yosik yosik is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Israel
Posts: 1,863
If you are interested in security, you can use another extension and have AMS change all these extensions back to zip at runtime, before extracting the files.

Yossi
Reply With Quote
  #7  
Old 09-19-2005
Jonas DK's Avatar
Jonas DK Jonas DK is offline
Forum Member
 
Join Date: Jul 2004
Location: Denmark
Posts: 282
Talking The Crypto plugin

Hi guys thanks for all the feed back.. Thats why I Love AMS so much...
great user forums....

I looked around in AMS for different solutions to this problem and found one I think I'm going to use.

I build 2 applications, an end-user application and a "text-implant" application

the implant application just takes a bunch of text files in a directory and encrypt them using the crypto plugin. I can then distribute the encrypted textfiles (with the extension .cpt) and use TextFile.ReadToString and then use crypto again to decrypt the string before displaying it in a paragraph.

need (I've never used the crypto plugin before... neat)

Jonas DK
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Example: Loading Paragraph Text Using a Timer Jonas DK AutoPlay Media Studio 5.0 Examples 7 11-25-2004 06:10 PM
Need Help: Wierd stuff with text files justin.james AutoPlay Media Studio 4.0 0 05-18-2004 08:12 AM
Reading large text files jwarrent AutoPlay Media Studio 5.0 0 02-15-2004 06:58 PM
Displaying text files from HDD to a text window within AMS jimmy guilfoyle AutoPlay Media Studio 4.0 25 02-07-2004 12:48 AM
method to index/compare user's files for update? intel352 Setup Factory 6.0 0 01-15-2003 04:08 PM


All times are GMT -6. The time now is 06:54 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software