Solved

Can flash exe read from some kind of secure file, or is there a way to secure dat, txt, xml etc.?

Posted on 2008-06-18
7
168 Views
Last Modified: 2010-04-21
Here we go :)
I have a client that wants something like quiz game that will be played localy (flash exe). But he also wants some kind of password protected editor in wich he will be able to change and add questions, also localy.
I sed to him that for something like that you need server, and his reply was "No, no I didn't mean server, I ment exe file in wich I can add and remove questions." So what to respond to that person?

Anyway I don't wish to lose that job, so I was wondering, if I can teach him to write directly into xml or dat file or something else that flash can load and read is there a way to protect that file so that players won't be able to edit it by themselves? Or to make that file readable only to flash exe file?

Thank you for any suggestions.
0
Comment
Question by:mankis
  • 4
  • 3
7 Comments
 
LVL 13

Accepted Solution

by:
crooksy88 earned 500 total points
ID: 21820056
I'm not sure if it is possible to password protect a .txt or .xml file, not without using some other app like winZip.

Have you considered creating a directory which is placed somewhere deep on the c: drive of the PC, then have flash access the txt file from there? As the flash exe is played and the txt file loaded in there would be no way for a user to see where the txt file was coming from.

e.g. have the exe file on the desktop but have the txt file hidden somewhere like:
c:/Program Files/Powerpoint/Temp/questions.txt
0
 

Author Comment

by:mankis
ID: 21820132
I think that my client also wishes to put this game on CD and give to other people. He just wishes to be able to add and change questions, but to disable that options for players (or at least reduce this possibility).
0
 
LVL 13

Expert Comment

by:crooksy88
ID: 21820166
If he is giving out CD's how does he envisage being able to change the questions on other people's computers?


0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:mankis
ID: 21820308
I haven't asked him that yet. Last thing that we spoked was that that I mentioned in the first post. I don't wish to send another post and get another confusing answer. I wish to send him a mail that says: you can't do that but we can do this.
0
 
LVL 13

Expert Comment

by:crooksy88
ID: 21820350
Well if there are multiple copies of the CD all over the place and the questions need to be changed there are only 2 ways to do it as far as I can see:

1. would be to manually change the text file and then email that text file to all owners of the CD and tell them to overwrite the original txt file (NOT a good solution).

2. to have the txt file online and have the exe file connect to the internet and check to see if there was a new version of the txt file available, and if so, download it. To do this would would need additional software like SWFStudio to prepare your exe with a http client.
0
 

Author Comment

by:mankis
ID: 21820464
Yes but in that case the txt file is still not protected, it can be edited anyway.
I'm going to ask my client this questions to know more what does he wants.
0
 

Author Closing Comment

by:mankis
ID: 31468674
Thank you for your help. My client accepted to put txt file away from exe file.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
XML Parsing Classic ASP 5 64
Create XML 5 52
Convert XML to excel12book 5 31
Help with a If commands in MS word 2010 when using with a XML drop down box 5 41
The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question