Authentication code
-
Hi, In my client application,it requires to access a file in the remote server station,which requires authentication(User name and password)in VB. Provide me any sample code that has code to authenticate remote PC file access.
-
Hi, In my client application,it requires to access a file in the remote server station,which requires authentication(User name and password)in VB. Provide me any sample code that has code to authenticate remote PC file access.
VB Forms or ASP(1/2)? in ASP you set Impersonation to a specific user account in the web.config. Google it and you'll find many walkthroughs. you can also have your app run in IIS as another user (by defualt your user is annomoyus) in the inetmngr This is security sensitive stuff so I'd work with a server admin (who knows IIS) when your reviewing possibilities on this one, if it's a work project. In windows forms an app runs under the context of the user session the app is spwaned from, unless its a service, in which case the user account is set in the installer or the services.msc. Just give the desktop users permissions to the directory, or add them to a group and provide it the needed permissions. Hope that helps, Frank hey...slang is the vernacular for the vernacular...wow