I'm primarily an ASP.NET developer but this question really applies regardless of language.  So obviously it is a good idea to prevent external attacks that arise from session hijacking and csrf attacks as well.  But what about internal attacks when the data involved is temporary, needed for the entire session but also sensitive and worth stealing?  There is the naturally just only hire trustworthy people route, but lets say that doesn't apply.Say it is a given you already have code reviews and strict production data access permissions to prevent theft by developers.  The application encrypts sensitive data before storing to prevent theft by dbas.How do you protect your temporary sensitive data against web server admins?  It seems that they could retrieve information by inspecting web server logs, traffic sniffing and inspection of process memory contents.  Naturally I would say production web server admins do not have access to the raw source code.
How to handle security of temporary data on web server?
web development;security