hi i have a bunch of files that i need to make undetectable to search engines and from people viewing it because it is very dangerous to show these files to the outside world. I was wondering how i can completely make them unviewable to anyone but me and a couple of staff members. I have already secured it in php just want to know how to make it undetectable.

You have to make one ".htaccess" file in your directory which you want to make secure from other users.

and put following code in this file.

AuthType Basic
AuthName "FORBIDDEN AREA"
AuthUserfile "../htdocs/forbidden/.htpasswd"
Require valid-user

Or U can copy same file from your C:\xampp\htdocs\forbidden folder. or where ever your XAMPP is installed.

-keval

I hope this may hope you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.