Got this problem - not sure if it is possible.
User is logged into the sharepoint portal server.
- The user opens a page (webpart) in SPS - an ActiveX is started
- The ActiveX receives data from a docked barcode scanner.
- The ActiveX creates a WebClient
- The ActiveX set the credentials on the WebClient as used in point 1.)
- The ActiveX uses WebClient.UploadFile(..)
- In SPS an aspx/ascx page recieve the data (as the same user/session in point 1.)
- Everybody is happy (its friday) - and goes for beer :)
it is the point 4. that is the problem.