Page 1 of 1

browser kindof functionality

Posted: Mon Nov 10, 2008 8:34 am
by alokdube
Here is something I was wondering
1. open a window
2. type in a location
3. if of the form pbtp:// it is a purebasic source code and call pbcompiler and execute the following text
4. if it is http:// then its browser based (we can use the browser code already around here)
if not then execute the pb source
else if u can make pb a plugin like a java plugin...

Posted: Sat Nov 15, 2008 11:08 am
by Rescator
Besides stating the obvious that this could be a huge security issue (unknown and unseen source compiled to a exe and executed),
it's also impractical as everyone would need PureBasic (not a bad idea in and of itself as Fred would be richer than bill gates) but for end users impractical.

And for the few devs that might need/find this useful in certain environments, you can actually add this to your browser easily (at least Firefox) as most browsers let you add custom url and mime handlers.

Posted: Tue Nov 18, 2008 1:02 pm
by alokdube
what is the security risk? I mean an exe is an exe however, it has the same implications as using a browser in any other way. one still has to trust the server in any way.

Posted: Tue Nov 18, 2008 3:32 pm
by Matt
Yeah a website you go to has full access to your computer system :lol:

Posted: Thu Nov 20, 2008 2:30 pm
by alokdube
well not really , but via java applets it can mess around