secure inserting posts and resources