Create and configure resource under protection