I have application c#, config file is xml file. If same computer it working is fine but not security. In this case, everyone can see and read this config file.
Can I load xml file from another computer?
XDocument doc = XDocument.Load(fileXml);
var cmds = doc.Root
.Element("ListProfile")
.Elements("Profile")
.Where(b => b.Element("Id").Value == profile_id)
.SelectMany(b => b.Element("Command").Elements())
.Select(p => new
{
Id = (int)p.Element("Id"),
Path = (string)p.Element("Path"),
Value = (string)p.Element("Value")
});
Thanks.