ReHIPS forum

English Subforum => ReHIPS => Topic started by: Stephen on July 04, 2019, 07:24:50 AM

Title: How to change settings duration in the Rules Database?
Post by: Stephen on July 04, 2019, 07:24:50 AM
I ran a program and I set the settings duration in ReHIPS to "Permanent". How may I edit this setting in the Rules Database? I don't see any option.
Title: Re: How to change settings duration in the Rules Database?
Post by: fixer on July 04, 2019, 08:16:28 AM
There are 3 possible settings durations.

1. Only once. It's active only once and isn't saved in any database.

2. Until reboot. This one is saved in the temporary database that gets purged on reboot or ReHIPS Service restart. And this one doesn't allow isolation. Why? Because isolation involves some Windows changes like creating isolated users, isolated environments, etc. If something goes wrong and Service crashes or PC gets rebooted, database information will be lost, we'll have no way to revert these changes leaving traces after us, that's not good.

3. Permanent. This one is written to the database in ReHIPS.xml file.

After this introduction it should be clear why we allow moving from Until reboot category into Permanent, but disallow moving from Permanent to Until reboot. If a program is bound and hence has a corresponding isolated environment (which is OK for Permanent) it can't live in Until reboot world.
Title: Re: How to change settings duration in the Rules Database?
Post by: Stephen on July 04, 2019, 09:46:09 AM
Thanks for the clarifications.

Would it be alright to delete the particular program in the Rules Database and restart the program, so that I may choose another option regarding it's duration?
Title: Re: How to change settings duration in the Rules Database?
Post by: fixer on July 04, 2019, 11:20:35 AM
Yeah, sure.

BTW, we have in our TODO list to allow moving from permanent to temporary, but I can't tell what release it's planned on yet.
Title: Re: How to change settings duration in the Rules Database?
Post by: Stephen on July 04, 2019, 01:11:29 PM
Thanks for the reply and please accept my apologies for asking questions all the time.  :-[ :-[
Title: Re: How to change settings duration in the Rules Database?
Post by: fixer on July 04, 2019, 01:27:07 PM
Don't worry, that's what this forum and support are for ;)