Yes, indeed, this recreation is fully legal application. You don’t need to worry about the security issue.