in reply to Security issues

I'm skipping ahead a bit, but there is a question that you might wish to keep in mind as you get this problem sorted out. How you choose to answer this will affect the shape of your solution.