Link to home
Start Free TrialLog in
Avatar of xPert_Umer
xPert_Umer

asked on

access Serial port in asp.net at server side?

WEll.. I have a web site.. and I want to know two things
how to make system as web server ( where i would deploy my web site)
2nd IMPORTAnt:

how can i access SERial port at server side.. like we can access on windows application. what kind of sercurity setting i need to setup. please can any one guide . vs 2005 / 2.0
Avatar of Ted Bouskill
Ted Bouskill
Flag of Canada image

For one if you want to run IIS successfully your host computer needs to run a server version of Windows.  Either the 'Web Edition' or Windows Server 2003

In order to protect your server from hackers IIS runs in sandbox mode.  Basically all functionality on the website cannot access the server itself.

So in order to do this you will be exposing your computer to potential harm on the internet.  The harder you try to protect your server the more difficult this will be.

When IIS is installed on the server it runs under a special account that has guest priviledges.  The trick will be finding out how to give the guest account permissions to access the serial port.

The following link discusses the IIS accounts: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/3648346f-e4f5-474b-86c7-5a86e85fa1ff.mspx?mfr=true

This URL has a product that can likely do what you need written for ASP: http://www.activexperts.com/activcomport/howto/asp/
Avatar of xPert_Umer
xPert_Umer

ASKER

thanks for the post.. but can you plz give me piece of code which shows how to setup us user account , i mean what sort of changes i need to make in web.config ?
ASKER CERTIFIED SOLUTION
Avatar of Ted Bouskill
Ted Bouskill
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial