here is the link for how you can encrypt your web.config file section at the time of deploment Click Here ...