BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Open a XP firewall port by code

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
GrosNo
Guest





PostPosted: Fri Jan 07, 2005 10:25 am    Post subject: Open a XP firewall port by code Reply with quote



Hye all !

I'm looking for some delphi code to open the xp firewall.
Also is there any way to detect that the XP firewall is running ?

Thanks a lot.

GrosNo


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Fri Jan 07, 2005 6:29 pm    Post subject: Re: Open a XP firewall port by code Reply with quote




"GrosNo" <yop (AT) doubitchouk (DOT) net> wrote


Quote:
I'm looking for some delphi code to open the xp firewall.

The firewall cannot be opened programmably. That would be a breach of
security of applications could open up the firewall at will.

What exactly are you trying to accomplish in the first place?


Gambit



Back to top
Finn Tolderlund
Guest





PostPosted: Fri Jan 07, 2005 11:40 pm    Post subject: Re: Open a XP firewall port by code Reply with quote




"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> skrev i en meddelelse
news:41ded656$3 (AT) newsgroups (DOT) borland.com...
Quote:

"GrosNo" <yop (AT) doubitchouk (DOT) net> wrote in message
news:41de63c9 (AT) newsgroups (DOT) borland.com...

I'm looking for some delphi code to open the xp firewall.

The firewall cannot be opened programmably. That would be a breach of
security of applications could open up the firewall at will.

Not if the user has sufficient rights.
There should be no difference if the user has permission to do it manually
or is running a program to do it.
--
Finn Tolderlund



Back to top
Yorai Aminov (TeamB)
Guest





PostPosted: Sat Jan 08, 2005 9:21 pm    Post subject: Re: Open a XP firewall port by code Reply with quote

On 07/01/2005 12:25:59, GrosNo wrote:

Quote:
I'm looking for some delphi code to open the xp firewall.

This might help:

http://blogs.msdn.com/larryosterman/archive/2004/07/26/197331.aspx


--
Yorai Aminov (TeamB)
(TeamB cannot answer questions received via email.)
Shorter Path - http://www.shorterpath.com
Yorai's Page - http://www.yoraispage.com

Back to top
GrosNo
Guest





PostPosted: Wed Jan 12, 2005 4:57 pm    Post subject: Re: Open a XP firewall port by code Reply with quote

Does anyone has an example of using INetSharingConfiguration to open a port
under xp firewall ?

Thanks...

"GrosNo" <yop (AT) doubitchouk (DOT) net> a écrit dans le message de
news:41de63c9 (AT) newsgroups (DOT) borland.com...
Quote:
Hye all !

I'm looking for some delphi code to open the xp firewall.
Also is there any way to detect that the XP firewall is running ?

Thanks a lot.

GrosNo





Back to top
Marcelo
Guest





PostPosted: Fri Jan 14, 2005 2:17 pm    Post subject: Re: Open a XP firewall port by code Reply with quote

Hi GrosNo,

i can suggest to you a "begininng"...

did you know Emule ?

Emule is a opensource project,
created win C++.

the last version has a routine to
"open/close firewall ports for emule"

http://emule.sourceforge.net/

if you use "delphi", isn´t really difficult to understand the routine in C++

that´s it

Marcelo G.
=======================================================================


"GrosNo" <yop (AT) doubitchouk (DOT) net> escreveu na mensagem
news:41de63c9 (AT) newsgroups (DOT) borland.com...
Hye all !

I'm looking for some delphi code to open the xp firewall.
Also is there any way to detect that the XP firewall is running ?

Thanks a lot.

GrosNo



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.