On Jul 13, 2010, at 2:44 , Folcon wrote:

> 
> 
> On Jul 13, 1:36 am, ngocdaothanh <ngocdaoth...@gmail.com> wrote:
>>> Are there any ways to restrict how many resources a user has access to?
>> 
>> If you use Linux, you see /etc/security/limits.conf.
> 
> That is useful and I will keep that in mind, however I was thinking of
> application users, so they would login to the clojure application and
> run scripts on it. Can they somehow be restricted?
> 
> I will definitely consider running the app under a seperate user and
> putting limits on that user as a whole.

Hi Falcon,
yes and no, you can limit CPU usage by limiting execution time. Limiting memory 
usage of a specific code is hard at best and more goes towards the impossible 
corner - sadly, I try to do this myself for clj-sandbox and fail since about 
half a year :P.

Regards,
Heinz

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to