We create a test.txt file and put some random html:
- Code: Select all
<!DOCTYPE html> <html> <body> <h1>test</h1> <img src="http://google.com/"> <br> </body> </html>
Then we change extension of file to .doc/.docx.
Later we open test.docx document using:
- Code: Select all
Document document = new Document();
document.LoadFromFileInReadMode(@"test.docx", FileFormat.Auto);
What we can see from using some inspection tools, is that machine who tries to open document create a request to http://google.com.
The problem is that this address can be address of some malicious content.
Is there is any way to stop this? Can we say to Spire library does not perform any external requests?