I have created one asp.net application which has one functionality of conversion of Html table to word Document. I had done this successfully. But now i will need to protect my file with password. Is it possible to make the file as secure by adding password. My conversion code is shown below.\[code\]Response.ClearContent(); Response.Buffer = true; Response.AddHeader("content-disposition", string.Format("attachment; filename={0}", DateTime.Today.ToShortDateString().Replace("/", "").Replace("-", "") + "_" + DateTime.Now.ToShortDateString() + ".doc")); Response.ContentType = "application/ms-word"; StringWriter sw = new StringWriter(); HtmlTextWriter htw = new HtmlTextWriter(sw); tblMain.RenderControl(htw); string strPath = Request.PhysicalApplicationPath + "Test.doc"; StreamWriter sWriter = new StreamWriter(strPath); sWriter.Write(sw.ToString()); sWriter.Close();\[/code\]Please help me, if there any way to add password to the saving files. Thanks in advance..