Hi Jake,
I'm sorry but you probably didn't understand me correctly.
I din't say about "edit file" in context of server script.
So what i suggest you:
pre
1 Instead of Files "list" service you invoke your server code (for example with name "filesList").
2 In this request you have following parameters:
2.1 UserId - to filter files by this criteria.
2.2 Session token - to get whole files list.
3 In "filesList" server code you:
3.1 Get all files list.
3.2 Filter this files list with criteria you need(leave only those elements which have correct userid in ACL).
3.3. Return filtered collection.
/pre
Regards