RE: Denying access to a folder while allowing the content inside it to be displayed on other pages?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I guess I would like to deny access to the index. But I also don't want
people to be able to view my global.css file, which every page is linked to
and is in the directory "/css". Also I just set up the server with the
default settings. Are there any basic security precautions I should be
taking at all such as turning off index view capabilities for clients?

-----Original Message-----
From: Macks, Aaron [mailto:amacks@xxxxxxxxxxxxxxxxxxx] 
Sent: Tuesday, July 17, 2012 4:04 PM
To: <users@xxxxxxxxxxxxxxxx>
Subject: Re:  Denying access to a folder while allowing the
content inside it to be displayed on other pages?

By "Direct Access" do you mean the index of the directory?  

A
--
Aaron Macks
Sr. Unix Systems Engineer

Harvard Business Publishing
300 North Beacon St.    |   Watertown, MA 02472
(617) 783-7461                |   Fax: (617) 783-7467
www.harvardbusiness.org |   Cell:(978) 317-3614

On Jul 17, 2012, at 3:54 PM, Ryan Bowman wrote:

> I've been looking for 2 hours and I still can't find anything about this.
In my site's root directory I have an "images" folder, which contains all
the images used in my site. I would like to be able to deny direct url
access to the folder but still allow the images to be displayed on the site.
Can someone please tell me how to do this with the <directory> directive?
I'm a noob at this kind of stuff so please bear with me.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux