Last post Apr 25, 2013 01:02 AM by emayevski
Apr 24, 2013 03:06 PM|RamakrishnaAlla|LINK
I have a folder Test that is having samp1.txt file ,I apply password protection using third party s/w to
Test folder.Now I want to read that file using C#.net code and write it to another folder say
Test2 samp2.txt file..Test,Test1 folders exist in same drive of local system...
please do needful..
Apr 24, 2013 08:16 PM|thirumaran007|LINK
you can achive this by using impersonation , please use below codes in your web.config file with proper userid and password
Apr 25, 2013 01:02 AM|emayevski|LINK
The solution depends on how that password was applied. Windows does not support any "password-protecting" so the third-party application's authors must have invented some custom scheme (either encrypt the file and ask the password for decryption or simply
run a filter driver that prevents access). Consequently you need to know how the file was protected in the first place.