Suggestion: Always create same executable name

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Jellybean
User
User
Posts: 95
Joined: Wed Aug 24, 2005 7:33 pm

Suggestion: Always create same executable name

Post by Jellybean »

As it is now, programs ran from the editor seems to get a randomish name. This makes network programming a pain because of the firewall. I need to click ok before every run or disable the firewall entirely, neither is funny to do. What about always using the same filename? It would ease the problems a lot.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Yes! I second that!

Perhaps make it a compiler option - always compile this as [ ].
@}--`--,-- A rose by any other name ..
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

create new executable with the same name, is a new file for the firewall, the firewall ask you or your firewall is bad :)
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Jellybean
User
User
Posts: 95
Joined: Wed Aug 24, 2005 7:33 pm

Post by Jellybean »

My firewall is bad. :lol:

Actually I don't think that should be the firewall's responsibility. There is a balance between security and usability.
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Post by nco2k »

yeah this "feature" would be awesome. :)

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

ts-soft wrote:create new executable with the same name, is a new file for the firewall, the firewall ask you or your firewall is bad :)
I can specify in my firewall that 'this' program changes frequently so it doesn't throw an error when it changes. So one name would be great for network programming especially if it let you specifiy extension too (*.scr).
--Kale

Image
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Post by nco2k »

@Kale
hmm... whats the name of your firewall??

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post by Edwin Knoppert »

Jellybean wrote:My firewall is bad. :lol:

Actually I don't think that should be the firewall's responsibility. There is a balance between security and usability.
Not with ZA, unf. i have a register app and it complains on each compile :)
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> I can specify in my firewall that 'this' program changes frequently so it
> doesn't throw an error when it changes

Which is a massive security risk because the firewall will never know if you
changed it on purpose, or whether a virus has infected it. Better to always
get a prompt for 100% safety.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

With the PureBasic executable, is is probably better to have one "PureBasicTempUser.exe" that the Firewall lets through than a containerload of "Purebasic[digits].exe" that no longer exist. And I am slack about checking what my FireWall has listed as OK.

On my win2K system, last time I looked I had pageloads of temp PB executables on the thing.

A single "PureBasicTempUser.exe" would be deleted and rebuilt so often (on my box anyhow, the way I test run) that it is low risk as a platform for something nasty.

Anyhow, user chooses is always better (more courteous anyhow) than manufacturer dictates.
@}--`--,-- A rose by any other name ..
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post by Edwin Knoppert »

A FW was mentioned but we should agree a tool like this has nothing to do with firewalls is it?
If this is a security problem end-user should this by himself.
Nonsense..
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> a tool like this has nothing to do with firewalls is it?

Yep -- the original post is about coding a network app. ;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

> What about always using the same filename? It would ease the problems a lot.

I agree. I will discuss this with fred when he is back.
quidquid Latine dictum sit altum videtur
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

nco2k wrote:@Kale
hmm... whats the name of your firewall??

c ya,
nco2k
ZoneAlarmPro, just right click the app in the program control and select 'changes frequently'. :)
--Kale

Image
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Dare2 wrote:A single "PureBasicTempUser.exe" would be deleted and rebuilt so often (on my box anyhow, the way I test run) that it is low risk as a platform for something nasty.
Exactly! :wink:
--Kale

Image
Post Reply