I'm thinking of writing an application that communicates sensitive information (using Python, if that's relevant). Instead of using the standard GUI libraries (like GTK, Qt or wxWidgets), I was thinking of instead making a web interface using something like web.py to run a local server and take input this way.
This would obviously only be accessible by localhost and not public.
If I'm receiving and sending very important/private data from HTML forms that get passed to this local server, is this safe, and is it any more susceptible to MITM attacks than if I were to use something that didn't involve a local server?
So I guess my question really boils down to:
Are messages sent from a local server to the browser as easy or easier to intercept than those from a regular native GUI application and