LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-17-2011, 02:14 PM   #1
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 294

Rep: Reputation: 10
For this process, do we need to block Root access for particular directory??


Hi all,

actually my scenario is we are running a webserver using apache-tomcat in that our client uploading resumes, so that particular space we are allowed to upload

Quote:
for example if the client bought only 250 MB space means we restrict the size limit to upload only 250 limit once the limit exceed means the client not able to upload files, like that...my scenario is
for that we are running java in root permission, so even we changed the particular folder permission also inside the Webapps but that also not works because the entire java process is running in root permission. so that only we planned to block root access for the particular folder once the limit exceed limit through scripts.

This is the right way?? or any other way is available to restrict the user upload inside the WEBAPPS ??? please guide me.


With Regards
Anish Kumar.V
 
Old 03-18-2011, 12:01 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Maybe you could map application users to system users, change the ownership of uploaded files to the relevant user and enable user quotas on the volume ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to block root access!!! anishkumarv Linux - Newbie 7 03-17-2011 09:34 AM
Need to block root access in VSFTPD Davpronk Linux - Server 3 02-05-2009 03:45 AM
how do i access the root directory? xstealthrtx Linux - Newbie 5 11-22-2004 05:42 AM
How do I access my Root Directory chaswp54 Linux - Security 2 10-20-2001 04:05 PM
Root Directory Access chaswp54 Linux - General 1 10-19-2001 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration