• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

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

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
mankis
Asked:
mankis
  • 4
  • 3
1 Solution
 
crooksy88Commented:
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
 
mankisAuthor Commented:
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
 
crooksy88Commented:
If he is giving out CD's how does he envisage being able to change the questions on other people's computers?


0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
mankisAuthor Commented:
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
 
crooksy88Commented:
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
 
mankisAuthor Commented:
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
 
mankisAuthor Commented:
Thank you for your help. My client accepted to put txt file away from exe file.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now