[twsocket] SmtpClient and aborting connection

2007-05-11 Thread Markus Humm
Hello,

my COM server goes havoc when the e-mail has been sent. If the client 
calls some simple functions which normally would only read something 
from the database and return the value they fail instead. Functions 
which aren't really interdependant or so.

I'm wondering now why. It also happens with my printing code as it 
seems. So my guess now is that it's related that both are (at least this 
is what I think) within the context of a TWSocket's OnDataAvailable.
Could it be that the message handling for the e-mailing etc. can cause 
this? If yes, how to circumvent this?

Greetings

Markus
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TFtpServ that uses FTP user's Windows accountsecurity context

2007-05-11 Thread Arno Garrels
Fastream Technologies wrote:
 Hello Arno,
 
 I use Windows Vista Business. I went to the control panel and created
 what's called a limited user. Now that user can go into C:\Windows
 and list file/folder listings when logged in with your server demo.
 Is this normal? 

SZ, 

Any progress in testing? 

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html



 Regards,
 
 SZ
 
 
 On 5/10/07, Arno Garrels [EMAIL PROTECTED] wrote:
 
 Perhaps you can code the NTLM into ICS FTP Server demo? Believe me
 there is DEMAND for it! Fastream offers you $200 for the task to be
 completed in 10 days plus we can help you test. I know $200 is not
 much for a German company but this code could be used by many people
 so it's well spent effort (remember we will donate the demo).
 
 OK, some money is always welcome :-) I uploaded the result for
 testing (binary only):
 
 http://www.duodata.de/misc/delphi/OverbyteIcsFtpServ.zip
 
 It might be slower than the original v6 demo since security context
 is switched very frequently, please check whether it's too slow.
 Note that currently CWD works for directory names with length = 3
 as well as with current HomeDir (Angus can you tell us why?).
 PWD also always succeeds. It's possible to upload a zero-size
 file even if the user has only read access (file is not written).
 My solution impersonates user's Windows security context upon
 filesystem access, all events however are triggered in the the
 context of server's process, it may be usefull to switch to user's
 context in some events as well, but that was fine tuning and should
 be discussed here. 
 
 BTW: I changed/fixed the STOU command, can somebody please test?
 
 --
 Arno Garrels [TeamICS]
 http://www.overbyte.be/eng/overbyte/teamics.html
 
 
 
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TFtpServ that uses FTP user's Windows accountsecurity context

2007-05-11 Thread Fastream Technologies
Not yet. Having personal problems these days.. :((

On 5/11/07, Arno Garrels [EMAIL PROTECTED] wrote:

 Fastream Technologies wrote:
  Hello Arno,
 
  I use Windows Vista Business. I went to the control panel and created
  what's called a limited user. Now that user can go into C:\Windows
  and list file/folder listings when logged in with your server demo.
  Is this normal?

 SZ,

 Any progress in testing?

 --
 Arno Garrels [TeamICS]
 http://www.overbyte.be/eng/overbyte/teamics.html



  Regards,
 
  SZ
 
 
  On 5/10/07, Arno Garrels [EMAIL PROTECTED] wrote:
 
  Perhaps you can code the NTLM into ICS FTP Server demo? Believe me
  there is DEMAND for it! Fastream offers you $200 for the task to be
  completed in 10 days plus we can help you test. I know $200 is not
  much for a German company but this code could be used by many people
  so it's well spent effort (remember we will donate the demo).
 
  OK, some money is always welcome :-) I uploaded the result for
  testing (binary only):
 
  http://www.duodata.de/misc/delphi/OverbyteIcsFtpServ.zip
 
  It might be slower than the original v6 demo since security context
  is switched very frequently, please check whether it's too slow.
  Note that currently CWD works for directory names with length = 3
  as well as with current HomeDir (Angus can you tell us why?).
  PWD also always succeeds. It's possible to upload a zero-size
  file even if the user has only read access (file is not written).
  My solution impersonates user's Windows security context upon
  filesystem access, all events however are triggered in the the
  context of server's process, it may be usefull to switch to user's
  context in some events as well, but that was fine tuning and should
  be discussed here.
 
  BTW: I changed/fixed the STOU command, can somebody please test?
 
  --
  Arno Garrels [TeamICS]
  http://www.overbyte.be/eng/overbyte/teamics.html
 
 
 
  --
  To unsubscribe or change your settings for TWSocket mailing list
  please goto http://www.elists.org/mailman/listinfo/twsocket
  Visit our website at http://www.overbyte.be
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be