Click here to Skip to main content
15,887,746 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Hide or Show Div Pin
raushan_98-Apr-08 22:00
raushan_98-Apr-08 22:00 
GeneralRe: Hide or Show Div Pin
led mike9-Apr-08 5:56
led mike9-Apr-08 5:56 
GeneralRe: Hide or Show Div Pin
Sandilian8-Apr-08 21:12
Sandilian8-Apr-08 21:12 
GeneralRe: Hide or Show Div Pin
raushan_98-Apr-08 22:02
raushan_98-Apr-08 22:02 
GeneralRe: Hide or Show Div [modified] Pin
Sandilian9-Apr-08 0:02
Sandilian9-Apr-08 0:02 
GeneralExecuting .exe file on remote server from asp.net web app Pin
labordayfun8-Apr-08 2:39
labordayfun8-Apr-08 2:39 
GeneralRe: Executing .exe file on remote server from asp.net web app Pin
N a v a n e e t h8-Apr-08 3:52
N a v a n e e t h8-Apr-08 3:52 
AnswerRe: Executing .exe file on remote server from asp.net web app Pin
Jesse Squire8-Apr-08 5:33
Jesse Squire8-Apr-08 5:33 
In order for this to be possible, the executable would have to be in an area of server B that was exposed to server A, and the user of the web application would need to have execute rights on the executable itself. The simplest way to accomplish this is by sharing the directory and granting rights to "everyone". This, of course, is poor security practice and I'd recommend considering some alternate approaches.

To allow this in a more secure way, you could consider having code in the web application impersonate a trusted user on server B, and invoke the executable in that context. This would still require that the executable be exposed to the impersonated user with execute rights granted. If you choose to explore this route, keep in mind that impersonation does have some security liability itself, if not done properly. I'd recommend doing taking a peak at this article[^] by Microsoft's Shawn Farkas and at the Microsoft guidelines[^] for impersonation.

The approach that I'd recommend is enabling your EDI process as a proper service offering. To do so, you could consider hosting a service (such as a web service, or remoting endpoint) on server B which would run under the context of a local user with execute rights. The service would then hold responsibility for invoking the executable on demand. By doing providing the service interface, you can more finely control access by applying standard security techniques [for your implementation type] on the service interface itself.

Hope that helps to get you started. Smile | :)

  --Jesse
"... the internet's just a big porn library with some useful articles stuck in." - Rob Rodi

QuestionDatagrid inside dropdownlist control Pin
senthilsstil8-Apr-08 2:22
senthilsstil8-Apr-08 2:22 
GeneralRe: Datagrid inside dropdownlist control Pin
eyeseetee8-Apr-08 2:40
eyeseetee8-Apr-08 2:40 
GeneralRe: Datagrid inside dropdownlist control Pin
N a v a n e e t h8-Apr-08 3:49
N a v a n e e t h8-Apr-08 3:49 
GeneralRe: Datagrid inside dropdownlist control Pin
Sandilian8-Apr-08 19:55
Sandilian8-Apr-08 19:55 
Generalproblem with foreach loop Pin
eyeseetee8-Apr-08 2:20
eyeseetee8-Apr-08 2:20 
GeneralRe: problem with foreach loop Pin
senthilsstil8-Apr-08 2:53
senthilsstil8-Apr-08 2:53 
GeneralRe: problem with foreach loop Pin
eyeseetee8-Apr-08 3:05
eyeseetee8-Apr-08 3:05 
GeneralRe: problem with foreach loop Pin
N a v a n e e t h8-Apr-08 3:38
N a v a n e e t h8-Apr-08 3:38 
GeneralRe: problem with foreach loop Pin
eyeseetee8-Apr-08 3:57
eyeseetee8-Apr-08 3:57 
GeneralRe: problem with foreach loop Pin
eyeseetee8-Apr-08 4:13
eyeseetee8-Apr-08 4:13 
GeneralRe: problem with foreach loop Pin
N a v a n e e t h8-Apr-08 15:49
N a v a n e e t h8-Apr-08 15:49 
GeneralTo get Databind value assign to check box Pin
sjs4u8-Apr-08 2:08
sjs4u8-Apr-08 2:08 
GeneralRe: To get Databind value assign to check box Pin
Christian Graus8-Apr-08 2:20
protectorChristian Graus8-Apr-08 2:20 
GeneralAlignment in Grid View Pin
kimo code8-Apr-08 1:51
kimo code8-Apr-08 1:51 
GeneralRe: Alignment in Grid View Pin
Christian Graus8-Apr-08 2:06
protectorChristian Graus8-Apr-08 2:06 
GeneralRe: Alignment in Grid View Pin
kimo code8-Apr-08 2:32
kimo code8-Apr-08 2:32 
GeneralRe: Alignment in Grid View Pin
eyeseetee8-Apr-08 2:52
eyeseetee8-Apr-08 2:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.