Sathya - I'm no expert on CFContent but you might be able to extend the concept presented in http://www.bennadel.com/blog/461-creating-microsoft-excel-documents-with-coldfusion-and-xml.htm which uses a CFSaveContent to create an XML definition of a spreadsheet and then CFContent to save the file.
Digging further, there is also CFSpreadSheet and in http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec17cba-7f87.html there is a password parameter.which, "Set a password for modifying the sheet." Hope this helps. Until Later! C. Hatton Humphrey Every cloud does have a silver lining. Sometimes you just have to do some smelting to find it. On Sun, Jun 15, 2014 at 2:42 AM, Sathyanarayanan Ramanathan < sathya0...@gmail.com> wrote: > > Dear Friends, > > Is there anyway we can restrict the user from editing the excel sheet > exported using cfcontent tag. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358741 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm