Announcement

Collapse
No announcement yet.

Public and Private folders

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Public and Private folders

    Sorry, but it has been years since I graduated from college and I find myself thrust into the world of Web Design. I get the basic concepts but for the life of me I can't find anything that tells me how to make folders public for the Internet, while making other folders private for the Intranet. I know how to add users to the folder permissions (is it as simply as that); however, how do I make my public folder open to all the public. Can anyone direct me here?

  • #2
    Additional Information

    I also did the following on the private folder

    Disable Anonymous Access

    and on the public folder

    Enable Anonymous Access

    Comment


    • #3
      From the top of my head - Make a .htaccess file in the private folder and set an allow deny rule for certain IP addresses. Would look something like that

      Code:
      order deny, allow
      deny from all
      allow from xxx.xxx.xxx.xxx
      allow from xxx.xxx.xxx.xxx
      allow from xxx.xxx.xxx.xxx
      I think you can even declare IP ranges, if you should have tons of addresses.
      Domain Registrar Domaintechnik® | Hosting | Domains | SSL certificate | Webspace Austria

      Comment

      Working...
      X