Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I make files and folders inaccessible to the public on a webserver?

0 views
Skip to first unread message

Peter Olcott

unread,
Nov 7, 2009, 9:12:43 AM11/7/09
to
How do I make files and folders inaccessible to the public
on a webserver?

I want to allow execute access to a specific webservice, but
deny all other access to everything else.


Joe Pfeiffer

unread,
Nov 7, 2009, 10:53:03 AM11/7/09
to
"Peter Olcott" <NoS...@SeeScreen.com> writes:

All access? Don't put the files on the server.

If you want limited access, look up .htaccess

There are many possibilities in between.
--
As we enjoy great advantages from the inventions of others, we should
be glad of an opportunity to serve others by any invention of ours;
and this we should do freely and generously. (Benjamin Franklin)

Unruh

unread,
Nov 7, 2009, 11:49:48 AM11/7/09
to
"Peter Olcott" <NoS...@SeeScreen.com> writes:

>How do I make files and folders inaccessible to the public
>on a webserver?

By installing passwords?
By installing a firewall which allows port 80 access only to the desired
webservice?


>I want to allow execute access to a specific webservice, but
>deny all other access to everything else.

Execute?


Aragorn

unread,
Nov 7, 2009, 12:06:48 PM11/7/09
to
On Saturday 07 November 2009 15:12 in comp.os.linux.security, somebody
identifying as Peter Olcott wrote...

(1) Make sure Apache - I am assuming Apache as the webserver; substitute
by whatever webserver you are running - is not running with root
privileges and that it does not have read access to the files.

(2) Use the ".htaccess" file and/or implement Access Control Lists.

--
*Aragorn*
(registered GNU/Linux user #223157)

Wanna-Be Sys Admin

unread,
Nov 8, 2009, 8:58:29 PM11/8/09
to
Peter Olcott wrote:

Controlling "public access" over http, ftp, shell, or, or all of them?
Who/what do you need to allow access to view or execute said
filers/programs?
--
Not really a wanna-be, but I don't know everything.

0 new messages