c# - 'External Control of File Name or Path' security flaw -


i have c# console application in need write data database flat file. there output file path , file name configurable. did below:

using (textwriter tw = new streamwriter(strworkingoutputfile, false))  

which giving following error:

`'external control of file name or path' security flaw.` 

basically, wherever giving configurable path it's throwing flaw. idea on how resolve this?

thanks in advance.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -