"Learning Function" tells user what paths to open?

Ideas for enhancements to the software
Post Reply
RonC
Posts: 245
Joined: Thu Jul 27, 2006 2:07 pm
Location: Funchal, Madeira

"Learning Function" tells user what paths to open?

Post by RonC » Sat Sep 23, 2006 11:18 am

Would it be possible for some future version to have a learning mode? This would be analagous to a feature of the same name in my firewall. In other words, whenever a program tries to access the network, or something on the network tries to access a program, in a new way, an alert box pops up and asks if this should be blocked, or should be added to that programs' rules.

I just spent a bit of time with RegSeeker and RegEdit, trying to figure out why my PDA software can't find the correct date of the last connection, even after the PDA's control program's entire directory was opened for access through the sandbox. What is happening, of course, is that sometimes I run the PDA's software from inside the office suite, and sometime from Windows alone, and I tend to forget how it was running, when I last synched.

At this point I figured there must be a problematic Registry entry and I in fact did find one that contains the date-coded filename of the most recent PDA data backup. So I opened access to that, and now we shall see what happens the next time I try to synchronize the PC files with the PDA. (Hoping it now works :?.)

I don't mind doing this kind of experimenting, but perhaps for widespread use and acceptance, there may be another way? It would be nice to have the learning mode put the new entries directly into Sandboxie.ini. Or, is there already some easier way to do this?

RonC
Posts: 245
Joined: Thu Jul 27, 2006 2:07 pm
Location: Funchal, Madeira

Post by RonC » Sat Sep 23, 2006 11:42 am

There must be something about writing that makes the solution appear. I just came across the discussion of RegDump, which will make my next problem-program easier to fix. However, that's still not the same as automatic correction of Sandboxie.ini ...

Unknown_User_802
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_802 » Sun May 27, 2007 6:22 pm

I think a learning mode would make this good program much easier to use for a wider range of people.

In most cases opening a specific folder will be enough to run a wide range of software.
So the first step is identifying the needed folders to be opened:

Idea: Besides the normal "DefaultBox" a special sandbox called "LearningBox" or "TraceBox" will be created empty. The new program is started inside and all normal functions should be used. After exiting the program sandboxie lists all folders created inside the "TraceBox" in a short summary. Also a set of command lines for sandboxie.ini can be displayed (for Copy&Paste).

The Next step would be making these modification of the sandboxie.ini
automatically. Third: The same for the registry - much complexer ?

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Mon May 28, 2007 10:36 am

In most cases opening a specific folder will be enough to run a wide range of software.
I disagree with this statement. I haven't seen a case where opening a folder or even a registry key was the difference between a sandboxed program failing and working. In 80% of the case it is the OpenIpcPath setting which makes the difference. In the other 19.99% cases, it requires fixing a bug in Sandboxie or making changes to configuration not accessible through SandboxieIni.
tzuk

Unknown_User_802
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_802 » Tue May 29, 2007 4:31 am

In most cases opening a specific folder will be enough to run a wide range of software.
Sorry about the misunderstanding: I am not thinking of a "program failing" but only finding the specific folders for

- permanently storing the programs settings
- an OpenFilePath for software which creates/downloads new files

"Run" from the quote on top is in the meaning of not loosing data inside the sandbox while new users are running software xyz.exe

Example: A Bitttorrent software "utorrent" need for proper running only following OpenFilePath:
OpenFilePath=utorrent.exe,C:\Downloads\
OpenFilePath=utorrent.exe,%AppData%\uTorrent

Unknown_User_717
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_717 » Tue May 29, 2007 8:18 pm

i like this idea, however it may negate the usefullness of the application if implimented in the wrong way, for the same reason software firewalls do not work... dumb users.

on pcs i install for friends and family who are not computer experts, i always install a hardware firewall/router and sandboxie, because theres nothing to pop up, and confirm, its just assumed bad, and dumped.

for people smart enough to know what various paths are for and which ones would be safe to enable access to (the majority of people on the forum probobly, but not everybody who uses sbie entirely) ... this would be a real time saver

to counter this problem... possibly make it similar (except its one-time-on, rather than off) to the current "temporarilly disable forced programs" option, call it "temporarilly enable learning mode" which would only be activated for the first process run in a sandbox (perhaps with a confirmation including program name) and only last until that executable (and child processes) close.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Wed May 30, 2007 8:09 am

I don't like the idea so much. Sorry iceflower99 :) I think it's too much work for too little benefit. My preferred approach is to make Sandboxie know about BitTorrent, in the same way it knows about Outlook and Thunderbird.
tzuk

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest