Main Page | Report this Page
Linux Forum Index  »  Linux Development - Applications  »  How do I make files and folders inaccessible to the...
Page 1 of 1    

How do I make files and folders inaccessible to the...

Author Message
Peter Olcott...
Posted: Sat Nov 07, 2009 9:12 am
Guest
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...
Posted: Sat Nov 07, 2009 10:53 am
Guest
"Peter Olcott" <NoSpam at (no spam) SeeScreen.com> writes:

Quote:
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.

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...
Posted: Sat Nov 07, 2009 11:49 am
Guest
"Peter Olcott" <NoSpam at (no spam) SeeScreen.com> writes:

Quote:
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?


Quote:
I want to allow execute access to a specific webservice, but
deny all other access to everything else.
Execute?
 
Aragorn...
Posted: Sat Nov 07, 2009 12:06 pm
Guest
On Saturday 07 November 2009 15:12 in comp.os.linux.security, somebody
identifying as Peter Olcott wrote...

Quote:
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.

(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...
Posted: Sun Nov 08, 2009 8:58 pm
Guest
Peter Olcott wrote:

Quote:
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.

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.
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Fri Dec 04, 2009 11:28 pm