PC Review


Reply
Thread Tools Rate Thread

Locking web server resources after 2nd wrong authentication

 
 
=?Utf-8?B?R2Vu?=
Guest
Posts: n/a
 
      27th Dec 2004
My CF application for Pocket PC uses HTTP with Basic authorization. User
input login and password. So after
2nd intput with wrong credential all my request on uri throws timed-out
exception (Time out is 10 sec.). 3rd input can
be rights but application can get access to any cgi on this server. Count of
wrong inputs no clear after right one
(e.g. wrong(401) -> right(OK) -> wrong(401) ->
right(timed-out)->wrong(timed-out)-.....XXX(timed-out)!). Program
restart resolve make accesseble web-server again. More over server resources
lock depenend on URI (e.g. www.server.com
has 192.168.1.100 if access has been locked on http://www.server.com program
still has access to http://192.168.1.100
but and it will be successfully locked after 2 wrong authontications).
I know that after program restart this locking will be removed,
how i can resolve this trouble in runtime.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?R2Vu?=
Guest
Posts: n/a
 
      28th Dec 2004
Hello all,
Can anybody help me?

this issue presents on Pocket PC 2003 Emulator, on real ASUS Pocket PC 2002,
in all .NET CF v1 ( includes SP1, SP2)

"Gen" wrote:

> My CF application for Pocket PC uses HTTP with Basic authorization. User
> input login and password. So after
> 2nd intput with wrong credential all my request on uri throws timed-out
> exception (Time out is 10 sec.). 3rd input can
> be rights but application can get access to any cgi on this server. Count of
> wrong inputs no clear after right one
> (e.g. wrong(401) -> right(OK) -> wrong(401) ->
> right(timed-out)->wrong(timed-out)-.....XXX(timed-out)!). Program
> restart resolve make accesseble web-server again. More over server resources
> lock depenend on URI (e.g. www.server.com
> has 192.168.1.100 if access has been locked on http://www.server.com program
> still has access to http://192.168.1.100
> but and it will be successfully locked after 2 wrong authontications).
> I know that after program restart this locking will be removed,
> how i can resolve this trouble in runtime.

 
Reply With Quote
 
=?Utf-8?B?R2Vu?=
Guest
Posts: n/a
 
      29th Dec 2004
, what there can be wrong? I tryed combine HTTP headers. Seems that to
develope own HTTP transport level more easy than get any answers from this
forum.

I still very very waiting any suggestions from all.
Thank you. Best regards.

"Gen" wrote:

> Hello all,
> Can anybody help me?
>
> this issue presents on Pocket PC 2003 Emulator, on real ASUS Pocket PC 2002,
> in all .NET CF v1 ( includes SP1, SP2)
>
> "Gen" wrote:
>
> > My CF application for Pocket PC uses HTTP with Basic authorization. User
> > input login and password. So after
> > 2nd intput with wrong credential all my request on uri throws timed-out
> > exception (Time out is 10 sec.). 3rd input can
> > be rights but application can get access to any cgi on this server. Count of
> > wrong inputs no clear after right one
> > (e.g. wrong(401) -> right(OK) -> wrong(401) ->
> > right(timed-out)->wrong(timed-out)-.....XXX(timed-out)!). Program
> > restart resolve make accesseble web-server again. More over server resources
> > lock depenend on URI (e.g. www.server.com
> > has 192.168.1.100 if access has been locked on http://www.server.com program
> > still has access to http://192.168.1.100
> > but and it will be successfully locked after 2 wrong authontications).
> > I know that after program restart this locking will be removed,
> > how i can resolve this trouble in runtime.

 
Reply With Quote
 
=?Utf-8?B?R2Vu?=
Guest
Posts: n/a
 
      30th Dec 2004
Solutions is easy use sockets, build and parse HTTP headers!

"Gen" wrote:

> , what there can be wrong? I tryed combine HTTP headers. Seems that to
> develope own HTTP transport level more easy than get any answers from this
> forum.
>
> I still very very waiting any suggestions from all.
> Thank you. Best regards.
>
> "Gen" wrote:
>
> > Hello all,
> > Can anybody help me?
> >
> > this issue presents on Pocket PC 2003 Emulator, on real ASUS Pocket PC 2002,
> > in all .NET CF v1 ( includes SP1, SP2)
> >
> > "Gen" wrote:
> >
> > > My CF application for Pocket PC uses HTTP with Basic authorization. User
> > > input login and password. So after
> > > 2nd intput with wrong credential all my request on uri throws timed-out
> > > exception (Time out is 10 sec.). 3rd input can
> > > be rights but application can get access to any cgi on this server. Count of
> > > wrong inputs no clear after right one
> > > (e.g. wrong(401) -> right(OK) -> wrong(401) ->
> > > right(timed-out)->wrong(timed-out)-.....XXX(timed-out)!). Program
> > > restart resolve make accesseble web-server again. More over server resources
> > > lock depenend on URI (e.g. www.server.com
> > > has 192.168.1.100 if access has been locked on http://www.server.com program
> > > still has access to http://192.168.1.100
> > > but and it will be successfully locked after 2 wrong authontications).
> > > I know that after program restart this locking will be removed,
> > > how i can resolve this trouble in runtime.

 
Reply With Quote
 
=?Utf-8?B?R2Vu?=
Guest
Posts: n/a
 
      30th Dec 2004
Thank you dear friend! No problems wiht athorization, no problems with
closing continues response stream (i mean that no deadlocks when closes
ResponseStream, and you don't must write fake code for reading empty paket
for closing it without deadlock, more over this fake code from time to time
throws InvalideOperationException)

Really, I very thankful for your help!

"Gen" wrote:

> Solutions is easy use sockets, build and parse HTTP headers!
>
> "Gen" wrote:
>
> > , what there can be wrong? I tryed combine HTTP headers. Seems that to
> > develope own HTTP transport level more easy than get any answers from this
> > forum.
> >
> > I still very very waiting any suggestions from all.
> > Thank you. Best regards.
> >
> > "Gen" wrote:
> >
> > > Hello all,
> > > Can anybody help me?
> > >
> > > this issue presents on Pocket PC 2003 Emulator, on real ASUS Pocket PC 2002,
> > > in all .NET CF v1 ( includes SP1, SP2)
> > >
> > > "Gen" wrote:
> > >
> > > > My CF application for Pocket PC uses HTTP with Basic authorization. User
> > > > input login and password. So after
> > > > 2nd intput with wrong credential all my request on uri throws timed-out
> > > > exception (Time out is 10 sec.). 3rd input can
> > > > be rights but application can get access to any cgi on this server. Count of
> > > > wrong inputs no clear after right one
> > > > (e.g. wrong(401) -> right(OK) -> wrong(401) ->
> > > > right(timed-out)->wrong(timed-out)-.....XXX(timed-out)!). Program
> > > > restart resolve make accesseble web-server again. More over server resources
> > > > lock depenend on URI (e.g. www.server.com
> > > > has 192.168.1.100 if access has been locked on http://www.server.com program
> > > > still has access to http://192.168.1.100
> > > > but and it will be successfully locked after 2 wrong authontications).
> > > > I know that after program restart this locking will be removed,
> > > > how i can resolve this trouble in runtime.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Authentication on wrong server =?Utf-8?B?am9uYXRoYW5m?= Microsoft Windows 2000 Networking 0 6th Dec 2004 04:59 PM
Authentication to wrong AD Domain server Ed Kaye Microsoft Windows 2000 Active Directory 1 18th May 2004 09:42 PM
Authentication to wrong AD Domain server Ed Kaye Microsoft Windows 2000 Networking 1 18th May 2004 09:42 PM
connect to SQL server: windows authentication / SQL Server authentication Lloyd Dupont Microsoft Dot NET Framework 2 7th May 2004 03:29 AM
Locking down VPN client access to LAN resources Mike Barry Windows XP Work Remotely 1 7th Dec 2003 11:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:17 PM.