Jump to content

Directory Permissions


TapeGun007
Go to solution Solved by TapeGun007,

Recommended Posts

I wrote a website some time ago that shares files for specific authorized individuals.  Nobody can access the files without logging in.  EXCEPT, Google has somehow scanned the directory, and if someone types in a key phrase specific enough, Google has a direct link to the file right in their seach engine.

 

So, I placed a username/password on the folder.  Now people can't access the files without entering this all the time.  Unfortunately, neither can my users.  So is there a way for PHP to automatically enter the username/password, or is there some other way to protect the files?

 

Thanks for the help.

Edited by TapeGun007
Link to comment
Share on other sites

  • Solution

Hey thanks.  I called my web host, because I wasn't quite sure what you meant.  I was able to move the files out of the public folder.  Unfortunately, it's going to break a few things, but I can probably figure it out from here.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.