-1

How do I hide xml file? I don't want to appear the file in google results. How I access denied this file for user?

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
Pushkin
  • 63
  • 2
  • 8

1 Answers1

0

I don't want to appear the file in google results.

Create a robots.txt file to instruct search engines not to index it.

How I access denied this file for user?

Add in some layer of authentication+authorisation. Preferably the same one as the rest of your site uses.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335