1
votes

So I have a fairly large system which we have encoded with Zend Guard. As this pretty badly messes up any SVN control, its a bit of a pain to deploy / make changes.

Does anyone know if its possible to use the Zend Studio FTP editing to decode and edit files that have been encoded? When I open them it says

The file filepath/filename.php was encoded by Zend Guard. Would you like to open it anyway?

If you click yes, it just opens the raw encoded file. I have both Zend Guard / Studio installed on my system, and in preferences both apps point to the other so they know they are installed. Seems a bit of a pain if it wont do this.

I can browse the files in Zend Guard and then open in Zend Studio, but this will only let me edit files in the output location, which is not on the live server

FYI I am using Zend Studio 5.5.1 (not latest).

NOTE: I want to be able to edit encoded files from a live FTP via Zend Studio, not what is mentioned here - http://files.zend.com/help/Zend-Studio/opening_and_editing_zend_guard_projects_in_neon.htm which is already mentioned above

1
Have you tried to actually decode the file before opening it? - hakre
Are you able to set the editor your SVN client launches? - Security Hound
@hakre my point is surely if I try and open an encoded file in Zend Studio, surely it should decode it automatically? - Horse
@Horse: Should it? I mean I can understand you want that Zend studio to do, but does it actually support that? Is it a feature? Or is your question if it is a feature or not? - hakre
@hakre yeah just want to know if its possible or not? the new live server is giving me problems, and would be handy to be able to edit live to debug / troubleshoot instead of trying something, re-encode the whole project, then ftp the files up that changed, rinse + repeat - Horse

1 Answers

1
votes

What you are asking for in NOT a feature of Zend Studio nor would it ever be one. Files are encoded By Zend Guard for security reasons. If Zend just allowed them to be unencoded from within Studio that would render Guard pretty much ineffective for the ISV's that use it.

You should work with the original source files before they are run through Guard and encode before transferring to the server. If you do not have the original source files then you should probably be contacting the party that does ....