wtbonnell Posted November 24, 2004 Posted November 24, 2004 I have a .Net application (written in C#) that interacts with an XML file. I needed to put Read and Write access on the xml file so the users could read and save data to this xml file, however, placing the Read and Write access will allow anybody to be able to view the xml doc via the web browser. Any ideas how to avoid anyone from accessing the entire xml doc, but still allow users to be able to read and write to it via the .Net application? Thanks for your help... Quote
kejpa Posted November 24, 2004 Posted November 24, 2004 Any ideas how to avoid anyone from accessing the entire xml doc, but still allow users to be able to read and write to it via the .Net application? How about putting the XML file in a directory you can't access through the webbrowser? HTH /Kejpa Quote
wtbonnell Posted November 29, 2004 Author Posted November 29, 2004 How about putting the XML file in a directory you can't access through the webbrowser? HTH /Kejpa I tried that, but in order to have Read and Write access on the text.xml file I would have to have Read and Write access to the folder, correct? Unless there is another way that I am not aware of... Maybe I mis-understood your idea? Thanks for your help... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.