You are here

Can app block internet! firewall?

8 posts / 0 new
Last post
jedione
Offline
Last seen: 10 years 12 months ago
Joined: 2013-08-21 23:32
Can app block internet! firewall?

does anyone know if their is a way "script" for Launcher.ini
that will block the .exe from conecting to the internet.

I know how to make Rules with a Batch file. but their goes the portable,,
if i do this. and also every time it would be Ran it would just keep
adding to the rules...not good.

thanks jedione

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
I doubt it

If you are on a limited user account you dont have the rights to do that. And if you are on an admin account, you can do it the way you said and redo once youre done.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

jedione
Offline
Last seen: 10 years 12 months ago
Joined: 2013-08-21 23:32
Any others theirs got to be

Any others theirs got to be a way but "not with firewall"
somthing in the ini that say like

[NO-INTER-NETT]
access=false
%pal%\file\file.exe
LOL  or somthing!
Ken Herbert
Ken Herbert's picture
Online
Last seen: 39 min 34 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
No

There is no way to do it with PAL.

jedione
Offline
Last seen: 10 years 12 months ago
Joined: 2013-08-21 23:32
This is the only I have found

This is the only I have found to work! kind of solved!
what i did is put my PAF file into a SFX-that extracts to the %temp%
file then Executes from their, this way with the SFX Ii can also give it
a "icon" to mach the program, Cool. now it's goin to run in the same
place on all computers %temp%. Now go to firewall.cpl and make a
outbobund Rule. now open your registry and go to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules

..export file to desktop,,edit will look like this.
--------------------------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules]

"{12657E4A-D0D9-48B0-8033-7F2706D9F076}"="v2.20|Action=Block|Active=TRUE|Dir=Out|App=%USERPROFILE%\\AppData\\Local\\Temp\\CloneDVDPortable\\CloneDVDPortable.exe|Name=DVD Blocker|"

Now you can put the .Reg file in your "Data\settings\folder
edit your "Launcher.ini

[Activate]
Registry=true

[RegistryKeys]
HKLM=HKLM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules

Thenl do a clean up if empty along with a del%temp%
and we have a portable that block's the exe from conecting to internet
*****took me a bit to think of this hope that it can help others
if any one know of a better way please give a shout.

Ken Herbert
Ken Herbert's picture
Online
Last seen: 39 min 34 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Just remember that HKLM

Just remember that HKLM requires admin privileges so, as Simeon pointed out, on a restricted account it won't work.

jedione
Offline
Last seen: 10 years 12 months ago
Joined: 2013-08-21 23:32
undersood thank you.

undersood thank you.

lwc
Offline
Last seen: 1 week 6 days ago
Translator
Joined: 2006-04-26 06:35
Isn't it too static?

Admin issues aside, isn't the GUID 12657E4A-D0D9-48B0-8033-7F2706D9F076 too static?
I mean, if I understand correctly a GUID is randomly created every time you create a rule. So don't you risk overwriting a completely unrelated rule that happens to have this GUID?

Even if you claim the chance is low, it's always there...

Log in or register to post comments