Search the web
Sign In
New User? Sign Up
frink
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Embedding Frink?   Message List  
Reply | Forward Message #222 of 257 |
Re: Embedding Frink?

--- In frink@yahoogroups.com, Alan Eliasen <eliasen@...> wrote:
> Yes, there is a way to embed Frink into a Java program. The
section
> of the documentation entitled "Embedding Frink" is a good place to
start:
>
> http://futureboy.us/frinkdocs/#EmbeddingFrink

I don't know how i've overlooked that all of last night.

> That's why Frink has its own
> security manager framework, which prevents insecure operations from
> being performed on your system, but you have to enable that security
> manager, which is not well-documented. I'll have to improve that.
>
> Think about: what if someone executes:
> read["file:///etc/passwd"]
>
> Having a good security manager is the reason that I can allow
people
> to type in arbitrary Frink programs in my web interface and execute
them
> on my computer.
>

I would certainly be interested in any documentation on this, i
currently planned on using chroots and resource limits to prevent this
(ain't unix grand?) but if i can do it inside of frink i could
probably have things much more useful.




Sat Sep 6, 2008 6:33 pm

simcop2387
Offline Offline
Send Email Send Email

Forward
Message #222 of 257 |
Expand Messages Author Sort by Date

I've been wanting to use frink for doing calculations internally in a program and I'm wondering if there is a supported way to do this? (its for an IRC bot)....
Ryan Voots
simcop2387
Offline Send Email
Sep 6, 2008
8:49 am

... Yes, there is a way to embed Frink into a Java program. The section of the documentation entitled "Embedding Frink" is a good place to start: ...
Alan Eliasen
aeliasen
Online Now Send Email
Sep 6, 2008
6:04 pm

... section ... I don't know how i've overlooked that all of last night. ... people ... them ... I would certainly be interested in any documentation on this,...
Ryan Voots
simcop2387
Offline Send Email
Sep 7, 2008
7:36 am

... I've added a single convenience method to easily enable the most restrictive security measures on a Frink interpreter. This should be called before...
Alan Eliasen
aeliasen
Online Now Send Email
Sep 8, 2008
4:59 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help