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
Post a Comment