How do I hide xml file?

354 views Asked by At

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?

1

There are 1 answers

0
Quentin On

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.